local mouse = game:GetService('Players').LocalPlayer:GetMouse() local players = game:GetService("Players")

mouse.Button1Down:Connect(function() print("player pressed mouse down")

end)

3 comments

0

local script too

0

Make sure this local script is in StarterGui or StarterPlayerScripts or even possible StarterCharacterScripts

0

Thank you the script works now after this I never knew it had to be in StarterPlayerScripts