generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Can you please help me fix this? (New Thread)

Previous Thread :: Next Thread 
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
31 Dec 2013 07:51 PM
print("L0cky2013's mute script loaded")
admins = {"l0cky2013"}
function check(player)
for i=1, #admins do
if string.lower(player.Name)==string.lower(admins[i]) then
return true else return false
end
end
end

function findPlayer(p)
if game:service'Players':findFirstChild(string.lower(p)) then
return true
else
return false
end
end

game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(chat)
if check(p) then ----stops here
if string.lower(chat)==string.lower(string.sub(":mute ", 1, 6)) then
if string.lower(string.sub(chat, 7))== string.lower("all") then
for _, v in pairs(game.Players:GetPlayers()) do
if check(v)==false then
if a.PlayerGui:findFirstChild("Scripta") then
a.PlayerGui.Script:Destroy()
end
script.Script:clone().Parent = v.PlayerGui
end
end
elseif string.lower(string.sub(chat, 7)) ~= string.lower("all") then
for _, a in pairs(game:service'Players':GetPlayers()) do
if findPlayer(a) then
if a.PlayerGui:findFirstChild("Scripta") then
a.PlayerGui.Script:Destroy()
end
script.Script:clone().Parent = a.PlayerGui
end
end
end
end
elseif string.lower(chat)==string.lower(string.sub(":unmute ", 1, 8)) then
if string.lower(string.sub(chat, 9))== string.lower("all") then
for _, v in pairs(game.Players:GetPlayers()) do
if check(v)==false then
if a.PlayerGui:findFirstChild("Script") then
a.PlayerGui.Script:Destroy()
end
script.Scripta:clone().Parent = v.PlayerGui
end
end
elseif string.lower(string.sub(chat, 9)) ~= string.lower("all") then
for _, a in pairs(game:service'Players':GetPlayers()) do
if findPlayer(a) then
if a.PlayerGui:findFirstChild("Script") then
a.PlayerGui.Script:Destroy()
end
script.Scripta:clone().Parent = a.PlayerGui
end
end
end
end
end)
end)

Mute script. Clones localscripts into the player to unmute/mute the player. SetCoreGuiEnabled method. No output
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
31 Dec 2013 07:54 PM
answer mang
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
31 Dec 2013 07:56 PM
,.,
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
31 Dec 2013 11:55 PM
k
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Jan 2014 11:59 AM
,
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Jan 2014 04:20 PM
???
Report Abuse
VilleSlay is not online. VilleSlay
Joined: 14 May 2011
Total Posts: 1405
01 Jan 2014 04:33 PM
One does not simply post 65 lines of code and expect us to find the error.

~~> Ville <~~
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Jan 2014 04:35 PM
I told you where it stops -.-
Report Abuse
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
01 Jan 2014 04:37 PM
U making mute script way harder than it has to be.
Report Abuse
VilleSlay is not online. VilleSlay
Joined: 14 May 2011
Total Posts: 1405
01 Jan 2014 04:39 PM
@Dog Not sure if he made or copied Kohl's admin script.

~~> Ville <~~
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Jan 2014 05:03 PM
Ville, please get out I made all of this myself.
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Jan 2014 05:05 PM
Trying to make it look like its part of kohl's admin
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Jan 2014 06:36 PM
.,.
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
01 Jan 2014 06:44 PM
Can someone that knows please post?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image