old scripting buddy left for college and im trying to learn more myself
we were working on a game
was trying to figure out how do i refer to u2 in my server script
In Roblox, the tuple type refers to a list of Lua variables. If a method accepts a tuple as an argument, that means it accepts multiple values. If a method returns a tuple, that means it returns multiple values.
can i get a example how i would refer to u2 in the server script?
got this from
I’m not sure what you mean. Are you not sure what u2 is? Why don’t you just print it out and see for yourself what is in the variable u2? It’s probably a table, or a number, a string, or something like that. It can be a lot of things, but not an instance (game object) because it’s a remote function and they can’t pass instances.
print("This is what u2 is: ", u2)
print("Invoking EquipTower with parameters u2...")
game.ReplicatedStorage.Events.EquipTower:InvokeServer(u2)