Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How do I make a script that crashes all users when they join the game except me?

Asked by 6 years ago

Something evil that destroys other players.

2
I believe crashing other players is agasint roblox ToS. Amiaa16 3227 — 6y
0
definitely. There is no point in the question.  Zafirua 1348 — 6y
0
If you don't want people in your game just make it private. CodyDev 70 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

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

0
You know I'm not that dumb to kick myself. cooldude19774 -54 — 6y
0
Wat? It should work fine... ~= should target anyone who's player object is NOT "cooldude19774" sweetkid01 176 — 6y
Ad

Answer this question