Advertisement
FilterYT

Untitled

Apr 16th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.19 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer--Don't change this since it works on only the localplayer
  2.  
  3. local guip = Player.PlayerGui
  4. local Mouse = Player:GetMouse()
  5. local RoundCorner = 'rbxassetid://864843300'
  6. local Sprinting = false
  7. local SprintSpeed = 24
  8. local Flying = false
  9. local FlySpeed = 100
  10. local Pathing = false
  11. local XZPathSize = 10
  12. local vDown = false
  13.  
  14.  
  15. local function MakeGui()
  16. local g = Instance.new('ScreenGui',guip)
  17. local SingleMinigamesFrame = Instance.new('Frame',g)
  18. local OpenButton = Instance.new('TextButton',g)
  19. local TileTakeover = Instance.new('TextButton',SingleMinigamesFrame)
  20. local OrbCollection = Instance.new('TextButton',SingleMinigamesFrame)
  21. local ManicMining = Instance.new('TextButton',SingleMinigamesFrame)
  22. local BulletEvasion = Instance.new('TextButton',SingleMinigamesFrame)
  23. local BounceOut = Instance.new('TextButton',SingleMinigamesFrame)
  24. local AztecAdventure = Instance.new('TextButton',SingleMinigamesFrame)
  25. local JustJump = Instance.new('TextButton',SingleMinigamesFrame)
  26. local SlipperySledding = Instance.new('TextButton',SingleMinigamesFrame)
  27. local TheCrusher = Instance.new('TextButton',SingleMinigamesFrame)
  28. local TheSweeper = Instance.new('TextButton',SingleMinigamesFrame)
  29. local TrialTravsersing = Instance.new('TextButton',SingleMinigamesFrame)
  30. local BlowDryerBattle = Instance.new('TextButton',SingleMinigamesFrame)
  31. local BulletBound = Instance.new('TextButton',SingleMinigamesFrame)
  32. local DownHillRoll = Instance.new('TextButton',SingleMinigamesFrame)
  33. local LaneJumping = Instance.new('TextButton',SingleMinigamesFrame)
  34. local LaserGuidance = Instance.new('TextButton',SingleMinigamesFrame)
  35. local HauntedHallways = Instance.new('TextButton',SingleMinigamesFrame)
  36. local HedgeWayOut = Instance.new('TextButton',SingleMinigamesFrame)
  37. local HighRolling = Instance.new('TextButton',SingleMinigamesFrame)
  38. local HardPressed = Instance.new('TextButton',SingleMinigamesFrame)
  39. local CannonCooldownRed = Instance.new('TextButton',SingleMinigamesFrame)
  40. local CannonCooldownBlue = Instance.new('TextButton',SingleMinigamesFrame)
  41. local AllSingleMinigamesButtons = SingleMinigamesFrame:GetChildren()
  42. --Done Creating The SingleMinigamesFrame Components
  43. g.ResetOnSpawn = false
  44. SingleMinigamesFrame.Position = UDim2.new(-0.23, 0,0.105, 0)
  45. SingleMinigamesFrame.Size = UDim2.new(0.16, 100,0.632, 100)
  46. SingleMinigamesFrame.BorderSizePixel = 0
  47. SingleMinigamesFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  48. OpenButton.Position = UDim2.new(0.004, 0,0.41, 0)
  49. OpenButton.Size = UDim2.new(-0.045, 130,0.042, 35)
  50. OpenButton.TextSize = 50
  51. OpenButton.Style = Enum.ButtonStyle.RobloxRoundButton
  52. OpenButton.Text = '>'
  53. --Button Setup
  54. OpenButton.MouseButton1Click:connect(function()
  55. if OpenButton.Text == '>' then
  56. OpenButton:TweenPosition(UDim2.new(0.234, 0,0.41, 0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.5)
  57. SingleMinigamesFrame:TweenPosition(UDim2.new(-0, 0,0.105, 0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.5)
  58. OpenButton.Text = '<'
  59. elseif OpenButton.Text == '<' then
  60. OpenButton:TweenPosition(UDim2.new(0.004, 0,0.41, 0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.5)
  61. SingleMinigamesFrame:TweenPosition(UDim2.new(-0.23, 0,0.105, 0),Enum.EasingDirection.In,Enum.EasingStyle.Sine,0.5)
  62. OpenButton.Text = '>'
  63. end
  64. end)
  65. --End
  66.  
  67. --Button Setup
  68. TileTakeover.Position = UDim2.new(0, 0,0, 0)
  69. TileTakeover.Size = UDim2.new(0, 130 , 0, 35)
  70. TileTakeover.TextSize = 10
  71. TileTakeover.Style = Enum.ButtonStyle.RobloxRoundButton
  72. TileTakeover.Text = 'Tile Takeover'
  73. TileTakeover.MouseButton1Click:connect(function()
  74. local rt = 0
  75. repeat
  76. wait(1)
  77. rt = rt + 1
  78. local tilez = game.Workspace['Tile Takeover'].tiles:GetChildren()
  79. for i, v in pairs (tilez)do
  80. v.CanCollide = false
  81. v.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame - Vector3.new(0,3.3,0)
  82. end
  83. until rt == 50
  84. end)
  85. --End
  86.  
  87. --Button Setup
  88. OrbCollection.Position = UDim2.new(0.408, 0,-0.001, 0)
  89. OrbCollection.Size = UDim2.new(0, 130 , 0, 35)
  90. OrbCollection.TextSize = 10
  91. OrbCollection.Style = Enum.ButtonStyle.RobloxRoundButton
  92. OrbCollection.Text = 'Orb Collection'
  93. OrbCollection.MouseButton1Click:connect(function()
  94. local rt = 0
  95. repeat
  96. wait(1)
  97. local orbz = game.Workspace['Orb Collection'].tiles:GetChildren()
  98. for i, v in pairs (orbz) do
  99. v.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  100. end
  101. until rt == 50
  102. end)
  103. --End
  104.  
  105. --Button Setup
  106. ManicMining.Position = UDim2.new(0, 0,0.069, 0)
  107. ManicMining.Size = UDim2.new(0, 130 , 0, 35)
  108. ManicMining.TextSize = 10
  109. ManicMining.Style = Enum.ButtonStyle.RobloxRoundButton
  110. ManicMining.Text = 'Manic Mining'
  111. ManicMining.MouseButton1Click:connect(function()
  112. game.Workspace['Manic Mining'].emerald.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(2,2,2)
  113. end)
  114. --End
  115.  
  116. --Button Setup
  117. BounceOut.Position = UDim2.new(0.408, 0,0.069, 0)
  118. BounceOut.Size = UDim2.new(0, 130 , 0, 35)
  119. BounceOut.TextSize = 10
  120. BounceOut.Style = Enum.ButtonStyle.RobloxRoundButton
  121. BounceOut.Text = 'Bounce Out'
  122. BounceOut.MouseButton1Click:connect(function()
  123. game.Workspace['Bounce Out'].Goal.Goal.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  124. end)
  125. --End
  126.  
  127. --Button Setup
  128. BulletEvasion.Position = UDim2.new(0, 0,0.138, 0)
  129. BulletEvasion.Size = UDim2.new(0, 130 , 0, 35)
  130. BulletEvasion.TextSize = 10
  131. BulletEvasion.Style = Enum.ButtonStyle.RobloxRoundButton
  132. BulletEvasion.Text = 'Bullet Evasion'
  133. BulletEvasion.MouseButton1Click:connect(function()
  134. game.Workspace['Bullet Evasion'].bullets:Destroy()
  135. end)
  136. --End
  137.  
  138. --Button Setup
  139. AztecAdventure.Position = UDim2.new(0.408, 0,0.138, 0)
  140. AztecAdventure.Size = UDim2.new(0, 130 , 0, 35)
  141. AztecAdventure.TextSize = 10
  142. AztecAdventure.Style = Enum.ButtonStyle.RobloxRoundButton
  143. AztecAdventure.Text = 'Aztec Adventure'
  144. AztecAdventure.MouseButton1Click:connect(function()
  145. game.Workspace['Aztec Adventure'].Goal.Goal.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  146. end)
  147. --End
  148.  
  149. --Button Setup
  150. JustJump.Position = UDim2.new(0, 0,0.208, 0)
  151. JustJump.Size = UDim2.new(0, 130 , 0, 35)
  152. JustJump.TextSize = 10
  153. JustJump.Style = Enum.ButtonStyle.RobloxRoundButton
  154. JustJump.Text = 'Just Jump'
  155. JustJump.MouseButton1Click:connect(function()
  156. game.Workspace['Just Jump'].map.rope:Destroy()
  157. end)
  158. --End
  159.  
  160. --Button Setup
  161. SlipperySledding.Position = UDim2.new(0.408, 0,0.207, 0)
  162. SlipperySledding.Size = UDim2.new(0, 130 , 0, 35)
  163. SlipperySledding.TextSize = 10
  164. SlipperySledding.Style = Enum.ButtonStyle.RobloxRoundButton
  165. SlipperySledding.Text = 'Slippery Sledding'
  166. SlipperySledding.MouseButton1Click:connect(function()
  167. game.Workspace['Slippery Sledding'].Goal.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  168. end)
  169. --End
  170.  
  171. --Button Setup
  172. TheCrusher.Position = UDim2.new(0, 0,0.277, 0)
  173. TheCrusher.Size = UDim2.new(0, 130 , 0, 35)
  174. TheCrusher.TextSize = 10
  175. TheCrusher.Style = Enum.ButtonStyle.RobloxRoundButton
  176. TheCrusher.Text = 'The Crusher'
  177. TheCrusher.MouseButton1Click:connect(function()
  178. game.Workspace['The Crusher'].Goal.Goal.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  179. end)
  180. --End
  181.  
  182. --Button Setup
  183. TheSweeper.Position = UDim2.new(0.408, 0,0.276, 0)
  184. TheSweeper.Size = UDim2.new(0, 130 , 0, 35)
  185. TheSweeper.TextSize = 10
  186. TheSweeper.Style = Enum.ButtonStyle.RobloxRoundButton
  187. TheSweeper.Text = 'The Sweeper'
  188. TheSweeper.MouseButton1Click:connect(function()
  189. game.Workspace['The Sweeper'].sweeper:Destroy()
  190. end)
  191. --End
  192.  
  193. --Button Setup
  194. TrialTravsersing.Position = UDim2.new(0, 0,0.346, 0)
  195. TrialTravsersing.Size = UDim2.new(0, 130 , 0, 35)
  196. TrialTravsersing.TextSize = 10
  197. TrialTravsersing.Style = Enum.ButtonStyle.RobloxRoundButton
  198. TrialTravsersing.Text = 'Trial Travsersing'
  199. TrialTravsersing.MouseButton1Click:connect(function()
  200. game.Workspace['Trial Traversing'].Goal.Goal.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  201. end)
  202. --End
  203.  
  204. --Button Setup
  205. BlowDryerBattle.Position = UDim2.new(0.408, 0,0.346, 0)
  206. BlowDryerBattle.Size = UDim2.new(0, 130 , 0, 35)
  207. BlowDryerBattle.TextSize = 10
  208. BlowDryerBattle.Style = Enum.ButtonStyle.RobloxRoundButton
  209. BlowDryerBattle.Text = 'BlowDryer Battle'
  210. BlowDryerBattle.MouseButton1Click:connect(function()
  211. game.Players.LocalPlayer.Character.Torso.Anchored = true
  212. wait(60)
  213. game.Players.LocalPlayer.Character.Torso.Anchored = false
  214. end)
  215. --End
  216.  
  217. --Button Setup
  218. BulletBound.Position = UDim2.new(0, 0,0.415, 0)
  219. BulletBound.Size = UDim2.new(0, 130 , 0, 35)
  220. BulletBound.TextSize = 10
  221. BulletBound.Style = Enum.ButtonStyle.RobloxRoundButton
  222. BulletBound.Text = 'Bullet Bound'
  223. BulletBound.MouseButton1Click:connect(function()
  224. game.Players.LocalPlayer.Character.Toros.CFrame = game.Workspace['Bullet Bound'].Goal.Goal.CFrame
  225. end)
  226. --End
  227.  
  228. --Button Setup
  229. DownHillRoll.Position = UDim2.new(0.408, 0,0.415, 0)
  230. DownHillRoll.Size = UDim2.new(0, 130 , 0, 35)
  231. DownHillRoll.TextSize = 10
  232. DownHillRoll.Style = Enum.ButtonStyle.RobloxRoundButton
  233. DownHillRoll.Text = 'DownHill Roll'
  234. DownHillRoll.MouseButton1Click:connect(function()
  235. game.Workspace['Downhill Roll'].Goal.Goal.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  236. end)
  237. --End
  238.  
  239. --Button Setup
  240. LaserGuidance.Position = UDim2.new(0.408, 0,0.484, 0)
  241. LaserGuidance.Size = UDim2.new(0, 130 , 0, 35)
  242. LaserGuidance.TextSize = 10
  243. LaserGuidance.Style = Enum.ButtonStyle.RobloxRoundButton
  244. LaserGuidance.Text = 'Laser Guidance'
  245. LaserGuidance.MouseButton1Click:connect(function()
  246. game.Workspace['Laser Guidance'].vlaser:Destroy()
  247. game.Workspace['Laser Guidance'].hlaser:Destroy()
  248. end)
  249. --End
  250.  
  251. --Button Setup
  252. LaneJumping.Position = UDim2.new(0, 0,0.485, 0)
  253. LaneJumping.Size = UDim2.new(0, 130 , 0, 35)
  254. LaneJumping.TextSize = 10
  255. LaneJumping.Style = Enum.ButtonStyle.RobloxRoundButton
  256. LaneJumping.Text = 'Lane Jumping'
  257. LaneJumping.MouseButton1Click:connect(function()
  258. game.Workspace['Lane Jumping'].Goal.Goal.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  259. end)
  260. --End
  261.  
  262. --Button Setup
  263. HauntedHallways.Position = UDim2.new(0, 0,0.554, 0)
  264. HauntedHallways.Size = UDim2.new(0, 130 , 0, 35)
  265. HauntedHallways.TextSize = 10
  266. HauntedHallways.Style = Enum.ButtonStyle.RobloxRoundButton
  267. HauntedHallways.Text = 'Haunted Hallways'
  268. HauntedHallways.MouseButton1Click:connect(function()
  269. game.Workspace['Haunted Hallways'].Goal.Goal.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  270. end)
  271. --End
  272.  
  273. --Button Setup
  274. HedgeWayOut.Position = UDim2.new(0.408, 0,0.555, 0)
  275. HedgeWayOut.Size = UDim2.new(0, 130 , 0, 35)
  276. HedgeWayOut.TextSize = 10
  277. HedgeWayOut.Style = Enum.ButtonStyle.RobloxRoundButton
  278. HedgeWayOut.Text = 'Hedge Way Out'
  279. HedgeWayOut.MouseButton1Click:connect(function()
  280. game.Workspace['Hedge Way Out'].hedges:Destroy()
  281. end)
  282. --End
  283.  
  284. --Button Setup
  285. HighRolling.Position = UDim2.new(0, 0,0.625, 0)
  286. HighRolling.Size = UDim2.new(0, 130 , 0, 35)
  287. HighRolling.TextSize = 10
  288. HighRolling.Style = Enum.ButtonStyle.RobloxRoundButton
  289. HighRolling.Text = 'High Rolling'
  290. HighRolling.MouseButton1Click:connect(function()
  291. game.Workspace['High-Rolling'].Goal.Goal.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  292. end)
  293. --End
  294.  
  295. --Button Setup
  296. HardPressed.Position = UDim2.new(0.408, 0,0.624, 0)
  297. HardPressed.Size = UDim2.new(0, 130 , 0, 35)
  298. HardPressed.TextSize = 10
  299. HardPressed.Style = Enum.ButtonStyle.RobloxRoundButton
  300. HardPressed.Text = 'Hard Pressed'
  301. HardPressed.MouseButton1Click:connect(function()
  302. game.Workspace['Hard-Pressed'].map.presses:Destroy()
  303. end)
  304. --End
  305.  
  306. --Button Setup
  307. CannonCooldownRed.Position = UDim2.new(0, 0,0.694, 0)
  308. CannonCooldownRed.Size = UDim2.new(0, 130 , 0, 35)
  309. CannonCooldownRed.TextSize = 7
  310. CannonCooldownRed.Style = Enum.ButtonStyle.RobloxRoundButton
  311. CannonCooldownRed.Text = 'Cannon Cooldown Red'
  312. CannonCooldownRed.MouseButton1Click:connect(function()
  313. local rt = 0
  314. repeat
  315. local rp = game.Workspace['Cannon Cooldown'].trpads:GetChildren()
  316. wait (0.1)
  317. for i, v in pairs(rp) do
  318. v.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  319. end
  320. until rt == 10
  321. end)
  322. --End
  323.  
  324. --Button Setup
  325. CannonCooldownBlue.Position = UDim2.new(0.408, 0,0.694, 0)
  326. CannonCooldownBlue.Size = UDim2.new(0, 130 , 0, 35)
  327. CannonCooldownBlue.TextSize = 7
  328. CannonCooldownBlue.Style = Enum.ButtonStyle.RobloxRoundButton
  329. CannonCooldownBlue.Text = 'Cannon Cooldown Blue'
  330. CannonCooldownBlue.MouseButton1Click:connect(function()
  331. local rt = 0
  332. repeat
  333. local rp = game.Workspace['Cannon Cooldown'].tbpads:GetChildren()
  334. wait (0.1)
  335. for i, v in pairs(rp) do
  336. v.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
  337. end
  338. until rt == 10
  339. end)
  340. --End
  341. end
  342. MakeGui()
  343.  
  344. Mouse.KeyDown:connect(function(Key)
  345. if Key == 'z' then
  346. Sprinting = true
  347. repeat
  348. wait()
  349. Player.Character.Torso.Velocity = Player.Character.Torso.CFrame.lookVector * SprintSpeed * 2
  350. until Sprinting == false
  351. end
  352. if Key == 'x' then
  353. Flying = true
  354. repeat
  355. wait()
  356. Player.Character.Torso.Velocity = Vector3.new(0,FlySpeed,0)
  357. until Flying == false
  358. end
  359. if Key == 'p' then
  360. local Path = Instance.new('Part',game.Workspace)
  361. Path.Size = Vector3.new(XZPathSize,1,XZPathSize)
  362. Path.Anchored = true
  363. Path.CFrame = Player.Character.Torso.CFrame - Vector3.new(0,3.5,0)
  364. end
  365. if Key == 'v' then
  366. vDown = true
  367. end
  368. end)
  369. Mouse.KeyUp:connect(function(Key)
  370. if Key == 'z' then
  371. Sprinting = false
  372. end
  373. if Key == 'x' then
  374. Flying = false
  375. end
  376. if Key == 'p' then
  377. Pathing = false
  378. end
  379. if Key == 'v' then
  380. vDown = false
  381. end
  382. end)
  383. Mouse.Button1Down:connect(function()
  384. if vDown == true then
  385. Mouse.Target:Destroy()
  386. end
  387. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement