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

How can I get the origin of the place a Remote Event fired from?

I don't want to use game.Workspace to get the directory I want, so is there a way to get the place of origin the Remote Event fired from?

Something like RemoteEventOrigin.Parent.Name or something of the sort?

1 answer

Just curious as to why you would require that? If you need to, you can simply pass it as an argument in the event.

2 comments

0

I'm trying to make a Text of a GUI change based on the part/model a mouse is hovering over. I can't retrieve the name of the item through localScript. Instead of trying to list every item there is, I would prefer to get the name directly. How would you pass it as an argument. I'm pretty new to scripting these things so I don't know that term yet.

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