nxate

Impossible Obby Script

Aug 1st, 2021
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.29 KB | None | 0 0
  1. --Made by Intrer#0421
  2.  
  3. print("Impossible Obby Script Active")
  4.  
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local main = Instance.new("Frame")
  7. local title = Instance.new("TextLabel")
  8. local CompleteObbyB = Instance.new("TextButton")
  9. local FinalLevelB = Instance.new("TextButton")
  10. local RemoveLasersB = Instance.new("TextButton")
  11. local InfiniteJumpB = Instance.new("TextButton")
  12. local TextLabel = Instance.new("TextLabel")
  13. local TextLabel_2 = Instance.new("TextLabel")
  14. local TpToPlayerTextBox = Instance.new("TextBox")
  15. local TextLabel_3 = Instance.new("TextLabel")
  16. local TpToPlayerEnterB = Instance.new("TextButton")
  17. local TextLabel_4 = Instance.new("TextLabel")
  18. local TextLabel_5 = Instance.new("TextLabel")
  19. local wSpeedTextBox = Instance.new("TextBox")
  20. local jHeightTextBox = Instance.new("TextBox")
  21. local wSpeedEnterB = Instance.new("TextButton")
  22. local jHeightEnterB = Instance.new("TextButton")
  23.  
  24. --Properties:
  25.  
  26. ScreenGui.Parent = game.CoreGui
  27.  
  28. main.Name = "main"
  29. main.Parent = ScreenGui
  30. main.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  31. main.Position = UDim2.new(0.240473688, 0, 0.24581939, 0)
  32. main.Size = UDim2.new(0, 472, 0, 303)
  33. main.Active = true
  34. main.Draggable = true
  35.  
  36. title.Name = "title"
  37. title.Parent = main
  38. title.BackgroundColor3 = Color3.fromRGB(64, 156, 255)
  39. title.Size = UDim2.new(0, 472, 0, 50)
  40. title.Font = Enum.Font.GothamBold
  41. title.Text = "The Impossible Obby GUI by Intrer#0421"
  42. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  43. title.TextSize = 18.000
  44. title.TextWrapped = true
  45.  
  46. CompleteObbyB.Name = "CompleteObbyB"
  47. CompleteObbyB.Parent = main
  48. CompleteObbyB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  49. CompleteObbyB.Position = UDim2.new(0.0271398742, 0, 0.343859643, 0)
  50. CompleteObbyB.Size = UDim2.new(0, 192, 0, 34)
  51. CompleteObbyB.Font = Enum.Font.Gotham
  52. CompleteObbyB.Text = "Complete obby"
  53. CompleteObbyB.TextColor3 = Color3.fromRGB(255, 255, 255)
  54. CompleteObbyB.TextSize = 14.000
  55. CompleteObbyB.MouseButton1Down:connect(function()
  56. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-3937, 2237, -10352)
  57. end)
  58.  
  59. FinalLevelB.Name = "FinalLevelB"
  60. FinalLevelB.Parent = main
  61. FinalLevelB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  62. FinalLevelB.Position = UDim2.new(0.0248515457, 0, 0.50526315, 0)
  63. FinalLevelB.Size = UDim2.new(0, 192, 0, 34)
  64. FinalLevelB.Font = Enum.Font.Gotham
  65. FinalLevelB.Text = "Final level"
  66. FinalLevelB.TextColor3 = Color3.fromRGB(255, 255, 255)
  67. FinalLevelB.TextSize = 14.000
  68. FinalLevelB.MouseButton1Down:connect(function()
  69. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-3959, 707, -9469)
  70. end)
  71.  
  72. RemoveLasersB.Name = "RemoveLasersB"
  73. RemoveLasersB.Parent = main
  74. RemoveLasersB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  75. RemoveLasersB.Position = UDim2.new(0.515175164, 0, 0.343859643, 0)
  76. RemoveLasersB.Size = UDim2.new(0, 192, 0, 34)
  77. RemoveLasersB.Font = Enum.Font.Gotham
  78. RemoveLasersB.Text = "Remove Lasers"
  79. RemoveLasersB.TextColor3 = Color3.fromRGB(255, 255, 255)
  80. RemoveLasersB.TextSize = 14.000
  81. RemoveLasersB.MouseButton1Down:connect(function()
  82. local descendants = game.Workspace:GetDescendants()
  83. for index, descendant in pairs(descendants) do
  84. if descendant.Name == 'TouchInterest' then
  85. descendant:Destroy()
  86. end
  87. end
  88. end)
  89.  
  90. InfiniteJumpB.Name = "InfiniteJumpB"
  91. InfiniteJumpB.Parent = main
  92. InfiniteJumpB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  93. InfiniteJumpB.ClipsDescendants = true
  94. InfiniteJumpB.Position = UDim2.new(0.515175164, 0, 0.50526315, 0)
  95. InfiniteJumpB.Size = UDim2.new(0, 192, 0, 34)
  96. InfiniteJumpB.Font = Enum.Font.Gotham
  97. InfiniteJumpB.Text = "Infinite Jump"
  98. InfiniteJumpB.TextColor3 = Color3.fromRGB(255, 255, 255)
  99. InfiniteJumpB.TextSize = 14.000
  100. InfiniteJumpB.MouseButton1Down:connect(function()
  101. local Player = game:GetService'Players'.LocalPlayer;
  102. local UIS = game:GetService'UserInputService';
  103.  
  104. _G.JumpHeight = 50;
  105.  
  106. function Action(Object, Function) if Object ~= nil then Function(Object); end end
  107.  
  108. UIS.InputBegan:connect(function(UserInput)
  109. if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
  110. Action(Player.Character.Humanoid, function(self)
  111. if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
  112. Action(self.Parent.HumanoidRootPart, function(self)
  113. self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
  114. end)
  115. end
  116. end)
  117. end
  118. end)
  119. end)
  120.  
  121. TextLabel.Parent = main
  122. TextLabel.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  123. TextLabel.Position = UDim2.new(0.109519698, 0, 0.200000003, 0)
  124. TextLabel.Size = UDim2.new(0, 119, 0, 34)
  125. TextLabel.Font = Enum.Font.Gotham
  126. TextLabel.Text = "Teleports"
  127. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  128. TextLabel.TextSize = 18.000
  129.  
  130. TextLabel_2.Parent = main
  131. TextLabel_2.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  132. TextLabel_2.Position = UDim2.new(0.596933901, 0, 0.200000003, 0)
  133. TextLabel_2.Size = UDim2.new(0, 119, 0, 34)
  134. TextLabel_2.Font = Enum.Font.Gotham
  135. TextLabel_2.Text = "Miscellaneous"
  136. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  137. TextLabel_2.TextSize = 18.000
  138.  
  139. TpToPlayerTextBox.Name = "TpToPlayerTextBox"
  140. TpToPlayerTextBox.Parent = main
  141. TpToPlayerTextBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  142. TpToPlayerTextBox.Position = UDim2.new(0.0248515047, 0, 0.750877202, 0)
  143. TpToPlayerTextBox.Size = UDim2.new(0, 192, 0, 34)
  144. TpToPlayerTextBox.Font = Enum.Font.SourceSans
  145. TpToPlayerTextBox.Text = ""
  146. TpToPlayerTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  147. TpToPlayerTextBox.TextSize = 18.000
  148.  
  149. TextLabel_3.Parent = main
  150. TextLabel_3.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  151. TextLabel_3.Position = UDim2.new(0.107231371, 0, 0.635643542, 0)
  152. TextLabel_3.Size = UDim2.new(0, 119, 0, 34)
  153. TextLabel_3.Font = Enum.Font.Gotham
  154. TextLabel_3.Text = "To player (enter name)"
  155. TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  156. TextLabel_3.TextSize = 18.000
  157.  
  158. TpToPlayerEnterB.Name = "TpToPlayerEnterB"
  159. TpToPlayerEnterB.Parent = main
  160. TpToPlayerEnterB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  161. TpToPlayerEnterB.ClipsDescendants = true
  162. TpToPlayerEnterB.Position = UDim2.new(0.139889091, 0, 0.888101399, 0)
  163. TpToPlayerEnterB.Size = UDim2.new(0, 92, 0, 25)
  164. TpToPlayerEnterB.Font = Enum.Font.Gotham
  165. TpToPlayerEnterB.Text = "Enter"
  166. TpToPlayerEnterB.TextColor3 = Color3.fromRGB(255, 255, 255)
  167. TpToPlayerEnterB.TextSize = 14.000
  168. TpToPlayerEnterB.MouseButton1Down:connect(function()
  169. local playername = TpToPlayerTextBox.Text
  170.  
  171. local plr1 = game.Players.LocalPlayer.Character
  172. local plr2 = game.Workspace:FindFirstChild(playername)
  173. plr1.HumanoidRootPart.CFrame = plr2.HumanoidRootPart.CFrame
  174. end)
  175.  
  176. TextLabel_4.Parent = main
  177. TextLabel_4.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  178. TextLabel_4.Position = UDim2.new(0.48132959, 0, 0.652145147, 0)
  179. TextLabel_4.Size = UDim2.new(0, 110, 0, 34)
  180. TextLabel_4.Font = Enum.Font.Gotham
  181. TextLabel_4.Text = "Walk speed:"
  182. TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  183. TextLabel_4.TextSize = 13.000
  184.  
  185. TextLabel_5.Parent = main
  186. TextLabel_5.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
  187. TextLabel_5.Position = UDim2.new(0.493871808, 0, 0.807260633, 0)
  188. TextLabel_5.Size = UDim2.new(0, 104, 0, 34)
  189. TextLabel_5.Font = Enum.Font.Gotham
  190. TextLabel_5.Text = "Jump height:"
  191. TextLabel_5.TextColor3 = Color3.fromRGB(255, 255, 255)
  192. TextLabel_5.TextSize = 13.000
  193.  
  194. wSpeedTextBox.Name = "wSpeedTextBox"
  195. wSpeedTextBox.Parent = main
  196. wSpeedTextBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  197. wSpeedTextBox.Position = UDim2.new(0.712368429, 0, 0.658468008, 0)
  198. wSpeedTextBox.Size = UDim2.new(0, 51, 0, 29)
  199. wSpeedTextBox.Font = Enum.Font.SourceSans
  200. wSpeedTextBox.Text = "10"
  201. wSpeedTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  202. wSpeedTextBox.TextSize = 18.000
  203.  
  204. jHeightTextBox.Name = "jHeightTextBox"
  205. jHeightTextBox.Parent = main
  206. jHeightTextBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  207. jHeightTextBox.Position = UDim2.new(0.712368429, 0, 0.822094798, 0)
  208. jHeightTextBox.Size = UDim2.new(0, 51, 0, 29)
  209. jHeightTextBox.Font = Enum.Font.SourceSans
  210. jHeightTextBox.ShowNativeInput = false
  211. jHeightTextBox.Text = ""
  212. jHeightTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  213. jHeightTextBox.TextSize = 18.000
  214.  
  215. wSpeedEnterB.Name = "wSpeedEnterB"
  216. wSpeedEnterB.Parent = main
  217. wSpeedEnterB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  218. wSpeedEnterB.ClipsDescendants = true
  219. wSpeedEnterB.Position = UDim2.new(0.847029746, 0, 0.663679004, 0)
  220. wSpeedEnterB.Size = UDim2.new(0, 46, 0, 24)
  221. wSpeedEnterB.Font = Enum.Font.Gotham
  222. wSpeedEnterB.Text = "Enter"
  223. wSpeedEnterB.TextColor3 = Color3.fromRGB(255, 255, 255)
  224. wSpeedEnterB.TextSize = 14.000
  225. wSpeedEnterB.MouseButton1Down:connect(function()
  226. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = wSpeedTextBox.Text
  227. end)
  228.  
  229. jHeightEnterB.Name = "jHeightEnterB"
  230. jHeightEnterB.Parent = main
  231. jHeightEnterB.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  232. jHeightEnterB.ClipsDescendants = true
  233. jHeightEnterB.Position = UDim2.new(0.847029746, 0, 0.828695536, 0)
  234. jHeightEnterB.Size = UDim2.new(0, 46, 0, 24)
  235. jHeightEnterB.Font = Enum.Font.Gotham
  236. jHeightEnterB.Text = "Enter"
  237. jHeightEnterB.TextColor3 = Color3.fromRGB(255, 255, 255)
  238. jHeightEnterB.TextSize = 14.000
  239. jHeightEnterB.MouseButton1Down:connect(function()
  240. game:service('Players').LocalPlayer.Character.Humanoid.JumpPower = jHeightTextBox.Text
  241. end)
Add Comment
Please, Sign In to add comment