Is it possible to get a player from a remote event?
Greetings fellow humans,
I am here to ask if its possible to get a player from a remote event. (which you can tell from the title)
I have put the following localscript inside of a text button:
1 | script.Parent.MouseButton 1 Click:Connect( function () |
2 | game.ServerScriptService.StarterEvents.Player:FireServer() |
And the following script inside of ServerScriptStorage:
1 | script.Parent.OnServerEvent:Connect( function (player) |
2 | if player.Name = = "xTriton" then |
Can a player pass through a parameter using remote events or do i need a remote function for that?
(in case your wondering i started using remote events yesterday so cut me some slack.)