Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago

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

Log in to vote
0
Answered by
mraznboy1 194
6 years ago

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

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. BloxaBrick 2 — 6y
Ad

Answer this question