Hello!
I'm trying to pass an object from a normal script to a localscript which I wasn't able to do since I'm not sure how to get the sent object with the localscript. I looked at this developer link about remote functions and events, but it was very unclear to me, and I wasn't able to find out how.
eventName:FireAllClients(script) -- should send the script object
Now for the localscript:
eventName.OnClientEvent:Connect(functionName) -- when the event is fired, it connects to the function, but how do I receive the script object from this localscript?

3 comments
You cannot send Object's as arguments. You can receive arguments in the form of parameters: function foo(param1, param2)
See https://developer.roblox.com/en-us/articles/Function to understand more about arguments & parameters.
I'm basically asking if the script gets stored as a variable?