Advertisement
TeoMessiKing

asdasd

Mar 10th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.58 KB | None | 0 0
  1. --// Speed Run V5 \\--
  2. --// Scripted By TeoMessiKing \\--
  3.  
  4. wait(2)
  5.  
  6. local uis = game:GetService("UserInputService")
  7. local plr = game.Players.LocalPlayer
  8. local mouse = plr:GetMouse()
  9. local jump = false
  10. local run = false
  11. local fly = true
  12. local mag = wait()
  13. local character = plr.Character or plr.CharacterAdded:Wait()
  14. local anim = character.Humanoid:LoadAnimation(script.Animation)
  15. local debounce = false
  16. local cheats = false
  17. local speed = false
  18. local jumpcheat = false
  19.  
  20.  
  21.  
  22. --// Custom Walk Script \\--
  23.  
  24. uis.InputBegan:Connect(function(key)
  25. if key.KeyCode == Enum.KeyCode.W then
  26. run=true
  27. print("Running")
  28. game.Workspace.CurrentCamera.FieldOfView = 70
  29. plr.Character.Humanoid.WalkSpeed = 16
  30. for i = 1,20 do
  31. game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView + 0.5
  32. plr.Character.Humanoid.WalkSpeed = plr.Character.Humanoid.WalkSpeed + 0.2
  33. wait()
  34. end
  35. end
  36. end)
  37.  
  38.  
  39. uis.InputEnded:Connect(function(key)
  40. if key.KeyCode == Enum.KeyCode.W then
  41. run=false
  42. print("Walking")
  43. for i=1,20 do
  44. wait()
  45. game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView - 0.5
  46. plr.Character.Humanoid.WalkSpeed = plr.Character.Humanoid.WalkSpeed - 0.2
  47. end
  48. end
  49. end)
  50.  
  51.  
  52. --// Custom Jump Script \\--
  53.  
  54. uis.InputBegan:Connect(function(key)
  55. if key.KeyCode == Enum.KeyCode.Space then
  56. jump=true
  57. workspace.CurrentCamera.FieldOfView = 70
  58. for i=1,10 do
  59. wait()
  60. plr.Character.Humanoid.JumpPower = plr.Character.Humanoid.JumpPower + 1
  61. workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView + 0.5
  62. end
  63. end
  64. end)
  65.  
  66.  
  67. uis.InputEnded:Connect(function(key)
  68. if key.KeyCode == Enum.KeyCode.Space then
  69. jump=false
  70. for i=1,10 do
  71. wait()
  72. plr.Character.Humanoid.JumpPower = plr.Character.Humanoid.JumpPower - 1
  73. workspace.CurrentCamera.FieldOfView = workspace.CurrentCamera.FieldOfView - 0.5
  74. end
  75. workspace.CurrentCamera.FieldOfView = 70
  76. plr.Character.Humanoid.JumpPower = 50
  77. end
  78. end)
  79.  
  80.  
  81. --// Custom Fly Script (With Animation) \\--
  82.  
  83. uis.InputBegan:Connect(function(key)
  84. if key.KeyCode == Enum.KeyCode.F then
  85.  
  86. if plr.Character.HumanoidRootPart:findFirstChild("b") then
  87.  
  88. plr.Character.HumanoidRootPart.b:Destroy()
  89.  
  90. anim:Stop()
  91.  
  92. uis.MouseBehavior = Enum.MouseBehavior.Default
  93.  
  94. fly = false
  95.  
  96. game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  97.  
  98. for i=1,10 do
  99. wait()
  100. game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView - 2
  101. end
  102. else
  103.  
  104. local bp = Instance.new("BodyVelocity")
  105. bp.Name = "b"
  106. bp.Parent = plr.Character.HumanoidRootPart
  107. bp.P = 7000
  108. anim:Play()
  109. for i=1,10 do
  110. wait()
  111. game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView + 2
  112. end
  113. game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  114. fly = true
  115. repeat
  116. uis.MouseBehavior = Enum.MouseBehavior.LockCenter
  117. bp.Velocity = game.Workspace.CurrentCamera.CFrame.LookVector*100
  118. wait()
  119. until fly == false
  120. end
  121. end
  122. end)
  123.  
  124. --// Custom Special Abilities \\--
  125.  
  126. uis.InputBegan:Connect(function(key)
  127. if key.KeyCode == Enum.KeyCode.R then
  128. print("Gravity: Activated")
  129. for i=1,20 do
  130. game.Workspace.Gravity = 30
  131. print(20-i.." Seconds Left")
  132. wait(1)
  133. end
  134.  
  135. game.Workspace.Gravity = 196.2
  136. end
  137. end)
  138.  
  139. --// Cheats \\--
  140.  
  141. --// Cheat On/Off \\--
  142. plr.Chatted:Connect(function(msg)
  143. if msg == "!Cheats" then
  144. if not cheats then
  145. cheats = true
  146. print("Cheats On")
  147. elseif cheats then
  148. cheats = false
  149. print("Cheats Off")
  150.  
  151. end
  152. end
  153. end)
  154.  
  155.  
  156. --// Commands \\--
  157.  
  158. --// Speed Cheat \\--
  159.  
  160. plr.Chatted:Connect(function(msg)
  161. if msg == "!Speed" then
  162. if cheats then
  163. if not speed then
  164. speed = true
  165. repeat
  166. plr.Character.Humanoid.WalkSpeed = 100
  167. wait()
  168. until speed == false
  169. print("Speed On/Off")
  170. end
  171. if speed then
  172. speed = false
  173. end
  174. elseif not cheats then
  175. print("U Need To Turn On Cheats U Can Do That By Typing !Cheats")
  176. end
  177. end
  178. end)
  179.  
  180. --// Jump Cheat \\--
  181.  
  182. plr.Chatted:Connect(function(msg)
  183. if msg == "!Jump" then
  184. if cheats then
  185. if not jumpcheat then
  186. jumpcheat = true
  187. repeat
  188. plr.Character.Humanoid.JumpPower = 100
  189. wait()
  190. until jumpcheat == false
  191. print("Jump On/Off")
  192. end
  193. if jumpcheat then
  194. jumpcheat = false
  195. end
  196. elseif not cheats then
  197. print("U Need To Turn On Cheats U Can Do That By Typing !Cheats")
  198. end
  199. end
  200. end)
  201.  
  202.  
  203. --// Night Cheat \\--
  204.  
  205. plr.Chatted:Connect(function(msg)
  206. if msg == "!Night" then
  207. if cheats then
  208. game.Lighting.TimeOfDay = 0.1
  209. print("its night now spooky")
  210. end
  211. if not cheats then
  212. print("Turn On Cheats")
  213. end
  214. end
  215. end)
  216.  
  217.  
  218. --// Day Cheat \\--
  219.  
  220. plr.Chatted:Connect(function(msg)
  221. if msg == "!Day" then
  222. if cheats then
  223. game.Lighting.TimeOfDay = 14
  224. print("its day now")
  225. end
  226. elseif not cheats then
  227. print("Turn On Cheats")
  228. end
  229. end)
  230.  
  231.  
  232. --// Morning Cheat \\--
  233.  
  234. plr.Chatted:Connect(function(msg)
  235. if msg == "!Morning" then
  236. if cheats then
  237. game.Lighting.TimeOfDay = 6.13
  238. print("Its Morning")
  239. end
  240. elseif not cheats then
  241. print("Turn On Cheats")
  242. end
  243. end)
  244.  
  245.  
  246. --// MLG Cheat \\--
  247.  
  248. plr.Chatted:Connect(function(msg)
  249. if msg == "!MLG" then
  250. if cheats then
  251. print("MLG MODE ON!! REEEEE")
  252. local sound = Instance.new("Sound")
  253. sound.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  254. sound.Playing = true
  255. sound.SoundId = "rbxassetid://2866646141"
  256. sound.Volume = 2
  257. end
  258. if not cheats then
  259. print("Turn On Cheats")
  260. end
  261. end
  262. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement