Hey, i was wondering why this wasnt working, its in a localscript in starterplayer if that matters
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.KeyCode.MouseLeftButton then
print(1)
end
end)
Hey, i was wondering why this wasnt working, its in a localscript in starterplayer if that matters
UIS.InputBegan:Connect(function(input)
if input.UserInputType == Enum.KeyCode.MouseLeftButton then
print(1)
end
end)
Its a weird thing with enums try using Enum.UserInputType.Mouse1 instead of thr keycode enum.