I'm trying to get a script to make a textlabel appear on the screen if an 'apple' item is activated (if a player clicks the left button with the item in hand) script:
function eatsound ()
script.Parent.Handle.comendosound:Play()
wait(1.4)
--now i don't know what i could put here so that i know which player activated the item (apple) so that a text would appear on the screen.
script.Parent:Destroy()
end
script.Parent.Activated:connect(comer)
the real problem is that I have no idea how I would find out which player activated the item (apple) so that I could get to your PlayerGui and not another player. does anyone know how I can do this?

2 comments
I am confused
What are you trying to do with it?