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:
script.Parent.MouseButton1Click:Connect(function()
game.ServerScriptService.StarterEvents.Player:FireServer()
end)
And the following script inside of ServerScriptStorage:
script.Parent.OnServerEvent:Connect(function(player)
if player.Name == "xTriton" then
print'cool'
end
end)
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.)

1 comment
Well no, ahhh I'm joking the player is always the first parameter no matter what so the answer is yes