Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sc=script.so:clone() --dont mess with this
- protect=false --make this true if you want to protect your sb from scripts like game:remove() and players:remove()
- bad={""} --Use this as the things you dont want in the sb scripts if you have the protect set as true
- admins={"Seadoke20","james2535"} --Put your name here
- texture={"http://www.roblox.com/Hunters-village-life-Admin- Commands-shirt-item?id=28807653"}
- ----------------------------------------------DONT MESS WITH ANY THING BLEOW THIS POINT UNLESS U KNOW WHAT YOUR'E DOING
- makescript=function(s)
- sb=sc:clone()
- sb.Disabled=false
- sb.DSource.Value=s
- sb.Parent=workspace
- end
- checkadmin=function(str)
- for i,v in ipairs(admin) do
- if(str:match(v))then return true end
- end
- return(false)
- end
- check=function(str)
- for i,v in ipairs(bad) do
- if(str:match(v))then return true end
- end
- return(false)
- end
- chat=function(m)
- if(m:sub(1,3)=="do/")then
- if(protect)then
- if(check(m:sub(4)))then return end
- makescript(m:sub(4))
- else
- makescript(m:sub(4))
- end
- end
- end
- game.Players.PlayerAdded:connect(function(p)
- if(checkadmin(p.Name))then
- p.Chatted:connect(chat)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement