I made a script that makes you sprint, it doesn't work well but it is good enough. The only problem is that it only works in the studio. It is in the starter Gui
Script is there
p = game.Players.LocalPlayer
char = Player.Character
Torso = Char.Torso
Mouse = Player:GetMouse()
function toSprint(key)
key = key:lower()
if key == "v" then
char.Humanoid.WalkSpeed = 50
else
char.Humanoid.WalkSpeed = 16
end
end
Mouse.KeyDown:connect(toSprint)
I have no idea why it doesn't work? I am just learning how to do this so if someone could tell me why it doesn't work that would be great.
