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 » Game Design
Home Search
 

Re: SB script

Previous Thread :: Next Thread 
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
18 Nov 2014 08:37 PM
this is only a snippet, but its not working..


local plr = game.Players[admin]
connectchat = function(P)
P.Chatted:connect(function(m)
print(m)
if m:sub(1,4) == 'ban/' then
ban(m:sub(5))
elseif m:sub(1,6) == 'unban/' then
setBan(m:sub(7) or find(m:sub(7)),false)
elseif m:lower():match('getbanned/') then
local ssss = {}
for i,v in pairs(scrubz) do
if not ssss[v] then
ssss[v] = true
end
end
for i,v in pairs(ssss) do
print(i..' Is banned, this is '..tostring(v))
end
end
end)
end
connectchat(plr)

the chatted commands are not firing, and yes, admin is defined..

and the chatted event isn't working at all..
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
18 Nov 2014 08:40 PM
NVM, FORGOT TO STOP OTHER SCRIPT FIRST, CLOSED
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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