Script thinks CFrame is an instance

Hello developers, for some reason when I send a remote event it gets confused with the character and the C0
image

image

for some reason when the remote event fires it prints the characters name as the characters name the strange thing is the C0 is also printed as the characters name
image
Could somebody help me with this?

the player is always the first parameter when you’re connecting a function to a OnServerEvent, the player is always automatically passed to the function, you might want to make a player parameter.

like this?
image

image

no, you do not need to send in the player as an argument, it is automatically done for you.

The first param of OnServerEvent is always player.

Oh thank you. I didn’t know it could do that

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