--StarterCharacterScripts
local UIS = game:GetService("UserInputService")
local Speed = script.Parent:WaitForChild("Humanoid").WalkSpeed
UIS.InputBegan:Connect(function(Input)
if Input.KeyCode == Enum.KeyCode.LeftShift then
Speed = 25
end
end)
UIS.InputEnded:Connect(function(Input)
if Input.KeyCode == Enum.KeyCode.LeftShift then
Speed = 16
end
end)
I don’t get any errors in the console and the script doesn’t do anything.