Why can't I properly send these variables?


Everytime I fire an event with these variables, it changes each variable to a vector3 rather than keeping the player as a string variable, etc.
image
image
It just doesn’t make sense. What’s a working way to do this?

Nevermind I figured it out by only having the two variables on the server side only instead of on the event firing

2 Likes

I know you’ve found a solution, but I wanted to tell you why this happened anyway. Basically, the first variable of a RemoteEvent is ALWAYS the player, even if the player was not sent. For example, if you expected ClickPosition first and so put it like (ClickPosition, Player, OtherVar), ClickPosition would actually be the player, and Player would be the ClickPosition. The passed player, although unnecessary, would be OtherVar.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.