Advertisement
turrtle

Untitled

Nov 4th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.72 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local inftoggle = false
  3. function getvehicle()
  4. for i,v in pairs(game.Workspace.Vehicles:GetChildren()) do
  5. if v:IsA("Model") then
  6. if v.owner.Value == plr.Name then
  7. return v
  8. end
  9. end
  10. end
  11. return nil
  12. end
  13. function hint(txt, t)
  14. if t then
  15. local h = Instance.new("Hint",plr.PlayerGui)
  16. h.Text = txt
  17. wait(t)
  18. h:remove()
  19. else
  20. local h = Instance.new("Hint",plr.PlayerGui)
  21. h.Text = txt
  22. wait(2)
  23. h:remove()
  24. end
  25. end
  26.  
  27. warn("VVV all cmds VVV")
  28. wait(0.1)
  29. warn("/e toggle:NUMBER")
  30. warn("/e nitrospeed:NUMBER")
  31. warn("/e nitroforce:NUMBER")
  32. warn("/e maxspeed:NUMBER")
  33. warn("/e torque:40000+")
  34. warn("/e friction:NUMBER")
  35. warn("/e racingmode")
  36.  
  37. wait(3)
  38. local ScreenGui = Instance.new("ScreenGui")
  39. local Frame = Instance.new("Frame")
  40. local TextLabel = Instance.new("TextLabel")
  41. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  42.  
  43. Frame.Parent = ScreenGui
  44. Frame.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
  45. Frame.BorderColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
  46. Frame.BorderSizePixel = 5
  47. Frame.BackgroundTransparency = 1
  48. Frame.Position = UDim2.new(0.377850175, 0, 0.434383214, 0)
  49. Frame.Size = UDim2.new(0, 300, 0, 100)
  50.  
  51. TextLabel.Parent = Frame
  52. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  53. TextLabel.BackgroundTransparency = 1
  54. TextLabel.TextTransparency = 1
  55. TextLabel.BorderColor3 = Color3.new(0.870588, 0.870588, 0.870588)
  56. TextLabel.BorderSizePixel = 0
  57. TextLabel.Size = UDim2.new(0, 300, 0, 100)
  58. TextLabel.Font = Enum.Font.SourceSans
  59. TextLabel.Text = "Press F9 To View All Cmds"
  60. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  61. TextLabel.TextSize = 28
  62. TextLabel.TextWrapped = true
  63. wait(0.05)
  64. Frame.BackgroundTransparency = 1
  65. TextLabel.TextTransparency = 1
  66. wait(0.05)
  67. Frame.BackgroundTransparency = 0.9
  68. TextLabel.TextTransparency = 0.9
  69. wait(0.05)
  70. Frame.BackgroundTransparency = 0.8
  71. TextLabel.TextTransparency = 0.8
  72. wait(0.05)
  73. Frame.BackgroundTransparency = 0.7
  74. TextLabel.TextTransparency = 0.7
  75. wait(0.05)
  76. Frame.BackgroundTransparency = 0.6
  77. TextLabel.TextTransparency = 0.6
  78. wait(0.05)
  79. Frame.BackgroundTransparency = 0.5
  80. TextLabel.TextTransparency = 0.5
  81. wait(0.05)
  82. Frame.BackgroundTransparency = 0.4
  83. TextLabel.TextTransparency = 0.4
  84. wait(0.05)
  85. Frame.BackgroundTransparency = 0.3
  86. TextLabel.TextTransparency = 0.3
  87. wait(0.05)
  88. Frame.BackgroundTransparency = 0.2
  89. TextLabel.TextTransparency = 0.2
  90. wait(0.05)
  91. Frame.BackgroundTransparency = 0.1
  92. TextLabel.TextTransparency = 0.1
  93. wait(0.05)
  94. Frame.BackgroundTransparency = 0
  95. TextLabel.TextTransparency = 0
  96. wait(4)
  97. Frame.BackgroundTransparency = 0
  98. TextLabel.TextTransparency = 0
  99. wait(0.05)
  100. Frame.BackgroundTransparency = 0.1
  101. TextLabel.TextTransparency = 0.1
  102. wait(0.05)
  103. Frame.BackgroundTransparency = 0.2
  104. TextLabel.TextTransparency = 0.2
  105. wait(0.05)
  106. Frame.BackgroundTransparency = 0.3
  107. TextLabel.TextTransparency = 0.3
  108. wait(0.05)
  109. Frame.BackgroundTransparency = 0.4
  110. TextLabel.TextTransparency = 0.4
  111. wait(0.05)
  112. Frame.BackgroundTransparency = 0.5
  113. TextLabel.TextTransparency = 0.5
  114. wait(0.05)
  115. Frame.BackgroundTransparency = 0.6
  116. TextLabel.TextTransparency = 0.6
  117. wait(0.05)
  118. Frame.BackgroundTransparency = 0.7
  119. TextLabel.TextTransparency = 0.7
  120. wait(0.05)
  121. Frame.BackgroundTransparency = 0.7
  122. TextLabel.TextTransparency = 0.7
  123. wait(0.05)
  124. Frame.BackgroundTransparency = 0.8
  125. TextLabel.TextTransparency = 0.8
  126. wait(0.05)
  127. Frame.BackgroundTransparency = 0.9
  128. TextLabel.TextTransparency = 0.9
  129. wait(0.05)
  130. ScreenGui:Destroy()
  131.  
  132. --VVV all cmds down here if you wish to edit them feel free to do so VVV
  133.  
  134. plr.Chatted:connect(function(msg)
  135. if msg:lower():sub(1,10) == "/e toggle:" then
  136. local ins = msg:lower():sub(11)
  137. local vehicle = getvehicle()
  138. if vehicle then
  139. if ins == "infnitro" then
  140. if inftoggle == true then
  141. inftoggle = false
  142. hint("(-)Disabled Infinite Nitro!(-)")
  143. else
  144. inftoggle = true
  145. hint("(+)Enabled Infinite Nitro!(+)")
  146. end
  147. end
  148. else
  149. hint("(-)You do not have a vehicle spawned!(-)")
  150. end
  151. elseif msg:lower():sub(1,14) == "/e nitrospeed:" then
  152. local num = msg:sub(15)
  153. local vehicle = getvehicle()
  154. if vehicle then
  155. vehicle.Handling.Nitro.NitroSpeed.Value = tonumber(num)
  156. else
  157. hint("(-)You do not have a vehicle spawned!(-)")
  158. end
  159. elseif msg:lower():sub(1,14) == "/e nitroforce:" then
  160. local num = msg:sub(1,15)
  161. local vehicle = getvehicle()
  162. if vehicle then
  163. vehicle.Handling.Nitro.NitroForce.Value = tonumber(num)
  164. else
  165. hint("(-)You do not have a vehicle spawned!(-)")
  166. end
  167. elseif msg:lower():sub(1,12) == "/e maxspeed:" then
  168. local num = msg:sub(13)
  169. local vehicle = getvehicle()
  170. if vehicle then
  171. vehicle.Handling.MaxSpeed.Value = tonumber(num)
  172. else
  173. hint("(-)You do not have a vehicle spawned!(-)")
  174. end
  175. elseif msg:lower():sub(1,10) == "/e torque:" then
  176. local num = msg:sub(11)
  177. local vehicle = getvehicle()
  178. if vehicle then
  179. vehicle.Handling.Torque.Value = tonumber(num)
  180. else
  181. hint("(-)You do not have a vehicle spawned!(-)")
  182. end
  183. elseif msg:lower():sub(1,12) == "/e friction:" then
  184. local num = msg:sub(13)
  185. local vehicle = getvehicle()
  186. if vehicle then
  187. vehicle.Handling.FrictionOffroad.Value = tonumber(num)
  188. vehicle.Handling.FrictionRoad.Value = tonumber(num)
  189. else
  190. hint("(-)You do not have a vehicle spawned!(-)")
  191. end
  192. elseif msg:lower():sub(1,13) == "/e racingmode" then
  193. local vehicle = getvehicle()
  194. if vehicle then
  195. han = vehicle.Handling
  196. han.MaxSpeed.Value = 10000
  197. han.Torque.Value = 20000
  198. han.SteeringRadiusConstant.Value = 12000
  199. han.FrictionOffroad.Value = 200
  200. han.FrictionRoad.Value = 200
  201. han.Nitro.NitroSpeed.Value = 300
  202. han.Nitro.NitroForce.Value = 8000
  203. inftoggle = true
  204. else
  205. hint("(-)You do not have a vehicle spawned!(-)")
  206. end
  207. end
  208. end)
  209. wait(0.5)
  210. while inftoggle == true do
  211. wait(0.02)
  212. local vehicle = getvehicle()
  213. if vehicle then
  214. vehicle.Handling.Nitro.NitroAmount.Value = 250
  215. end
  216. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement