So i was making an Sprint script by holding shift and i got this problem
local UIS = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Keyboard.Shift then
print("SHIFTttt")
end
end)
I has the error Shift is not valid member
How did i do wrong? Tell me please
Useless i was trying with right - left shift thingy

1 comment
Thanks!