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?
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?
Just curious as to why you would require that? If you need to, you can simply pass it as an argument in the event.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
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.
http://www.programmingforbeginnersbook.com/blog/expand_your_programming_vocabulary/