i really dont know why this isnt working, when I try to pass the vector the server just receive my player instance
LocalScript:
ServerScript:
Output:
is there any way to pass the vector value from the client to the server?
i really dont know why this isnt working, when I try to pass the vector the server just receive my player instance
LocalScript:
ServerScript:
Output:
is there any way to pass the vector value from the client to the server?
OnServerEvent always has the player who fired it as the first parameter. Simply change
OnServerEvent:Connect(function(mp)
To
OnServerEvent:Connect(function(plr, mp)
You dont have to use “plr” if you dont want to, its just how the system works.
(its also why its printing your username instead of a position)
omg bro, im so dumb, i forgot that XDDDDDD, Thanks you very much my friend
No problem! Glad i could help!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.