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 mutes and bans Robloxia_Builds dont work? HELP!

my code is

game.Players.PlayerAdded:connect(function(plr)
if plr.Name="Robloxia_Builds" then
plr:mute and plr:kick
end
end)

1 answer

✓ Accepted answer

The mute thing does not exist on Roblox, and, what you are trying to do is useless as Robloxia_Builds is banned from the game, so he can't even join. Like there is no reason to mute him anyway because he can't join. Muting someone means he can't talk in chat, and, he can't join.

game.Players.PlayerAdded:connect(function(plr)
	if plr.Name="Robloxia_Builds" then
		plr:Kick("You are banned from the game, Robloxia_Builds")
	end
end)

2 comments

0

wait if i didnt want to kick him..and just want to mute him how will i be able to do tht

0

What do you mean? The script makes it so when Robloxia_Builds join, it kicks him, not being able to join.

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