Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local WalkspeedGUI = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Run = Instance.new("TextButton")
- local Walk = Instance.new("TextButton")
- WalkspeedGUI.Name = "WalkspeedGUI"
- WalkspeedGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = WalkspeedGUI
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0.585714281, -100, 0.281326801, -100)
- Frame.Size = UDim2.new(0, 100, 0, 100)
- Frame.Style = Enum.FrameStyle.DropShadow
- Run.Name = "Run"
- Run.Parent = Frame
- Run.BackgroundColor3 = Color3.new(0.0352941, 1, 0.0196078)
- Run.Size = UDim2.new(1, 0, 0, 25)
- Run.Font = Enum.Font.SourceSans
- Run.Text = "Run"
- Run.TextScaled = true
- Run.TextSize = 14
- Run.TextWrapped = true
- Run.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
- end)
- Walk.Name = "Walk"
- Walk.Parent = Frame
- Walk.BackgroundColor3 = Color3.new(1, 0, 0)
- Walk.Position = UDim2.new(0, 0, 1, -25)
- Walk.Size = UDim2.new(1, 0, 0, 25)
- Walk.Font = Enum.Font.SourceSans
- Walk.Text = "Walk"
- Walk.TextScaled = true
- Walk.TextSize = 14
- Walk.TextWrapped = true
- Walk.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement