how do I find out which player ate an item (apple), that is, which player clicked with the left mouse button with that item in their hands. script:
function eatsound ()
script.Parent.Handle.comendosound:Play()
wait(1.4)
game.Players.LocalPLayer.--now i don't know what i could put here to find out which player activated the item (apple) and then blow it up
script.Parent:Destroy()
end
script.Parent.Activated:connect(eatsound)
what would i do to find out who was the player who ate the apple and so explode it?

2 comments
nice
you will try here, but what is the function of 'localplayer'?