3

# Who clicked the click detector?

gdunn2 54
8 years ago

I was just wondering if there was a way to find out who clicked on the click detector?

2
local function onMouseClick(player)

If you include player in the mouse click function, roblox automatically fills that in with the person (located in players) who clicked it.