Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Detect click without click detector?

I was thinking of making a tank, but i need to see if the player clicked to trigger a function. The problem is, I can't use a click detector. Is there anyway for me to check if someone clicked somewhere in the Workspace without using a click detector? thanks

3 comments

0

mouse.Button1Down:Connect(function()?

0

was it that easy?

0

well, post that as an answer so i can accept that

1 answer

✓ Accepted answer

Just use mouse.MouseButton1Click:Connect(function() it's that simple. Or you can use local MouseTarget = game.Players.LocalPlayer:GetMouse().Target

This discussion is preserved as it was. New answers, comments, and votes are closed.