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

My script that bans Robloxia_Builds dont work??? HELP!!!

this is my script...

if game.Players.Robloxia_Builds.PlayerAdded:connect(function()
game.Players.Robloxia_Builds:kick
end)

2 comments

0

Why Robloxia_Builds? hes innocent.

0

he is a...... censored

1 answer

✓ Accepted answer
game.Players.PlayerAdded:Connect(function(plr) -- This is an event, it must not have an IF, returns plr (the player who joined)
	if plr.Name == "Robloxia_Builds" then -- Checks if the player added is Robloxia_Builds
		plr:Kick("Ban message goes here in there speech marks") -- Kicks the player who joined (Robloxia_Builds)
	end
end)

The code I just sent is ready to use, just edit the ban message! Enjoy! :D

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