Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I target all players?

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!

1 comment

0

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".

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.