{"action":"created","comment":{"url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/comments/57814002","id":57814002,"diff_hunk":"@@ -104,10 +148,25 @@ local function AddTool(tool)\n \tUpdateLayout()\n end\n \n+local humanoidChangedEvent = nil\n+local function RegisterHumanoid(humanoid)\n+\tif humanoidChangedEvent then\n+\t\thumanoidChangedEvent:disconnect()\n+\t\thumanoidChangedEvent = nil\n+\tend\n+\tif humanoid then\n+\t\thumanoidChangedEvent = humanoid.Changed:connect(function() UpdateHealth(humanoid) end)","path":"CoreScriptsRoot/Modules/BackpackScript3D.lua","position":114,"original_position":114,"commit_id":"2da89ac7c303f532e2caeb4404db7f6e1b72e6e3","original_commit_id":"2da89ac7c303f532e2caeb4404db7f6e1b72e6e3","user":{"login":"kyle-emmerich","id":1709380,"avatar_url":"https://avatars.githubusercontent.com/u/1709380?v=3","gravatar_id":"","url":"https://api.github.com/users/kyle-emmerich","html_url":"https://github.com/kyle-emmerich","followers_url":"https://api.github.com/users/kyle-emmerich/followers","following_url":"https://api.github.com/users/kyle-emmerich/following{/other_user}","gists_url":"https://api.github.com/users/kyle-emmerich/gists{/gist_id}","starred_url":"https://api.github.com/users/kyle-emmerich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyle-emmerich/subscriptions","organizations_url":"https://api.github.com/users/kyle-emmerich/orgs","repos_url":"https://api.github.com/users/kyle-emmerich/repos","events_url":"https://api.github.com/users/kyle-emmerich/events{/privacy}","received_events_url":"https://api.github.com/users/kyle-emmerich/received_events","type":"User","site_admin":false},"body":"I could watch for Parent changing.\r\n\r\nWhat happens to the healthbar if you remove the humanoid though? The way it currently functions is that it will just switch to whatever new humanoid you add after. Should the healthbar just disappear if there's NO humanoid?","created_at":"2016-03-29T22:48:57Z","updated_at":"2016-03-29T22:48:57Z","html_url":"https://github.com/ROBLOX/Core-Scripts/pull/353#discussion_r57814002","pull_request_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/353","_links":{"self":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/comments/57814002"},"html":{"href":"https://github.com/ROBLOX/Core-Scripts/pull/353#discussion_r57814002"},"pull_request":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/353"}}},"pull_request":{"url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/353","id":64222106,"html_url":"https://github.com/ROBLOX/Core-Scripts/pull/353","diff_url":"https://github.com/ROBLOX/Core-Scripts/pull/353.diff","patch_url":"https://github.com/ROBLOX/Core-Scripts/pull/353.patch","issue_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues/353","number":353,"state":"open","locked":false,"title":"VR-69 Healthbar in VR","user":{"login":"kyle-emmerich","id":1709380,"avatar_url":"https://avatars.githubusercontent.com/u/1709380?v=3","gravatar_id":"","url":"https://api.github.com/users/kyle-emmerich","html_url":"https://github.com/kyle-emmerich","followers_url":"https://api.github.com/users/kyle-emmerich/followers","following_url":"https://api.github.com/users/kyle-emmerich/following{/other_user}","gists_url":"https://api.github.com/users/kyle-emmerich/gists{/gist_id}","starred_url":"https://api.github.com/users/kyle-emmerich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyle-emmerich/subscriptions","organizations_url":"https://api.github.com/users/kyle-emmerich/orgs","repos_url":"https://api.github.com/users/kyle-emmerich/repos","events_url":"https://api.github.com/users/kyle-emmerich/events{/privacy}","received_events_url":"https://api.github.com/users/kyle-emmerich/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-26T00:27:17Z","updated_at":"2016-03-29T22:48:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8634b20d89a2b88d286c0692ee62b0035babe1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/353/commits","review_comments_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/353/comments","review_comment_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues/353/comments","statuses_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/statuses/2da89ac7c303f532e2caeb4404db7f6e1b72e6e3","head":{"label":"kyle-emmerich:hopperbin","ref":"hopperbin","sha":"2da89ac7c303f532e2caeb4404db7f6e1b72e6e3","user":{"login":"kyle-emmerich","id":1709380,"avatar_url":"https://avatars.githubusercontent.com/u/1709380?v=3","gravatar_id":"","url":"https://api.github.com/users/kyle-emmerich","html_url":"https://github.com/kyle-emmerich","followers_url":"https://api.github.com/users/kyle-emmerich/followers","following_url":"https://api.github.com/users/kyle-emmerich/following{/other_user}","gists_url":"https://api.github.com/users/kyle-emmerich/gists{/gist_id}","starred_url":"https://api.github.com/users/kyle-emmerich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyle-emmerich/subscriptions","organizations_url":"https://api.github.com/users/kyle-emmerich/orgs","repos_url":"https://api.github.com/users/kyle-emmerich/repos","events_url":"https://api.github.com/users/kyle-emmerich/events{/privacy}","received_events_url":"https://api.github.com/users/kyle-emmerich/received_events","type":"User","site_admin":false},"repo":{"id":54408280,"name":"Core-Scripts","full_name":"kyle-emmerich/Core-Scripts","owner":{"login":"kyle-emmerich","id":1709380,"avatar_url":"https://avatars.githubusercontent.com/u/1709380?v=3","gravatar_id":"","url":"https://api.github.com/users/kyle-emmerich","html_url":"https://github.com/kyle-emmerich","followers_url":"https://api.github.com/users/kyle-emmerich/followers","following_url":"https://api.github.com/users/kyle-emmerich/following{/other_user}","gists_url":"https://api.github.com/users/kyle-emmerich/gists{/gist_id}","starred_url":"https://api.github.com/users/kyle-emmerich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyle-emmerich/subscriptions","organizations_url":"https://api.github.com/users/kyle-emmerich/orgs","repos_url":"https://api.github.com/users/kyle-emmerich/repos","events_url":"https://api.github.com/users/kyle-emmerich/events{/privacy}","received_events_url":"https://api.github.com/users/kyle-emmerich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kyle-emmerich/Core-Scripts","description":"All of ROBLOX's core client scripts.","fork":true,"url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts","forks_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/forks","keys_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/teams","hooks_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/hooks","issue_events_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/issues/events{/number}","events_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/events","assignees_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/assignees{/user}","branches_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/branches{/branch}","tags_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/tags","blobs_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/languages","stargazers_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/stargazers","contributors_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/contributors","subscribers_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/subscribers","subscription_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/subscription","commits_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/contents/{+path}","compare_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/merges","archive_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/downloads","issues_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/issues{/number}","pulls_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/labels{/name}","releases_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/releases{/id}","deployments_url":"https://api.github.com/repos/kyle-emmerich/Core-Scripts/deployments","created_at":"2016-03-21T17:18:43Z","updated_at":"2016-03-21T17:18:44Z","pushed_at":"2016-03-29T18:08:39Z","git_url":"git://github.com/kyle-emmerich/Core-Scripts.git","ssh_url":"git@github.com:kyle-emmerich/Core-Scripts.git","clone_url":"https://github.com/kyle-emmerich/Core-Scripts.git","svn_url":"https://github.com/kyle-emmerich/Core-Scripts","homepage":"","size":2495,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ROBLOX:master","ref":"master","sha":"17ecfe90a2459bac4d5725a3698e1d1baccc5e0f","user":{"login":"ROBLOX","id":4195619,"avatar_url":"https://avatars.githubusercontent.com/u/4195619?v=3","gravatar_id":"","url":"https://api.github.com/users/ROBLOX","html_url":"https://github.com/ROBLOX","followers_url":"https://api.github.com/users/ROBLOX/followers","following_url":"https://api.github.com/users/ROBLOX/following{/other_user}","gists_url":"https://api.github.com/users/ROBLOX/gists{/gist_id}","starred_url":"https://api.github.com/users/ROBLOX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ROBLOX/subscriptions","organizations_url":"https://api.github.com/users/ROBLOX/orgs","repos_url":"https://api.github.com/users/ROBLOX/repos","events_url":"https://api.github.com/users/ROBLOX/events{/privacy}","received_events_url":"https://api.github.com/users/ROBLOX/received_events","type":"Organization","site_admin":false},"repo":{"id":19040095,"name":"Core-Scripts","full_name":"ROBLOX/Core-Scripts","owner":{"login":"ROBLOX","id":4195619,"avatar_url":"https://avatars.githubusercontent.com/u/4195619?v=3","gravatar_id":"","url":"https://api.github.com/users/ROBLOX","html_url":"https://github.com/ROBLOX","followers_url":"https://api.github.com/users/ROBLOX/followers","following_url":"https://api.github.com/users/ROBLOX/following{/other_user}","gists_url":"https://api.github.com/users/ROBLOX/gists{/gist_id}","starred_url":"https://api.github.com/users/ROBLOX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ROBLOX/subscriptions","organizations_url":"https://api.github.com/users/ROBLOX/orgs","repos_url":"https://api.github.com/users/ROBLOX/repos","events_url":"https://api.github.com/users/ROBLOX/events{/privacy}","received_events_url":"https://api.github.com/users/ROBLOX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ROBLOX/Core-Scripts","description":"All of ROBLOX's core client scripts.","fork":false,"url":"https://api.github.com/repos/ROBLOX/Core-Scripts","forks_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/forks","keys_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/teams","hooks_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/hooks","issue_events_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues/events{/number}","events_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/events","assignees_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/assignees{/user}","branches_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/branches{/branch}","tags_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/tags","blobs_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/languages","stargazers_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/stargazers","contributors_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/contributors","subscribers_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/subscribers","subscription_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/subscription","commits_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/contents/{+path}","compare_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/merges","archive_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/downloads","issues_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues{/number}","pulls_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/labels{/name}","releases_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/releases{/id}","deployments_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/deployments","created_at":"2014-04-22T18:02:17Z","updated_at":"2016-03-05T16:30:37Z","pushed_at":"2016-03-29T21:46:32Z","git_url":"git://github.com/ROBLOX/Core-Scripts.git","ssh_url":"git@github.com:ROBLOX/Core-Scripts.git","clone_url":"https://github.com/ROBLOX/Core-Scripts.git","svn_url":"https://github.com/ROBLOX/Core-Scripts","homepage":"","size":2771,"stargazers_count":46,"watchers_count":46,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":30,"forks":75,"open_issues":30,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/353"},"html":{"href":"https://github.com/ROBLOX/Core-Scripts/pull/353"},"issue":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues/353"},"comments":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues/353/comments"},"review_comments":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/353/comments"},"review_comment":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/353/commits"},"statuses":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/statuses/2da89ac7c303f532e2caeb4404db7f6e1b72e6e3"}}}}