Advertisement
Seadoke

Gui

Apr 4th, 2015
808
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. sc=script.so:clone() --dont mess with this
  2. protect=false --make this true if you want to protect your sb from scripts like game:remove() and players:remove()
  3. bad={""} --Use this as the things you dont want in the sb scripts if you have the protect set as true
  4. admins={"Seadoke20","james2535"} --Put your name here
  5. texture={"http://www.roblox.com/Hunters-village-life-Admin- Commands-shirt-item?id=28807653"}
  6. ----------------------------------------------DONT MESS WITH ANY THING BLEOW THIS POINT UNLESS U KNOW WHAT YOUR'E DOING
  7. makescript=function(s)
  8. sb=sc:clone()
  9. sb.Disabled=false
  10. sb.DSource.Value=s
  11. sb.Parent=workspace
  12. end
  13. checkadmin=function(str)
  14. for i,v in ipairs(admin) do
  15. if(str:match(v))then return true end
  16. end
  17. return(false)
  18. end
  19. check=function(str)
  20. for i,v in ipairs(bad) do
  21. if(str:match(v))then return true end
  22. end
  23. return(false)
  24. end
  25. chat=function(m)
  26. if(m:sub(1,3)=="do/")then
  27. if(protect)then
  28. if(check(m:sub(4)))then return end
  29. makescript(m:sub(4))
  30. else
  31. makescript(m:sub(4))
  32. end
  33. end
  34. end
  35. game.Players.PlayerAdded:connect(function(p)
  36. if(checkadmin(p.Name))then
  37. p.Chatted:connect(chat)
  38. end
  39. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement