I want a script where I can target all players that join and do damage to them over time. To hopefully help a little more with what I'm looking for, I want the damage to be small so that when players join they have to explore the map and find medkits and supplies to keep them alive otherwise they die. I'm fairly new a scripting and all the tutorials I found were for blocks damaging the player. Any help on this would be great!
COMMUNITY QUESTION
How do I target all players?
1 answer
try this
game.Player.PlayerAdded:Connect(function()
while wait(1) do
print("This is not a request website")
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
You cannot look up what you want. Nothing is specific, that's why we learn to code ourselves so that we can bring our unique ideas to life. Instead, you'll have to piece up what you want and add it together; search "How to detect when a player joins the game" and then search "How to damage the Player".