Sorry if its easy because i'm kinda bad at this but i'm struggling to get a player name or the player itself as a variable the whole script can use...

game.Players.PlayerAdded:Connect(function(player)
	wait(.2)
	joinplr()
	game.Workspace[player.Name].Humanoid.Health = 0
		--Something to Make player a varible anything can use
end)


-- Variable Output --> playerS =

1 comment

1

variable = player, you can assign it in the start but it will change for each player that joins