OK lets say I create an object for the player when they join, this object has some fun methods and then we have a part in the world with a click detector. That click detector will want to fire a method inside the player object.
I know the player object has a unique identity as a table, but how do i send the function from the click detector to that specific players object?
Sorry if this is too general, its a general concept I’m trying to wrap my head around in OOP in Roblox. When we create objects, they seem to be just floating around and while I have been able to create interesting behaviors inside the object, I am not sure how i can get objects to talk to each other.