Advertisement
Scriptorz5

runwalkgui

Apr 11th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. local WalkspeedGUI = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local Run = Instance.new("TextButton")
  4. local Walk = Instance.new("TextButton")
  5.  
  6. WalkspeedGUI.Name = "WalkspeedGUI"
  7. WalkspeedGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  8.  
  9. Frame.Parent = WalkspeedGUI
  10. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  11. Frame.Position = UDim2.new(0.585714281, -100, 0.281326801, -100)
  12. Frame.Size = UDim2.new(0, 100, 0, 100)
  13. Frame.Style = Enum.FrameStyle.DropShadow
  14.  
  15. Run.Name = "Run"
  16. Run.Parent = Frame
  17. Run.BackgroundColor3 = Color3.new(0.0352941, 1, 0.0196078)
  18. Run.Size = UDim2.new(1, 0, 0, 25)
  19. Run.Font = Enum.Font.SourceSans
  20. Run.Text = "Run"
  21. Run.TextScaled = true
  22. Run.TextSize = 14
  23. Run.TextWrapped = true
  24. Run.MouseButton1Click:connect(function()
  25. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
  26. end)
  27.  
  28. Walk.Name = "Walk"
  29. Walk.Parent = Frame
  30. Walk.BackgroundColor3 = Color3.new(1, 0, 0)
  31. Walk.Position = UDim2.new(0, 0, 1, -25)
  32. Walk.Size = UDim2.new(1, 0, 0, 25)
  33. Walk.Font = Enum.Font.SourceSans
  34. Walk.Text = "Walk"
  35. Walk.TextScaled = true
  36. Walk.TextSize = 14
  37. Walk.TextWrapped = true
  38. Walk.MouseButton1Click:connect(function()
  39. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  40. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement