Yes. ...
refers to more arguments
well i dont need anymore so it just leaves me the same,
What exactly are you trying to pass to the client?
a localplayer value (sent to the server via a remote event and defined by remote.OnServerEvent:Connect(function(Player)
So you want to pass the LocalPlayer
to the server? That is redundant as the first parameter passed to the connection of .OnServerEvent
is the player that fired the remote
no i want to pass the player to the client (via server > client)
Is there a reason you can’t use LocalPlayer
?
because then won’t it not know who actually used the skill.
rundown:
i want to pass player to client
i cant use local player because if i do then how will it know if the person used the skill or if its just a person walking around. and how will it even know the right person? (i think)
Not sure what you are saying. All clients get a copy of the local script, so Players.LocalPlayer
will always refer to the correct player on each client (themselves).
So you want to have players use a “skill” and tell the server about it. Then the server will fire other clients with the name of the player that used that skill?
yes but incapaz solved it i think…