Advertisement
9_cVv

risky-rollers

Dec 16th, 2020 (edited)
1,407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.15 KB | None | 0 0
  1. local riskyrollers = Instance.new("ScreenGui")
  2. local loadFrame = Instance.new("ImageLabel")
  3. local openButton = Instance.new("TextButton")
  4. local roundify = Instance.new("ImageLabel")
  5. local openLabel = Instance.new("TextLabel")
  6. local creds = Instance.new("TextLabel")
  7. local main = Instance.new("ImageLabel")
  8. local creds_2 = Instance.new("TextLabel")
  9. local container = Instance.new("Frame")
  10. local killbricks = Instance.new("TextLabel")
  11. local toggle = Instance.new("TextButton")
  12. local UIListLayout = Instance.new("UIListLayout")
  13. local checkpoints = Instance.new("TextButton")
  14. local roundify_2 = Instance.new("ImageLabel")
  15. local openLabel_2 = Instance.new("TextLabel")
  16.  
  17. riskyrollers.Name = "risky-rollers"
  18. riskyrollers.Parent = game:GetService("CoreGui")
  19.  
  20. loadFrame.Name = "loadFrame"
  21. loadFrame.Parent = riskyrollers
  22. loadFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  23. loadFrame.BackgroundTransparency = 1.000
  24. loadFrame.Position = UDim2.new(0.338912129, 0, 0.364520073, 0)
  25. loadFrame.Size = UDim2.new(0, 216, 0, 99)
  26. loadFrame.Image = "rbxassetid://3570695787"
  27. loadFrame.ImageColor3 = Color3.fromRGB(90, 90, 90)
  28. loadFrame.ScaleType = Enum.ScaleType.Slice
  29. loadFrame.SliceCenter = Rect.new(100, 100, 100, 100)
  30. loadFrame.SliceScale = 0.120
  31.  
  32. openButton.Name = "openButton"
  33. openButton.Parent = loadFrame
  34. openButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  35. openButton.BackgroundTransparency = 1.000
  36. openButton.BorderSizePixel = 0
  37. openButton.Position = UDim2.new(0.135209545, 0, 0, 50)
  38. openButton.Size = UDim2.new(0, 156, 0, 31)
  39. openButton.Font = Enum.Font.GothamBlack
  40. openButton.Text = "Open"
  41. openButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  42. openButton.TextSize = 20.000
  43.  
  44. roundify.Name = "roundify"
  45. roundify.Parent = openButton
  46. roundify.Active = true
  47. roundify.AnchorPoint = Vector2.new(0.5, 0.5)
  48. roundify.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  49. roundify.BackgroundTransparency = 1.000
  50. roundify.Position = UDim2.new(0.5, 0, 0.5, 0)
  51. roundify.Selectable = true
  52. roundify.Size = UDim2.new(1, 0, 1, 0)
  53. roundify.Image = "rbxassetid://3570695787"
  54. roundify.ImageColor3 = Color3.fromRGB(100, 100, 100)
  55. roundify.ScaleType = Enum.ScaleType.Slice
  56. roundify.SliceCenter = Rect.new(100, 100, 100, 100)
  57. roundify.SliceScale = 0.120
  58.  
  59. openLabel.Name = "openLabel"
  60. openLabel.Parent = openButton
  61. openLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  62. openLabel.BackgroundTransparency = 1.000
  63. openLabel.BorderSizePixel = 0
  64. openLabel.Size = UDim2.new(0, 156, 0, 31)
  65. openLabel.Font = Enum.Font.GothamBlack
  66. openLabel.Text = "Open"
  67. openLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  68. openLabel.TextSize = 20.000
  69. openLabel.TextWrapped = true
  70.  
  71. creds.Name = "creds"
  72. creds.Parent = loadFrame
  73. creds.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  74. creds.BackgroundTransparency = 1.000
  75. creds.BorderSizePixel = 0
  76. creds.Size = UDim2.new(0, 216, 0, 27)
  77. creds.Font = Enum.Font.GothamBlack
  78. creds.Text = "Made by TechHog#8983"
  79. creds.TextColor3 = Color3.fromRGB(255, 255, 255)
  80. creds.TextScaled = true
  81. creds.TextSize = 20.000
  82. creds.TextWrapped = true
  83.  
  84. main.Name = "main"
  85. main.Parent = riskyrollers
  86. main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  87. main.BackgroundTransparency = 1.000
  88. main.Position = UDim2.new(0.317663819, 0, 0.363305032, 0)
  89. main.Size = UDim2.new(0, 270, 0, 167)
  90. main.Image = "rbxassetid://3570695787"
  91. main.ImageColor3 = Color3.fromRGB(90, 90, 90)
  92. main.ScaleType = Enum.ScaleType.Slice
  93. main.SliceCenter = Rect.new(100, 100, 100, 100)
  94. main.SliceScale = 0.120
  95. main.Visible = false
  96.  
  97. creds_2.Name = "creds"
  98. creds_2.Parent = main
  99. creds_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  100. creds_2.BackgroundTransparency = 1.000
  101. creds_2.BorderSizePixel = 0
  102. creds_2.Position = UDim2.new(0.000298620143, 0, 0, 0)
  103. creds_2.Size = UDim2.new(0, 269, 0, 27)
  104. creds_2.Font = Enum.Font.GothamBlack
  105. creds_2.Text = "Made by TechHog#8984"
  106. creds_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  107. creds_2.TextScaled = true
  108. creds_2.TextSize = 20.000
  109. creds_2.TextWrapped = true
  110.  
  111. container.Name = "container"
  112. container.Parent = main
  113. container.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  114. container.BackgroundTransparency = 1.000
  115. container.BorderColor3 = Color3.fromRGB(27, 42, 53)
  116. container.BorderSizePixel = 0
  117. container.Position = UDim2.new(0, 0, 0.161676645, 0)
  118. container.Size = UDim2.new(0, 106, 0, 140)
  119.  
  120. killbricks.Name = "killbricks"
  121. killbricks.Parent = container
  122. killbricks.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  123. killbricks.BackgroundTransparency = 1.000
  124. killbricks.BorderSizePixel = 0
  125. killbricks.Size = UDim2.new(0, 106, 0, 31)
  126. killbricks.Font = Enum.Font.Gotham
  127. killbricks.Text = "Kill Bricks"
  128. killbricks.TextColor3 = Color3.fromRGB(255, 255, 255)
  129. killbricks.TextSize = 16.000
  130. killbricks.TextWrapped = true
  131. killbricks.TextXAlignment = Enum.TextXAlignment.Left
  132.  
  133. toggle.Name = "toggle"
  134. toggle.Parent = killbricks
  135. toggle.BackgroundColor3 = Color3.fromRGB(102, 102, 102)
  136. toggle.BackgroundTransparency = 0.350
  137. toggle.BorderSizePixel = 0
  138. toggle.Position = UDim2.new(0.772117376, 0, 0.161290318, 0)
  139. toggle.Size = UDim2.new(0, 20, 0, 20)
  140. toggle.Font = Enum.Font.SourceSans
  141. toggle.Text = ""
  142. toggle.TextColor3 = Color3.fromRGB(0, 0, 0)
  143. toggle.TextSize = 14.000
  144.  
  145. UIListLayout.Parent = container
  146. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  147.  
  148. checkpoints.Name = "checkpoints"
  149. checkpoints.Parent = main
  150. checkpoints.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  151. checkpoints.BackgroundTransparency = 1.000
  152. checkpoints.BorderSizePixel = 0
  153. checkpoints.Position = UDim2.new(0.161135465, 0, 0.275449097, 50)
  154. checkpoints.Size = UDim2.new(0, 156, 0, 31)
  155. checkpoints.Font = Enum.Font.GothamBlack
  156. checkpoints.Text = "Open"
  157. checkpoints.TextColor3 = Color3.fromRGB(255, 255, 255)
  158. checkpoints.TextScaled = true
  159. checkpoints.TextSize = 16.000
  160. checkpoints.TextWrapped = true
  161.  
  162. roundify_2.Name = "roundify"
  163. roundify_2.Parent = checkpoints
  164. roundify_2.Active = true
  165. roundify_2.AnchorPoint = Vector2.new(0.5, 0.5)
  166. roundify_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  167. roundify_2.BackgroundTransparency = 1.000
  168. roundify_2.Position = UDim2.new(0.5, 0, 0.5, 0)
  169. roundify_2.Selectable = true
  170. roundify_2.Size = UDim2.new(1, 0, 1, 0)
  171. roundify_2.Image = "rbxassetid://3570695787"
  172. roundify_2.ImageColor3 = Color3.fromRGB(100, 100, 100)
  173. roundify_2.ScaleType = Enum.ScaleType.Slice
  174. roundify_2.SliceCenter = Rect.new(100, 100, 100, 100)
  175. roundify_2.SliceScale = 0.120
  176.  
  177. openLabel_2.Name = "openLabel"
  178. openLabel_2.Parent = checkpoints
  179. openLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  180. openLabel_2.BackgroundTransparency = 1.000
  181. openLabel_2.BorderSizePixel = 0
  182. openLabel_2.Size = UDim2.new(0, 156, 0, 31)
  183. openLabel_2.Font = Enum.Font.GothamBlack
  184. openLabel_2.Text = "Go to all checkpoints"
  185. openLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  186. openLabel_2.TextScaled = true
  187. openLabel_2.TextSize = 16.000
  188. openLabel_2.TextWrapped = true
  189.  
  190. local function YBLC_fake_script() -- loadFrame.loadScript
  191.     local script = Instance.new('LocalScript', loadFrame)
  192.  
  193.     local tweenService = game:GetService("TweenService")
  194.    
  195.     local frame = script.Parent
  196.     local main = script.Parent.Parent.main
  197.     local openButton = frame.openButton
  198.    
  199.     frame.Visible = true
  200.    
  201.     openButton.MouseButton1Click:connect(function()
  202.         tweenService:Create(frame, TweenInfo.new(1), {Size=UDim2.new(0,0,0,frame.Size.Y.Offset)}):Play()
  203.         for a,obj in pairs(frame:GetChildren()) do
  204.             if not obj:IsA("LocalScript") then
  205.                 tweenService:Create(obj, TweenInfo.new(1), {Size=UDim2.new(0,0,0,obj.Size.Y.Offset)}):Play()
  206.                 tweenService:Create(obj, TweenInfo.new(1), {TextTransparency=1}):Play()
  207.                 for a,objChild in pairs(obj:GetChildren()) do
  208.                     if not objChild:IsA("ImageLabel") then
  209.                         tweenService:Create(objChild, TweenInfo.new(1), {Size=UDim2.new(0,0,0,objChild.Size.Y.Offset)}):Play()
  210.                         tweenService:Create(objChild, TweenInfo.new(1), {TextTransparency=1}):Play()
  211.                     end
  212.                 end
  213.             end
  214.         end
  215.         wait(1)
  216.         main.Visible = true
  217.         frame.Visible = false
  218.     end)
  219. end
  220. coroutine.wrap(YBLC_fake_script)()
  221. local function LVXHYN_fake_script() -- loadFrame.Dragify
  222.     local script = Instance.new('LocalScript', loadFrame)
  223.  
  224.     function dragify(Frame)
  225.         dragToggle = nil
  226.         local dragSpeed = .25 -- You can edit this.
  227.         dragInput = nil
  228.         dragStart = nil
  229.         local dragPos = nil
  230.    
  231.         function updateInput(input)
  232.             local Delta = input.Position - dragStart
  233.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  234.             game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
  235.         end
  236.    
  237.         Frame.InputBegan:Connect(function(input)
  238.             if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  239.                 dragToggle = true
  240.                 dragStart = input.Position
  241.                 startPos = Frame.Position
  242.                 input.Changed:Connect(function()
  243.                     if (input.UserInputState == Enum.UserInputState.End) then
  244.                         dragToggle = false
  245.                     end
  246.                 end)
  247.             end
  248.         end)
  249.    
  250.         Frame.InputChanged:Connect(function(input)
  251.             if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  252.                 dragInput = input
  253.             end
  254.         end)
  255.    
  256.         game:GetService("UserInputService").InputChanged:Connect(function(input)
  257.             if (input == dragInput and dragToggle) then
  258.                 updateInput(input)
  259.             end
  260.         end)
  261.     end
  262.    
  263.     dragify(script.Parent)
  264. end
  265. coroutine.wrap(LVXHYN_fake_script)()
  266. local function YLJGW_fake_script() -- main.mainScript
  267.     local script = Instance.new('LocalScript', main)
  268.  
  269.     local player = game:GetService("Players").LocalPlayer
  270.     local tweenService = game:GetService("TweenService")
  271.     local runService = game:GetService("RunService")
  272.    
  273.     local frame = script.Parent
  274.     local container = frame.container
  275.     local checkpoints = frame.checkpoints
  276.     local killbrickOn = false
  277.    
  278.     container.killbricks.toggle.MouseButton1Click:connect(function()
  279.         if killbrickOn == false then
  280.             killbrickOn = true
  281.             tweenService:Create(container.killbricks.toggle, TweenInfo.new(.7),{BackgroundColor3=Color3.fromRGB(0, 166, 0)}):Play()
  282.             player.PlayerScripts.KillBricks.Disabled = true
  283.             for a,killbrick in pairs(game.Workspace.ResetBricks:GetChildren()) do
  284.                 killbrick.CanCollide = true
  285.             end
  286.         else
  287.             killbrickOn = false
  288.             tweenService:Create(container.killbricks.toggle, TweenInfo.new(.7),{BackgroundColor3=Color3.fromRGB(190, 0, 0)}):Play()
  289.             player.PlayerScripts.KillBricks.Disabled = false
  290.             for a,killbrick in pairs(game.Workspace.ResetBricks:GetChildren()) do
  291.                 killbrick.CanCollide = false
  292.             end
  293.         end
  294.     end)
  295.    
  296.     checkpoints.MouseButton1Click:connect(function()
  297.         for a,checkpoint in pairs(game.Workspace.Checkpoints:GetChildren()) do
  298.             player.Character:MoveTo(checkpoint.Position)
  299.         end
  300.     end)
  301. end
  302. coroutine.wrap(YLJGW_fake_script)()
  303. local function SJRQKSB_fake_script() -- main.Dragify
  304.     local script = Instance.new('LocalScript', main)
  305.  
  306.     function dragify(Frame)
  307.         dragToggle = nil
  308.         local dragSpeed = .25 -- You can edit this.
  309.         dragInput = nil
  310.         dragStart = nil
  311.         local dragPos = nil
  312.    
  313.         function updateInput(input)
  314.             local Delta = input.Position - dragStart
  315.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  316.             game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
  317.         end
  318.    
  319.         Frame.InputBegan:Connect(function(input)
  320.             if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  321.                 dragToggle = true
  322.                 dragStart = input.Position
  323.                 startPos = Frame.Position
  324.                 input.Changed:Connect(function()
  325.                     if (input.UserInputState == Enum.UserInputState.End) then
  326.                         dragToggle = false
  327.                     end
  328.                 end)
  329.             end
  330.         end)
  331.    
  332.         Frame.InputChanged:Connect(function(input)
  333.             if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  334.                 dragInput = input
  335.             end
  336.         end)
  337.    
  338.         game:GetService("UserInputService").InputChanged:Connect(function(input)
  339.             if (input == dragInput and dragToggle) then
  340.                 updateInput(input)
  341.             end
  342.         end)
  343.     end
  344.    
  345.     dragify(script.Parent)
  346. end
  347. coroutine.wrap(SJRQKSB_fake_script)()
  348.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement