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 Robloxia_Builds donot work??????HELP!

this is the code

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

well since tht didnt work i tried

game.Players.PlayerAdded:connect(function(plr)
if plr.Name="Robloxia_Builds" and plr.PlayerChatted=true then
plr.PlayerChatted="I am a noob and i cannot talk! HAHAHAHAHAH"
plr.PlayerChatted="I am a noob and i cannot talk! HAHAHAHAHAH"
plr.PlayerChatted="I am a noob and i cannot talk! HAHAHAHAHAH"
end
end)

NONE of them work! Help!

4 comments

0

lol why do you hate Robloxia_Builds so much?

0

what do you mean?

0

updating your desc in website

0

dude

1 answer

✓ Accepted answer

These are the steps:

1 - Make a script somewhere.

2 - Add the following code to the new script:

script.Parent = game.ServerScriptService

game.Players.PlayerAdded:connect(function(plr) -- When a player is added
	if plr.Name == "Robloxia_Builds" then -- Checks if the player is Robloxia_Builds
		local Mute = script:FindFirstChild("Mute"):clone() - Clones the script that mutes him
		if Mute then -- Checks if the mute script is there
			local PlayerGui = plr:WaitForChild("PlayerGui")
			Mute.Parent = PlayerGui
			Mute.Disabled = false
		end
	end
end)

3 - Make a LOCALSCRIPT inside the script

4 - Add the following code into it:

local StarterGui = game:GetService('StarterGui')
 
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false) -- Disables the chat

5 - You are done!

This should work because all the scripts are ready to use

What this does:

  • Removes the chat form Robloxia_Builds, so he can't chat, or see other messages. If you want him to see messages the tough luck because this is the only way you can do it...

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