{"action":"created","comment":{"url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/comments/79068119","id":79068119,"diff_hunk":"@@ -0,0 +1,548 @@\n+--LaserPointer.lua\n+--Implements the visual part of the VR laser pointer and implements\n+--VR teleporting and movement mechanics\n+--Written by Kyle, September 2016\n+local CoreGui = game.CoreGui\n+local RobloxGui = CoreGui:WaitForChild(\"RobloxGui\")\n+local ContextActionService = game:GetService(\"ContextActionService\")\n+local Players = game:GetService(\"Players\")\n+local SoundService = game:GetService(\"SoundService\")\n+local PathfindingService = game:GetService(\"PathfindingService\")\n+local Utility = require(RobloxGui.Modules.Settings.Utility) --todo: use common utility module when it's done\n+\n+local LocalPlayer = Players.LocalPlayer\n+\n+--Pathfinding sort of works, but it's very slow and does not handle slopes very well.\n+--Use at your own risk.\n+local usePathfinding = false\n+\n+local gamma, invGamma = 2.2, 1/2.2\n+local function fromLinearRGB(color)\n+\treturn Color3.new(color.r ^ gamma, color.g ^ gamma, color.b ^ gamma)\n+end\n+local function toLinearRGB(color)\n+\treturn Color3.new(color.r ^ invGamma, color.g ^ invGamma, color.b ^ invGamma)\n+end\n+\n+local CONTAINER_FOLDER_NAME = \"VRCorePanelParts\"\n+local function setPartInGame(part, inGame)\n+\tif not part then\n+\t\treturn\n+\tend\n+\tif inGame and not part:IsDescendantOf(game) then\n+\t\tlocal container = workspace.CurrentCamera:FindFirstChild(CONTAINER_FOLDER_NAME)\n+\t\tif not container then\n+\t\t\tcoroutine.wrap(function()\n+\t\t\t\tpart.Parent = workspace.CurrentCamera:WaitForChild(CONTAINER_FOLDER_NAME)\n+\t\t\tend)()\n+\t\telse\n+\t\t\tpart.Parent = container\n+\t\tend\n+\telse\n+\t\tpart.Parent = nil\n+\tend\n+end\n+\n+--Teleport visual configuration\n+local TELEPORT = {\n+\tARC_COLOR_GOOD = fromLinearRGB(Color3.fromRGB(0, 162, 255)),\n+\tARC_COLOR_BAD = fromLinearRGB(Color3.fromRGB(253, 68, 72)),\n+\tARC_THICKNESS = 0.05,\n+\n+\tPLOP_GOOD = \"rbxasset://textures/ui/VR/VR Pointer Disc Blue.png\",\n+\tPLOP_BAD = \"rbxasset://textures/ui/VR/VR Pointer Disc Red.png\",\n+\tPLOP_BALL_COLOR_GOOD = BrickColor.new(\"Bright green\"),\n+\tPLOP_BALL_COLOR_BAD = BrickColor.new(\"Bright red\"),\n+\tPLOP_BALL_SIZE = 0.5,\n+\tPLOP_SIZE = 2,\n+\tPLOP_PULSE_MIN_SIZE = 0,\n+\tPLOP_PULSE_MAX_SIZE = 2,\n+\n+\tMAX_VALID_DISTANCE = 32,\n+\n+\tBUTTON_DOWN_THRESHOLD = 0.95,\n+\tBUTTON_UP_THRESHOLD = 0.5,\n+\n+\tMIN_VELOCITY = 10,\n+\tRANGE_T_EXP = 2,\n+\tG = 50,\n+\n+\tPULSE_DURATION = 0.8,\n+\tPULSE_PERIOD = 1,\n+\tPULSE_EXP = 2,\n+\tPULSE_SIZE_0 = 0.25,\n+\tPULSE_SIZE_1 = 2,\n+\n+\tBALL_WAVE_PERIOD = 2,\n+\tBALL_WAVE_AMPLITUDE = 0.5,\n+\tBALL_WAVE_START = 0.25,\n+\tBALL_WAVE_EXP = 0.8,\n+\n+\tFLOOR_OFFSET = 4.5,\n+\n+\tFADE_OUT_DURATION = 0.125,\n+\tFADE_IN_DURATION = 0.125,\n+\n+\tCLEAR_AABB_SIZE = Vector3.new(2.5, 4, 2.5),\n+\n+\tSUCCESS_SOUND = \"rbxassetid://147722227\",\n+\tFAIL_SOUND = \"rbxassetid://138087015\",\n+\n+\tPATH_RECOMPUTE_DIST_THRESHOLD = 4\n+}\n+\n+local LASER = {\n+\tARC_COLOR_GOOD = TELEPORT.ARC_COLOR_GOOD,\n+\tARC_COLOR_BAD = TELEPORT.ARC_COLOR_BAD,\n+\tARC_THICKNESS = 0.025,\n+\n+\tMAX_DISTANCE = 100\n+}\n+\n+local zeroVector2, identityVector2 = Vector2.new(0, 0), Vector2.new(1, 1)\n+local zeroVector3, identityVector3 = Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)\n+local flattenMask = Vector3.new(1, 0, 1) --flattens a direction vector when multiplied by removing the vertical component\n+local minimumPartSize = Vector3.new(0.2, 0.2, 0.2)\n+local identity = CFrame.new()\n+\n+local function applyExpCurve(x, exp)\n+\tlocal y = x ^ exp\n+\tif y ~= y then\n+\t\ty = math.abs(x) ^ exp\n+\tend\n+\treturn y\n+end\n+\n+local LaserPointer = {}\n+LaserPointer.__index = LaserPointer\n+\n+function LaserPointer.new()\n+\tlocal self = setmetatable({}, LaserPointer)\n+\n+\tself.enabled = false\n+\n+\tself.teleportMode = true\n+\tself.teleportMaxRangePerSecond = 16\n+\tself.teleportRangeT = 0\n+\tself.teleportPoint = zeroVector3\n+\tself.teleportNormal = Vector3.new(0, 1, 0)\n+\tself.teleportPart = nil\n+\tself.teleportValid = false\n+\tself.teleportButtonDown = false\n+\tself.teleporting = false\n+\tself.teleportBounceStart = tick()\n+\n+\tself.pathValid = false\n+\tself.computingPath = false\n+\tself.pathStart = zeroVector3\n+\tself.pathEnd = zeroVector3\n+\n+\tdo --Create the instances that make up the Laser Pointer\n+\t\t--Create the ParabolaAdornment first; if the class doesn't exist, we'll exit early.\n+\t\tif not pcall(function()\n+\t\t\tself.parabola = Utility:Create(\"ParabolaAdornment\") {\n+\t\t\t\tName = \"LaserPointerParabola\",\n+\t\t\t\tParent = CoreGui,\n+\t\t\t\tA = -1,\n+\t\t\t\tB = 2,\n+\t\t\t\tC = 0,\n+\t\t\t\tColor3 = TELEPORT.COLOR_GOOD,\n+\t\t\t\tThickness = TELEPORT.ARC_THICKNESS\n+\t\t\t}\n+\t\t\tend) then\n+\t\t\treturn nil\n+\t\tend\n+\n+\t\tself.originPart = Utility:Create(\"Part\") {\n+\t\t\tName = \"LaserPointerOrigin\",\n+\t\t\tAnchored = true,\n+\t\t\tCanCollide = false,\n+\t\t\tTopSurface = Enum.SurfaceType.SmoothNoOutlines,\n+\t\t\tBottomSurface = Enum.SurfaceType.SmoothNoOutlines,\n+\t\t\tMaterial = Enum.Material.SmoothPlastic,\n+\t\t\tSize = minimumPartSize,\n+\t\t\tTransparency = 1 --smallest size possible\n+\t\t}\n+\t\tself.parabola.Adornee = self.originPart\n+\t\t\n+\n+\t\tself.plopPart = Utility:Create(\"Part\") {\n+\t\t\tName = \"LaserPointerTeleportPlop\",\n+\t\t\tAnchored = true,\n+\t\t\tCanCollide = false,\n+\t\t\tSize = minimumPartSize,\n+\t\t\tTransparency = 1\n+\t\t}\n+\t\tself.plopBall = Utility:Create(\"Part\") {\n+\t\t\tName = \"LaserPointerTeleportPlopBall\",\n+\t\t\tAnchored = true,\n+\t\t\tCanCollide = false,\n+\t\t\tTopSurface = Enum.SurfaceType.SmoothNoOutlines,\n+\t\t\tBottomSurface = Enum.SurfaceType.SmoothNoOutlines,\n+\t\t\tMaterial = Enum.Material.Neon,\n+\t\t\tBrickColor = TELEPORT.PLOP_BALL_COLOR_GOOD,\n+\t\t\tShape = Enum.PartType.Ball,\n+\t\t\tSize = identityVector3 * TELEPORT.PLOP_BALL_SIZE\n+\t\t}\n+\t\tself.plopAdorn = Utility:Create(\"ImageHandleAdornment\") { --this feels hacky, but no good alternatives for unlit image in 3D that aren't SurfaceGuis w/ ImageLabels\n+\t\t\tName = \"LaserPointerTeleportPlopAdorn\",\n+\t\t\tParent = self.plopPart,\n+\t\t\tAdornee = self.plopPart,\n+\t\t\tSize = identityVector2 * TELEPORT.PLOP_SIZE,\n+\t\t\tImage = TELEPORT.PLOP_GOOD\n+\t\t}\n+\t\tself.plopAdornPulse = Utility:Create(\"ImageHandleAdornment\") {\n+\t\t\tName = \"LaserPointerTeleportPlopAdornPulse\",\n+\t\t\tParent = self.plopPart,\n+\t\t\tAdornee = self.plopPart,\n+\t\t\tSize = zeroVector2,\n+\t\t\tImage = TELEPORT.PLOP_GOOD,\n+\t\t\tTransparency = 0.5\n+\t\t}\n+\n+\t\t--I want to nuke this part, but for now it's a necessary evil or very bad things happen when you try to teleport\n+\t\t--where you don't fit...\n+\t\tself.collisionTestPart = Utility:Create(\"Part\") {\n+\t\t\tName = \"LaserPointerTeleportCollisionTester\",\n+\t\t\tSize = TELEPORT.CLEAR_AABB_SIZE,\n+\t\t\tTransparency = 0.5,\n+\t\t\tAnchored = true,\n+\t\t\tCanCollide = true,\n+\t\t\tParent = workspace.CurrentCamera\n+\t\t}\n+\n+\t\tself.teleportSuccessSound = Utility:Create(\"Sound\") {\n+\t\t\tName = \"TeleportSuccessSound\",\n+\t\t\tSoundId = TELEPORT.SUCCESS_SOUND,\n+\t\t\tParent = self.originPart\n+\t\t}\n+\t\tself.teleportFailSound = Utility:Create(\"Sound\") {\n+\t\t\tName = \"TeleportFailSound\",\n+\t\t\tSoundId = TELEPORT.FAIL_SOUND,\n+\t\t\tParent = self.originPart\n+\t\t}\n+\tend\n+\n+\tself:setTeleportMode(true)\n+\n+\treturn self\n+end\n+\n+function LaserPointer:setArcLaunchParams(launchAngle, launchVelocity, gravity)\n+\tlocal velocityX = math.cos(launchAngle) * launchVelocity\n+\tlocal velocityY = math.sin(launchAngle) * launchVelocity\n+\n+\t--don't let velocityX = 0 or we get a divide-by-zero and bad things happen\n+\tif velocityX == 0 then\n+\t\tvelocityX = 1e-6\n+\tend\n+\n+\tself.parabola.A = (-0.5 * gravity) / (velocityX ^ 2)\n+\tself.parabola.B = velocityY / velocityX\n+\tself.parabola.C = 0\n+\tself.parabola.Range = velocityX\n+end\n+\n+function LaserPointer:getArcHit(pos, look, ignore)\n+\tlocal lookFlat = look * flattenMask\n+\tself.originPart.CFrame = CFrame.new(pos, pos + lookFlat) * CFrame.Angles(0, math.pi / 2, 0)\n+\n+\tlocal parabHitPart, parabHitPoint, parabHitNormal, parabHitMaterial, t = self.parabola:FindPartOnParabola(ignore)\n+\treturn parabHitPart, parabHitPoint, parabHitNormal, t\n+end\n+\n+function LaserPointer:getLaserHit(pos, look, ignore)\n+\tlocal ray = Ray.new(pos, look * LASER.MAX_DISTANCE)\n+\tlocal laserHitPart, laserHitPoint, laserHitNormal, laserHitMaterial = workspace:FindPartOnRayWithIgnoreList(ray, ignore)\n+\tlocal t = (laserHitPoint - pos) / LASER.MAX_DISTANCE\n+\treturn laserHitPart, laserHitPoint, laserHitNormal, t\n+end\n+\n+function LaserPointer:setTeleportMaxRangePerSecond(maxRange)\n+\tself.teleportMaxRangePerSecond = maxRange\n+end\n+\n+function LaserPointer:calculateLaunchVelocity(gravity, launchAngle)\n+\tlocal maxVelocity = TELEPORT.MAX_VALID_DISTANCE\n+\tlocal minVelocity = TELEPORT.MIN_VELOCITY\n+\tlocal velocityRange = math.max(0, maxVelocity - minVelocity)\n+\treturn ((self.teleportRangeT ^ TELEPORT.RANGE_T_EXP) * velocityRange) + minVelocity\n+end\n+\n+function LaserPointer:recomputePath(startPos, endPos)\n+\tself.computingPath = true\n+\n+\tself.pathStart = startPos\n+\tself.pathEnd = endPos\n+\tcoroutine.wrap(function()\n+\t\tself.lastPath = PathfindingService:ComputeRawPathAsync(startPos, endPos, TELEPORT.MAX_VALID_DISTANCE)\n+\t\tself.computingPath = false\n+\tend)()\n+end\n+\n+function LaserPointer:checkLastPath()\n+\tif not self.lastPath then\n+\t\tself.pathValid = true\n+\t\treturn\n+\tend\n+\tif self.lastPath.Status ~= Enum.PathStatus.Success then\n+\t\tself.pathValid = false\n+\t\treturn\n+\tend\n+\tlocal occludedPoint = self.lastPath:CheckOcclusionAsync(0)\n+\tif occludedPoint < 0 then\n+\t\tself.pathValid = true\n+\tend\n+end\n+\n+function LaserPointer:canTeleportTo(cameraPos, part, point, normal)\n+\tlocal character = LocalPlayer.Character\n+\tif not character then\n+\t\treturn false\n+\tend\n+\tlocal humanoidRootPart = character:FindFirstChild(\"HumanoidRootPart\")\n+\tif not humanoidRootPart then\n+\t\treturn false\n+\tend\n+\n+\tif not part then\n+\t\treturn false\n+\tend\n+\tif normal.Y < 0 then\n+\t\treturn false\n+\tend\n+\n+\tlocal dist = (point - cameraPos).magnitude\n+\tif dist > TELEPORT.MAX_VALID_DISTANCE then\n+\t\treturn false\n+\tend\n+\n+\tlocal bbPos = point\n+\tlocal halfBbSize = TELEPORT.CLEAR_AABB_SIZE * 0.5\n+\tlocal minBound = Vector3.new(bbPos.X - halfBbSize.X, bbPos.Y, bbPos.Z - halfBbSize.Z)\n+\tlocal maxBound = minBound + TELEPORT.CLEAR_AABB_SIZE\n+\n+\tlocal theta = math.rad(90) - math.asin(normal.Y)\n+\tlocal slopeOffset = math.sin(theta) * math.sqrt(halfBbSize.X^2 + halfBbSize.Z^2)\n+\tself.collisionTestPart.CFrame = CFrame.new(point + Vector3.new(0, (TELEPORT.CLEAR_AABB_SIZE.Y / 2) + slopeOffset + 0.1, 0))\n+\t\n+\t--Not only does workspace:FindPartsInRegion3 only do AABBs, it also doesn't seem to like slopes.\n+\t--Using an arbitary part here sounds nasty as an implementation detail, but the concept seems sound.\n+\t--Getting the part out of the workspace entirely would be a good long-term solution.\n+\tlocal foundParts = self.collisionTestPart:GetTouchingParts()","path":"CoreScriptsRoot/Modules/VR/LaserPointer.lua","position":332,"original_position":332,"commit_id":"2314bba713da28dc99a4dd7153b7e08789ce312c","original_commit_id":"2314bba713da28dc99a4dd7153b7e08789ce312c","user":{"login":"SolarCrane","id":6992752,"avatar_url":"https://avatars.githubusercontent.com/u/6992752?v=3","gravatar_id":"","url":"https://api.github.com/users/SolarCrane","html_url":"https://github.com/SolarCrane","followers_url":"https://api.github.com/users/SolarCrane/followers","following_url":"https://api.github.com/users/SolarCrane/following{/other_user}","gists_url":"https://api.github.com/users/SolarCrane/gists{/gist_id}","starred_url":"https://api.github.com/users/SolarCrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SolarCrane/subscriptions","organizations_url":"https://api.github.com/users/SolarCrane/orgs","repos_url":"https://api.github.com/users/SolarCrane/repos","events_url":"https://api.github.com/users/SolarCrane/events{/privacy}","received_events_url":"https://api.github.com/users/SolarCrane/received_events","type":"User","site_admin":false},"body":"Do you think we can upgrade FindPartsInRegion3 to accept a rotation cframe as well? It seems better than inserting collision objects into the world","created_at":"2016-09-15T21:40:19Z","updated_at":"2016-09-15T21:52:35Z","html_url":"https://github.com/ROBLOX/Core-Scripts/pull/541#discussion_r79068119","pull_request_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/541","_links":{"self":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/comments/79068119"},"html":{"href":"https://github.com/ROBLOX/Core-Scripts/pull/541#discussion_r79068119"},"pull_request":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/541"}}},"pull_request":{"url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/541","id":85312889,"html_url":"https://github.com/ROBLOX/Core-Scripts/pull/541","diff_url":"https://github.com/ROBLOX/Core-Scripts/pull/541.diff","patch_url":"https://github.com/ROBLOX/Core-Scripts/pull/541.patch","issue_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues/541","number":541,"state":"open","locked":false,"title":"VR-242: VR Teleport","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":"It should be noted that ParabolaAdornment hasn't shipped yet. The second commit in this PR handles that gracefully.","created_at":"2016-09-14T21:57:43Z","updated_at":"2016-09-15T21:52:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b1bf7e6872dc468e4520944535693a13f197a27","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/541/commits","review_comments_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/541/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/541/comments","statuses_url":"https://api.github.com/repos/ROBLOX/Core-Scripts/statuses/2314bba713da28dc99a4dd7153b7e08789ce312c","head":{"label":"kyle-emmerich:laser","ref":"laser","sha":"2314bba713da28dc99a4dd7153b7e08789ce312c","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-08-17T04:13:56Z","pushed_at":"2016-09-15T00:31:56Z","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":3418,"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":"f9054b1187233bda4e962d1fa8ac09f4ed55439a","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-08-23T08:21:15Z","pushed_at":"2016-09-15T21:03:51Z","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":4408,"stargazers_count":57,"watchers_count":57,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":95,"mirror_url":null,"open_issues_count":30,"forks":95,"open_issues":30,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/541"},"html":{"href":"https://github.com/ROBLOX/Core-Scripts/pull/541"},"issue":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues/541"},"comments":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/issues/541/comments"},"review_comments":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/pulls/541/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/541/commits"},"statuses":{"href":"https://api.github.com/repos/ROBLOX/Core-Scripts/statuses/2314bba713da28dc99a4dd7153b7e08789ce312c"}}}}
{"actor":{"display_login":"SolarCrane"}}