my code is
game.Players.PlayerAdded:connect(function(plr)
if plr.Name="Robloxia_Builds" then
plr:mute and plr:kick
end
end)
my code is
game.Players.PlayerAdded:connect(function(plr)
if plr.Name="Robloxia_Builds" then
plr:mute and plr:kick
end
end)
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
wait if i didnt want to kick him..and just want to mute him how will i be able to do tht
What do you mean? The script makes it so when Robloxia_Builds join, it kicks him, not being able to join.