for some reason everytime i fire a remote event and transfer a variable over to the server (EVEN IF ITS NOT PLAYER RELATED) it will always send a player variable instead of what i intended it to send over
The Player that activated a RemoteEvent is always implicitly sent through as the first argument. The only change you’d need to make on the server is create a new parameter to reference any additional values being sent through:
Theres no way to prevent this, its just part of the roblox API
The ability to change it would pose a huge security risk and be overcomplication of the API
You should just get in the habit of adding player as the first argument every time you use OnServerEvent or OnServerInvoke
the problem is, i cannot reference the first argument except as ‘self’, it silently shadows the real ‘self’, and displaces all other arguments’ indices by 1