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 make a script that crashes all users when they join the game except me?

Something evil that destroys other players.

3 comments

2

I believe crashing other players is agasint roblox ToS.

0

definitely. There is no point in the question. 

0

If you don't want people in your game just make it private.

1 answer

er

idk why you want to do this but ok

game:GetService("Players").PlayerAdded:Connect(function(player) -- when a player joins
	if player.Name ~= "cooldude19774" then -- if their name isn't "cooldude19774" then
		player:Kick("mwahaha") -- kick them with the message "mwahaha"
	end
end)

ur welcome

2 comments

0

You know I'm not that dumb to kick myself.

0

Wat? It should work fine... ~= should target anyone who's player object is NOT "cooldude19774"

This discussion is preserved as it was. New answers, comments, and votes are closed.