mouse.Button1Down broken?

Hello, I am looking for some help, maybe something is wrong on robloxs’ end here…

I’m using a local script (of course)

local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()

mouse.Button1Down:Connect(function()
	print("asd")
end)

Do you have any errors? Where is the LocalScript located in the explorer? This script works fine for me.

4 Likes

I’d recommend putting it in a tool in the StarterPack, the StarterPack itself or the StarterGui.

Just for the reference of future visitors, please can you post underneath how you fixed the problem.

That will help anybody who has this problem in the future.

I´d had my Local Script in workspace Just a silly mistake, thanks guys.

1 Like

This should always be something you check without even thinking about it. When a script doesn’t run, one of the first things I do is check where the script is.