tubers93zxzxz

Speed Script

Feb 12th, 2023
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.11 KB | None | 0 0
  1. -- Made by Gui to Lua
  2. -- Version: 3.2
  3. -- By Farrel#2469
  4.  
  5. -- Instances:
  6.  
  7. local Speedcheats = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local TextLabel = Instance.new("TextLabel")
  10. local TextLabel_2 = Instance.new("TextLabel")
  11. local TextLabel_3 = Instance.new("TextLabel")
  12. local Needed = Instance.new("Folder")
  13. local TextButton = Instance.new("TextButton")
  14. local TextBox = Instance.new("TextBox")
  15. local TextButton_2 = Instance.new("TextButton")
  16. local TextBox_2 = Instance.new("TextBox")
  17. local Speed = Instance.new("TextLabel")
  18. local TextLabel_4 = Instance.new("TextLabel")
  19. local Value1 = Instance.new("NumberValue")
  20. local Value2 = Instance.new("NumberValue")
  21.  
  22. --Properties:
  23.  
  24. Speedcheats.Name = "Speed cheats"
  25. Speedcheats.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  26. Speedcheats.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  27.  
  28. Frame.Parent = Speedcheats
  29. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  30. Frame.Position = UDim2.new(0.0355781242, 0, 0.0477137007, 0)
  31. Frame.Size = UDim2.new(0, 387, 0, 192)
  32.  
  33. TextLabel.Parent = Frame
  34. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  35. TextLabel.Position = UDim2.new(0.0368487909, 0, 0.163021863, 0)
  36. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  37. TextLabel.Font = Enum.Font.SourceSans
  38. TextLabel.Text = "Speed Editor"
  39. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  40. TextLabel.TextScaled = true
  41. TextLabel.TextSize = 14.000
  42. TextLabel.TextWrapped = true
  43.  
  44. TextLabel_2.Parent = Frame
  45. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  46. TextLabel_2.Position = UDim2.new(0.0355555564, 0, 0.473958343, 0)
  47. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  48. TextLabel_2.Font = Enum.Font.SourceSans
  49. TextLabel_2.Text = "Press E for more speed"
  50. TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  51. TextLabel_2.TextScaled = true
  52. TextLabel_2.TextSize = 14.000
  53. TextLabel_2.TextWrapped = true
  54.  
  55. TextLabel_3.Parent = Frame
  56. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  57. TextLabel_3.Position = UDim2.new(0.0355555564, 0, 0.739583313, 0)
  58. TextLabel_3.Size = UDim2.new(0, 200, 0, 43)
  59. TextLabel_3.Font = Enum.Font.SourceSans
  60. TextLabel_3.Text = "Press Q for less speed"
  61. TextLabel_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  62. TextLabel_3.TextScaled = true
  63. TextLabel_3.TextSize = 14.000
  64. TextLabel_3.TextWrapped = true
  65.  
  66. Needed.Name = "Needed"
  67. Needed.Parent = Frame
  68.  
  69. TextButton.Name = "+"
  70. TextButton.Parent = Frame
  71. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  72. TextButton.Position = UDim2.new(0.620155096, 0, 0.317708343, 0)
  73. TextButton.Size = UDim2.new(0, 125, 0, 30)
  74. TextButton.Font = Enum.Font.SourceSans
  75. TextButton.Text = "Set E Speed"
  76. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  77. TextButton.TextScaled = true
  78. TextButton.TextSize = 14.000
  79. TextButton.TextWrapped = true
  80.  
  81. TextBox.Parent = TextButton
  82. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  83. TextBox.Position = UDim2.new(0, 0, -1.00520837, 0)
  84. TextBox.Size = UDim2.new(0, 125, 0, 30)
  85. TextBox.ClearTextOnFocus = false
  86. TextBox.Font = Enum.Font.SourceSans
  87. TextBox.PlaceholderText = "Value"
  88. TextBox.ShowNativeInput = false
  89. TextBox.Text = ""
  90. TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
  91. TextBox.TextScaled = true
  92. TextBox.TextSize = 14.000
  93. TextBox.TextWrapped = true
  94.  
  95. TextButton_2.Name = "-"
  96. TextButton_2.Parent = Frame
  97. TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  98. TextButton_2.Position = UDim2.new(0.620155096, 0, 0.734375, 0)
  99. TextButton_2.Size = UDim2.new(0, 125, 0, 30)
  100. TextButton_2.Font = Enum.Font.SourceSans
  101. TextButton_2.Text = "Set Q Speed"
  102. TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  103. TextButton_2.TextScaled = true
  104. TextButton_2.TextSize = 14.000
  105. TextButton_2.TextWrapped = true
  106.  
  107. TextBox_2.Parent = TextButton_2
  108. TextBox_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  109. TextBox_2.Position = UDim2.new(0, 0, -1, 0)
  110. TextBox_2.Size = UDim2.new(0, 125, 0, 29)
  111. TextBox_2.ClearTextOnFocus = false
  112. TextBox_2.Font = Enum.Font.SourceSans
  113. TextBox_2.PlaceholderText = "Value"
  114. TextBox_2.ShowNativeInput = false
  115. TextBox_2.Text = ""
  116. TextBox_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  117. TextBox_2.TextScaled = true
  118. TextBox_2.TextSize = 14.000
  119. TextBox_2.TextWrapped = true
  120.  
  121. Speed.Name = "Speed"
  122. Speed.Parent = Frame
  123. Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  124. Speed.Position = UDim2.new(1, 0, 0, 0)
  125. Speed.Size = UDim2.new(0, 152, 0, 50)
  126. Speed.Font = Enum.Font.SourceSans
  127. Speed.Text = "Speed"
  128. Speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  129. Speed.TextScaled = true
  130. Speed.TextSize = 14.000
  131. Speed.TextWrapped = true
  132.  
  133. TextLabel_4.Parent = Frame
  134. TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  135. TextLabel_4.Position = UDim2.new(0, 0, 1, 0)
  136. TextLabel_4.Size = UDim2.new(0, 387, 0, 37)
  137. TextLabel_4.Font = Enum.Font.SourceSans
  138. TextLabel_4.Text = "Press L to Toogle Speed Editor"
  139. TextLabel_4.TextColor3 = Color3.fromRGB(0, 0, 0)
  140. TextLabel_4.TextScaled = true
  141. TextLabel_4.TextSize = 14.000
  142. TextLabel_4.TextWrapped = true
  143.  
  144. Value1.Parent = Needed
  145. Value1.Name = "Value +"
  146. Value1.Value = "1"
  147.  
  148. Value2.Parent = Needed
  149. Value2.Name = "Value -"
  150. Value2.Value = "1"
  151.  
  152. -- Scripts:
  153.  
  154. local function UAPPNV_fake_script() -- Needed.LocalScript
  155. local script = Instance.new('LocalScript', Needed)
  156.  
  157. game:GetService("UserInputService").InputBegan:Connect(function(inp, gameProcessed)
  158. local plr = game.Players.LocalPlayer
  159. if inp.KeyCode == Enum.KeyCode.E then
  160. plr.Character.Humanoid.WalkSpeed = plr.Character.Humanoid.WalkSpeed + script.Parent.Parent.Needed["Value +"].Value
  161. end
  162. end)
  163. game:GetService("UserInputService").InputBegan:Connect(function(inp, gameProcessed)
  164. local plr = game.Players.LocalPlayer
  165. if inp.KeyCode == Enum.KeyCode.Q then
  166. plr.Character.Humanoid.WalkSpeed = plr.Character.Humanoid.WalkSpeed - script.Parent.Parent.Needed["Value -"].Value
  167. end
  168. end)
  169. end
  170. coroutine.wrap(UAPPNV_fake_script)()
  171. local function TTUGO_fake_script() -- TextButton.LocalScript
  172. local script = Instance.new('LocalScript', TextButton)
  173.  
  174. script.Parent.MouseButton1Click:Connect(function()
  175. script.Parent.Parent.Needed["Value +"].Value = script.Parent.TextBox.Text
  176. end)
  177. end
  178. coroutine.wrap(TTUGO_fake_script)()
  179. local function DOJLZOF_fake_script() -- TextButton_2.LocalScript
  180. local script = Instance.new('LocalScript', TextButton_2)
  181.  
  182. script.Parent.MouseButton1Click:Connect(function()
  183. script.Parent.Parent.Needed["Value -"].Value = script.Parent.TextBox.Text
  184. end)
  185. end
  186. coroutine.wrap(DOJLZOF_fake_script)()
  187. local function IZSF_fake_script() -- Speed.LocalScript
  188. local script = Instance.new('LocalScript', Speed)
  189.  
  190. wait(1)
  191. while true do
  192. script.Parent.Text = "Speed : "..game.Players.LocalPlayer.Character.Humanoid.WalkSpeed
  193. wait(0.1)
  194. end
  195. end
  196. coroutine.wrap(IZSF_fake_script)()
  197. local function MTSUL_fake_script() -- TextLabel_4.LocalScript
  198. local script = Instance.new('LocalScript', TextLabel_4)
  199.  
  200. game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessed)
  201. if input.KeyCode == Enum.KeyCode.L then
  202. if script.Parent.Parent.Visible == true then
  203. script.Parent.Parent.Visible = false
  204. else
  205. script.Parent.Parent.Visible = true
  206. end
  207. end
  208. end)
  209. end
  210. coroutine.wrap(MTSUL_fake_script)()
Add Comment
Please, Sign In to add comment