UIS.InputBegan:Connect(function(input, gameProcessedEvent) then if Input.KeyCode == Enum.KeyCode.LeftShift player.Character.Huamnoid.WalkSpeed = 250
(It gives me an error for then for some reason someone please help me.
UIS.InputBegan:Connect(function(input, gameProcessedEvent) then if Input.KeyCode == Enum.KeyCode.LeftShift player.Character.Huamnoid.WalkSpeed = 250
(It gives me an error for then for some reason someone please help me.
You forgot then next to the conditional statement. so it should look like like
if Input.KeyCode == Enum.KeyCode.LeftShift then
*your code here*
end
This discussion is preserved as it was. New answers, comments, and votes are closed.