Game Guides > Game FAQ >  

What is the script for admin on roblox script builder

What is the script for admin on roblox script builder
--Version 2 1.02 I fixed some problems caused by the updates.
adminlist = {"[OBCTELAMONFIGHTING]"}--Add in the names of the people you want to be able to use the command script here.
--Please keep my name in there. ;)
bannedlist = { ""}--If you want someone not to be able to enter your place, put thier name in here.
texture = "http://www.roblox.com/My/Item.aspx?ID=46526931"--If you want someone wearing a certain t-shirt to be an admin, put the t-shirt's texture in here.


--[[
I update this command script alot, so if you want to get the newest version of the script, go to the link every once in a while.


If theres anything you think this command script needs, just message me (Person299) and i might put it in. :)
And also, if you find any bugs, report them to me.


The commands are,


commands
Shows a list of all the commands


fire/Person299
makes a fire on Person299 {MADE BY clone0136}


unfire/Person299
removes fire from Person299 {MADE BY clone0136}


fix
If the command script breaks for you, say this to fix it


kill/Person299
kills Person299


loopkill/Person299
Repeatedly kills Person299 when he respawns


unloopkill/Person299
Undos loopkill/


blackhole/Person299
makes a black hole were Person299 was and last 40 then gets removed {MADE BY clone0136}


nuke/Person299
nukes Person299 and anyone standing to close {MADE BY clone0136}


cleanernuke/Persone299
sets off a cleaner nuke were person299 is and last 100 {MADE BY clone0136}


sunnuke/Person299
makes a GS.2 AKA sun nuke {MADE BY clone0136}


stopsunnuke
stops the sun nuke {MADE BY clone0136}


heal/Person299
Returns Person299 to full health


damage/Person299/50
Makes Person299's character take 50 damage


health/Person299/999999
Makes Person299's MaxHealth and Health 999999


kick/Person299
Removes Person299 from the game, cannot be used by admin/ed people


ban/Person299
Removes Person299 from the game and keeps him from reenterring, cannot be used by admin/ed people


bannedlist
Shows a list of everyone banned


unban/Person299
Unbans Person299


explode/Person299
Explodes Person299's character


rocket/Person299
Straps a rocket onto Person299's back


removetools/Person299
Removes all of Person299's tools.


givetools/Person299
Gives Person299 all the tools in StarterPack


givebtools/Person299
Gives Person299 the building tools


sit/Person299
Makes Person299 sit


part/4/1/2
Makes a part with the given dimensions appear over your character


respawn/Person299
Makes Person299's character respawn


jail/Person299
Makes a lil jail cell around Person299's character


unjail/Person299
Undos jail/


punish/Person299
Puts Person299's character in game.Lighting


unpunish/Person299
Undos punish/


merge/Person299/Farvei
Makes Person299 control Farvei's character


teleport/Person299/nccvoyager
Teleports Person299's character to nccvoyager's character


control/Person299
Makes you control Person299's character


change/Person299/Money/999999
Makes the Money value in Person299's leaderstats 999999


tools
Gives you a list of all the tools available to be give/en, the tool must be in game.Lighting


give/Person299/Tool
Give's Person299 a tool, the toolname can be abbreviated


time/15.30
Makes game.Lighting.TimeOfDay 15:30


ambient/255/0/0
Makes game.Lighting.Ambient 255,0,0


maxplayers/20
Makes game.Players.MaxPlayers 20


nograv/Person299
Makes Person299 almost weightless


antigrav/Person299
Gives Person299 antigravity properties


grav/Person299
Returns Person299's gravity to normal


highgrav/Person299
Makes Person299 heavier


setgrav/Person299/-196
Sets Person299's gravity


trip/Person299
Makes Person299's character trip


walkspeed/Person299/99
Makes Person299's character's humanoid's WalkSpeed 99, 16 is average


invisible/Person299
Makes Person299's character invisible


visible/Person299
Undos invisible/


freeze/Person299
Makes Person299's character unable to move


thaw/Person299
Undos freeze/


unfreeze/Person299
Undos freeze/ {MADE BY clone0136}


unlock/Person299
Makes Person299's character unlocked


lock/Person299
Makes Person299's character locked


ff/Person299
Gives Person299's character a ForceField


unff/Person299
Undos ff/


sparkles/Person299
Makes Person299's character sparkly


unsparkles/Person299
Undos sparkles/


shield/Person299
Makes a destructive shield thingy appear around Person299


unshield/Person299
Undos shield/


god/Person299
Makes Person299 godish


ungod/Person299
Undos god/


ufo/Person/299
pulls person299 into a ufo and kills him {MADE BY clone0136}


aliens/Person299
summons 4 aliens were Person299 was to kill every one {MADE BY clone0136}


zombify/Person299
Makes Person299 a infecting zombie


admin/Person299
Makes Person299 able to use the command script, cannot be used by admin/ed people


adminlist
Shows a list of everyone in the adminlist


unadmin/Person299
Undos admin/, cannot be used by admin/ed people


shutdown
Shuts the server down, cannot be used by admin/ed people


m/Fallout 2 is one of the best games ever made
Makes a message appear on the screen saying "Fallout 2 is one of the best games ever made" for 2 seconds


h/i like pie
Makes a hint appear on the screen saying "i like pie" for 2 seconds


c/ game.Workspace:remove()
Makes a script which source is whats after c/


clear
Removes all scripts created by c/ and removes all jails.


Capitalisation doesnt matter, and name input can be abbreviated.
Just about any name input can be replaced with multiple names seperated by ","s, me, all, others, guests, admins, nonadmins, random, or team teamname.


--]]


namelist = { }
variablelist = { }
flist = { }


local source = script:FindFirstChild("source")
if source ~= nil then
sbbu = script.source:clone()
sbbu.Disabled = false
else
print("source doesnt exist, your command script may malfunction")
end




tools = Instance.new("Model")
c = game.Lighting:GetChildren()
for i=1,#c do
if c[i].className texture then
local tfv = ack.Chatted:connect(function(msg) oc(msg,ack) end)
table.insert(namelist,ack.Name)
table.insert(variablelist,tfv)
local tfv = ack.Chatted:connect(function(msg) foc(msg,ack) end)
table.insert(flist,tfv)
text("You're an admin.",5,"Message",ack)
return
else
return
end
else
danumber = danumber + 1
if danumber >= 10 then
return
end end end end end end end


game.Players.ChildAdded:connect(oe)


c = game.Players:GetChildren()
for i=1,#c do
oe(c[i])
end


--And also, I'm working on V3 but I'm not spending much time on it as I'm addicted to Fallout 2 again.