oskdfoskofksdofk

Untitled

Feb 13th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.07 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
  5. --/----------------------------------\--
  6. --|-> Loading functions............<-|--
  7. --\----------------------------------/--
  8.  
  9. -- Tables --
  10.  
  11. iOrb= {} --> Orb Data
  12. iBan= {} --> Ban table
  13. iCmd= {} --> Commands using players, booleans and numbers or nothing
  14. iStr= {} --> Commands using strings, booleans or nothing
  15. iVal= {} --> Commands using three value like Color3 or Vector3 or nothing
  16. iLkl= {} --> Loopkill table
  17. iGod= {} --> Godmode with event function table
  18. iAll= {} --> Group all the commands to print them
  19. iHlp= {} --> Group all the commands to print info
  20. iTls= {} --> Group all the gears and building tools'name to print them
  21. iGrb= {} --> Players grabbed by orb
  22.  
  23. -- Settings --
  24.  
  25. iOrb.Player=game:GetService("Players").LocalPlayer
  26. iOrb.CharacterClone=nil
  27. iOrb.PlayerName=iOrb.Player.Name
  28. iOrb.DefaultParent=game.Workspace
  29. iOrb.TempData=Instance.new("Model")
  30. iOrb.TempBackpack=Instance.new("Model",iOrb.TempData)
  31. iOrb.OrbParent=nil
  32. iOrb.Torso=nil
  33. iOrb.Version="2.1"
  34. iOrb.OrbName=iOrb.Player.Name.."'s [Pets] V"..iOrb.Version
  35. iOrb.Name=iOrb.OrbName
  36. iOrb.OrbedName=iOrb.Player.Name
  37. iOrb.StopCheck=false
  38. iOrb.runmsg=false
  39. iOrb.Clearing=false
  40. iOrb.Part=false
  41. iOrb.Model=nil
  42. iOrb.Orb=nil
  43. iOrb.OrbTorso=nil
  44. iOrb.Humanoid=nil
  45. iOrb.FireColorChange=true
  46. iOrb.Fire=nil
  47. iOrb.Char=nil
  48. iOrb.Pos=nil
  49. iOrb.inUse=false
  50. iOrb.Move=true
  51. iOrb.LoadAnimation=true
  52. iOrb.Unremovable=true
  53. iOrb.LocalOrb=false
  54. iOrb.Orbed=false
  55. iOrb.CreateOrb=true
  56. iOrb.Trail=true
  57. iOrb.TSize=.6
  58. iOrb.sCmdExecution=true
  59. iOrb.Respawning=false
  60. iOrb.FEnabled=true
  61. iOrb.FHeat=1
  62. iOrb.FSize=2
  63. iOrb.PDist=.35
  64. iOrb.PSize=.2
  65. iOrb.RotSpeed=8
  66. iOrb.RotCoef=iOrb.RotSpeed
  67. iOrb.ChatColor="Blue"
  68. iOrb.ColorChange=true
  69. iOrb.ColorChangeSpeed=15
  70. iOrb.ColorOne=0/235
  71. iOrb.ColorTwo=125/215
  72. iOrb.Size=Vector3.new(1,1,1)
  73. iOrb.BaseX=4.25
  74. iOrb.BaseY=0
  75. iOrb.BaseZ=0
  76. iOrb.LeviY=0
  77. iOrb.LeviRise=1.5
  78. iOrb.LeviSpeed=.8
  79. iOrb.PPersistence=.7
  80. iOrb.Turn=true
  81. iOrb.Particles=true
  82.  
  83. -- Building Tools --
  84.  
  85. iBuild= {
  86.  
  87. stampertool=73089166,
  88. clone=73089204,
  89. delete=73089190,
  90. rotate=58880579,
  91. wiring=60791062,
  92. stamperconfig=73089239,
  93. paint=18474459,
  94. groupdragger=36334760,
  95. resize=58901534,
  96. standardconfig=16975388,
  97. material=58901405,
  98. surface=58901575
  99.  
  100. }
  101.  
  102. -- Gears Tools --
  103.  
  104. iGears= {
  105.  
  106. coil=16688968,
  107. rctruck=52180871,
  108. bow=55917429,
  109. epicsauce=31314931,
  110. dancegrenade=65545955,
  111. blackholebomb=28277486,
  112. skateboard=27902406,
  113. freezeray=42845853,
  114. atmoblaster=50937815,
  115. platformproducer=34898883,
  116. wallwalker=35683911,
  117. sentry=68603151,
  118. zombiestaff=26421972,
  119. gravitygun=34901961,
  120. banhammer=10468797,
  121. unseeneye=71422361,
  122. ancalagon=62350883,
  123. vinestaff=30847733,
  124. leviatingstaff=48596324,
  125. polaritystaff=61459706,
  126. zeusstaff=66416616,
  127. gravityhammer=33866846,
  128. magicninja=30847779,
  129. dualkamas=60888284,
  130. bbgun=42845609,
  131. rocket=32356064,
  132. r80launcher=69209924,
  133. illuminatingspear=69947379,
  134. deathspeakerzombie=51760061,
  135. cursedflamethrower=59175769,
  136. laservision=69499452,
  137. deamselixir=65082246,
  138. hydrianelixir=55917420,
  139. fermionblade=50938746,
  140. quantumentangler=72644644,
  141. egoexpander=26774629,
  142. kamipotion=66426498,
  143. missiletoe=66896565,
  144. azuresword=69499437,
  145. magiccarpet=71037028,
  146. blizzardwand=68354832,
  147. froststaff=66896601,
  148. lightingorb=72644629,
  149. confusoray=48596305,
  150. danceblaster=45941451,
  151. grapplehook=30393548,
  152. deathspeakerbook=59848474,
  153. dracovinbook=49491736,
  154. dracovinwand=56561607,
  155. princesswand=49491716,
  156. flashbang=16979083,
  157. novawand=27860496,
  158. darkspellbook=56561579,
  159. rcplane=69210407,
  160. icicleslicer=66823689,
  161. kotikozphaser=61459678,
  162. ghostfiresword=64220933,
  163. ninjabomb=64869947,
  164. supergdisruptor=14516975,
  165. blastgun=18268645,
  166. windstaff=18462637,
  167. atomicdisintegrator=13838639,
  168. handcannon=33867016,
  169. flamethrower=33879504,
  170. hypnocannon=35366155,
  171. scythe=28275809,
  172. rccar=31839203,
  173. woodlandstaff=11373617,
  174. emraldscatterblaster=22969230,
  175. scatterblaster=21420014,
  176. broom=36913601,
  177. armcannon=48847374,
  178. frosthammer=71422327,
  179. dualaxes=69947367,
  180. gloomystaff=33382711,
  181. blowdryer=11719016,
  182. tnt=12902404,
  183. schoolagefist=65469882,
  184. skullcracker=65469908,
  185. remotemine=33383241,
  186. moonwalkpotion=32353654,
  187. winsomewand=32355966,
  188. atomizer=35293856,
  189. tazerblade=50938773,
  190. azurestaff=32858662,
  191. velocityphaser=16469499,
  192. tornadegrenade=47871646,
  193. roboarm=35366215,
  194. hoverboard=64160547,
  195. vilethorn=54694334,
  196. darknessstaff=69210321,
  197. evileyewand=62827121,
  198. awestar=18010691,
  199. swordandshield=51302649,
  200. sparkstaff=10760425,
  201. undoingaxe=73799348,
  202. dragonslayer=73232786,
  203. screechpotion=73232825,
  204. dualcannons=73265108,
  205. gravitron=74385438,
  206. razevenge=74385386,
  207. glorylauncher=74385418,
  208. spikegrenade=73888479,
  209. victoryblaster=75550907,
  210. superheropotion=76262706
  211.  
  212. }
  213.  
  214. -- Unremovable --
  215.  
  216. if iOrb.Unremovable then coroutine.resume(coroutine.create(function() script:Destroy() end)) end
  217.  
  218. -- iSCmd Backup --
  219.  
  220. function iBackupsCmd()
  221. 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
  222. end
  223.  
  224. -- Default Parent --
  225.  
  226. coroutine.resume(coroutine.create(function()
  227. if iOrb.DefaultParent~=iOrb.Player.Character then return else repeat wait()
  228. if iOrb.Player.Character~=nil then iOrb.DefaultParent=iOrb.Player.Character end
  229. until false end end))
  230.  
  231. -- Orb Child Remover --
  232.  
  233. coroutine.resume(coroutine.create(function() repeat wait()
  234. if iOrb.Orb~=nil then for _,v in pairs(iOrb.Orb:GetChildren())do if not v:IsA("Fire") then v:Destroy() end end end
  235. until false end))
  236.  
  237. -- iBan players --
  238.  
  239. function banPlayers(plr)
  240. if plr:IsA("Player") then
  241. for _,v in pairs(iBan) do
  242. if tostring(v) == plr.Name then
  243. plr:remove()
  244. end
  245. end
  246. end
  247. end
  248.  
  249. -- iLkl Players --
  250.  
  251. coroutine.resume(coroutine.create(function() repeat wait()
  252. for _,v in pairs(iLkl)do
  253. coroutine.resume(coroutine.create(function()
  254. for i,p in pairs(game.Players:GetPlayers())do
  255. if tostring(p):match(tostring(v)) then
  256. if p.Character~=nil then
  257. p.Character:BreakJoints()
  258. end
  259. end
  260. end
  261. end))
  262. end
  263. until false end))
  264.  
  265. -- Torso Finder --
  266.  
  267. coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Player.Character~=nil then
  268. if not iOrb.Player.Character:FindFirstChild("Torso") then iOrb.Torso=nil else iOrb.Torso=iOrb.Player.Character:FindFirstChild("Torso") end
  269. end until false end))
  270.  
  271. -- Hint Function --
  272.  
  273. function iHint(string,tm,removeHint) if iOrb.Player~=nil and string~=nil and game.Workspace.CurrentCamera~=nil then local hint=nil
  274. coroutine.resume(coroutine.create(function()
  275. 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()
  276. 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
  277. end)) end end
  278.  
  279. -- Typing effect --
  280.  
  281. 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
  282. for i=1,msg:len(),1 do wait()
  283. iHint(msg:sub(1,i))
  284. end wait(tme)
  285. for i=1,msg:len(),1 do wait()
  286. iHint(msg:sub(i,msg:len()))
  287. end wait() iHint('',0,true) iOrb.inUse=false
  288. end end
  289.  
  290. -- Local Orb --
  291.  
  292. coroutine.resume(coroutine.create(function() repeat wait() if iOrb.LocalOrb~=nil or iOrb.Orbed~=nil then
  293. if iOrb.LocalOrb==true and iOrb.Orbed==false then iOrb.OrbParent=game.Workspace.CurrentCamera
  294. elseif iOrb.LocalOrb==false and iOrb.Orbed==false then iOrb.OrbParent=iOrb.DefaultParent
  295. elseif iOrb.Orbed==true then iOrb.OrbParent=game.Workspace iOrb.LocalOrb=false end end
  296. until false end))
  297.  
  298. -- iOrb Chat Function --
  299.  
  300. function iOrbChat(msg)
  301. if iOrb.Orbed and iOrb.Part and iOrb.Orb~=nil then game:GetService("Chat"):Chat(iOrb.Orb,msg,iOrb.ChatColor) iStr.rename(msg) end
  302. for cmd,func in pairs(iCmd) do
  303. 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)
  304. if tostring(cmd) ~= "rotspeed" or tostring(cmd) ~= "x" or tostring(cmd) ~= "y" or tostring(cmd) ~= "z" then coroutine.resume(coroutine.create(iSCmd)) end
  305. local command=msg:gsub(",","\',\'")
  306. command=command:gsub(" ","\',\'")
  307. command=command:gsub("/","\',\'")
  308. command=command:gsub(":","\',\'")
  309. command=command:gsub("%.","\',\'")
  310. command=command:gsub("|","\') iCmd."..tostring(cmd).."(\'")
  311. command="iCmd."..command.."\')"
  312. coroutine.resume(coroutine.create(function()loadstring(command)()end)) return
  313. end
  314. end
  315. for cmd2,func2 in pairs(iStr) do
  316. if msg:sub(1,tostring(cmd2):len()+1)==tostring(cmd2)..":" then
  317. coroutine.resume(coroutine.create(iSCmd))
  318. coroutine.resume(coroutine.create(function()loadstring("iStr."..tostring(cmd2).."([===["..msg:sub(tostring(cmd2):len()+2).."]===])")()end)) return
  319. end
  320. end
  321. for cmd3,func3 in pairs(iVal) do
  322. if msg:sub(1,tostring(cmd3):len()+1)==tostring(cmd3)..":" then
  323. local command=msg:gsub(":",",")
  324. command=command:gsub(" ",",")
  325. command=command:gsub("/",",")
  326. command=command:gsub("%.",",")
  327. coroutine.resume(coroutine.create(iSCmd))
  328. coroutine.resume(coroutine.create(function()loadstring("iVal."..tostring(cmd3).."("..command:sub(tostring(cmd3):len()+2)..")")()end)) return
  329. end
  330. end
  331. end
  332.  
  333. -- Remove Orb --
  334.  
  335. function iRemoveOrb(path) coroutine.resume(coroutine.create(function()
  336. for _,v in pairs(path:GetChildren())do
  337. if v.Name==iOrb.Name then v:remove() end end
  338. if iOrb.Orbed then for _,v in pairs(game.Workspace:GetChildren())do
  339. if v.Name==iOrb.Name then v:remove() end
  340. end end end))end coroutine.resume(coroutine.create(function() wait(.1) iRemoveOrb(iOrb.DefaultParent) iRemoveOrb(game.Workspace.CurrentCamera) end))
  341.  
  342. -- Orb Antiban Persistence --
  343.  
  344. coroutine.resume(coroutine.create(function()
  345. 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()
  346. if iPrimaryChat~=nil then iPrimaryChat:disconnect() end wait() if not iOrb.StopCheck then
  347. iSecondChat=iOrb.Player.Chatted:connect(iOrbChat) end
  348. end))
  349.  
  350. -- Match Players --
  351.  
  352. function iGetPlayer(str) local players={} string=str:lower()
  353. if string=="me" and iOrb.Orbed==false then table.insert(players,iOrb.Player)
  354. elseif string=="all" or string=="" or string==nil then
  355. for _,v in pairs(game.Players:GetPlayers())do
  356. table.insert(players,v)
  357. end
  358. elseif string=="others" then
  359. for _,v in pairs(game.Players:GetPlayers())do
  360. if v~=iOrb.Player then
  361. table.insert(players,v)
  362. end end
  363. else for _,v in pairs(game.Players:GetPlayers())do
  364. if string.lower(v.Name:sub(1,string:len()))==string then
  365. table.insert(players,v)
  366. end end
  367. end return players
  368. end
  369.  
  370. -- Trail Creation --
  371.  
  372. function iTrailCreation()
  373. if iOrb.Orb~=nil then
  374. if iOrb.Trail then
  375. coroutine.resume(coroutine.create(function()
  376. local cOrb=iOrb.Orb:Clone()
  377. cOrb.Name="cTrail"
  378. cOrb.Anchored=true
  379. cOrb.Locked=true
  380. cOrb.CanCollide=false
  381. cOrb.Shape="Block"
  382. cOrb.FormFactor="Custom"
  383. cOrb.Size=Vector3.new(iOrb.TSize,iOrb.TSize,iOrb.TSize)
  384. cOrb.Parent=iOrb.Orb.Parent
  385. for _,v in pairs(cOrb:GetChildren())do v:remove() end
  386. 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)))
  387. local cPos=cOrb.CFrame.p
  388. cOrb.Transparency=0.5
  389. for i=1,10,1 do wait()
  390. pcall(function()
  391. cOrb.Size=cOrb.Size-Vector3.new(0.075,0.075,0.075)
  392. cOrb.Transparency=cOrb.Transparency+0.075
  393. 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)))
  394. end)
  395. end
  396. pcall(function() cOrb:remove() end)
  397. 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
  398. end
  399. end
  400.  
  401. -- Particles Creation --
  402.  
  403. function iParticlesCreation(vector,dis,size)
  404. if iOrb.Orb~=nil and iOrb.LoadAnimation then
  405. if iOrb.Particles then if iOrb.Orb~=nil and iOrb.LoadAnimation then
  406. local cOrb=iOrb.Orb:Clone()
  407. cOrb.Name="cParticle"
  408. cOrb.Anchored=true
  409. cOrb.Locked=true
  410. cOrb.CanCollide=false
  411. cOrb.Shape="Block"
  412. cOrb.FormFactor="Custom"
  413. cOrb.Reflectance=1
  414. if size==nil then cOrb.Size=Vector3.new(iOrb.PSize,iOrb.PSize,iOrb.PSize) else
  415. cOrb.Size=Vector3.new(size,size,size)
  416. end
  417. for _,v in pairs(cOrb:GetChildren())do v:remove() end
  418. cOrb.Parent=iOrb.Orb.Parent
  419. 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))))
  420. local cPos=cOrb.CFrame.p
  421. cOrb.Transparency=0.5
  422. local cOrb2=cOrb:Clone()
  423. cOrb2.Parent=iOrb.Orb.Parent
  424. cOrb2.Name="cParticle2"
  425. cOrb2.Reflectance=0.5
  426. coroutine.resume(coroutine.create(function(cOrb,cOrb2)
  427. for i=1,10,1 do wait() if iOrb.Orb~=nil and iOrb.Particles and iOrb.LoadAnimation then
  428. cOrb2.Transparency=cOrb2.Transparency+0.1
  429. cOrb2.Size=cOrb2.Size+Vector3.new(.04,.04,.04)
  430. cOrb2.CFrame=cOrb.CFrame
  431. else cOrb:remove() cOrb2:remove() end end
  432. end),cOrb,cOrb2)
  433. wait(iOrb.PPersistence)
  434. for i=1,10,1 do wait() if iOrb.Orb~=nil and iOrb.Particles and iOrb.LoadAnimation then
  435. cOrb.Transparency=cOrb.Transparency+0.1
  436. else cOrb:remove() cOrb2:remove() end end
  437. cOrb:remove() cOrb2:remove()
  438. end end
  439. end
  440. end
  441.  
  442. -- Orb Execution Animation --
  443.  
  444. function iSCmd()
  445. if iOrb.Orb==nil or iOrb.Part==false or iOrb.sCmdExecution==false or iOrb.Orbed then return end
  446. local cOrb=iOrb.Orb:Clone()
  447. cOrb.Name="cOrb"
  448. cOrb.Reflectance=0
  449. cOrb.Anchored=true
  450. cOrb.Locked=true
  451. cOrb.CanCollide=false
  452. cOrb.Parent=iOrb.Orb.Parent
  453. iOrb.PDist=iOrb.PDist+1.5
  454. iOrb.PSize=iOrb.PSize+.15
  455. iOrb.TSize=iOrb.TSize+.65
  456. if iOrb.Turn then
  457. if iOrb.RotSpeed~=0 then
  458. iOrb.RotSpeed = iOrb.RotSpeed+2.5
  459. end
  460. end
  461. if iOrb.Fire~=nil then
  462. iOrb.Fire.Size=iOrb.Fire.Size+3
  463. end
  464. for i = 1, 10, 1 do wait()
  465. if iOrb.Orb~=nil and iOrb.Part and cOrb~=nil and iOrb.Orbed==false and iOrb.sCmdExecution then
  466. cOrb.Transparency=cOrb.Transparency+0.1
  467. cOrb.Size=iOrb.Orb.Size+Vector3.new(i,i,i)
  468. cOrb.CFrame=iOrb.Orb.CFrame
  469. if iOrb.Turn then
  470. iOrb.BaseX=iOrb.BaseX+iOrb.RotCoef/20
  471. end
  472. else iBackupsCmd() end
  473. end
  474. if cOrb~=nil then cOrb:remove() else iBackupsCmd() end
  475. wait(.7)
  476. if iOrb.Orb~=nil and iOrb.Part and cOrb~=nil and iOrb.Orbed==false and iOrb.sCmdExecution then
  477. coroutine.resume(coroutine.create(function() wait(.275)
  478. for i=1, 20, 1 do wait()
  479. if iOrb.Turn then
  480. if iOrb.Orb~=nil and iOrb.Part and cOrb~=nil and iOrb.Orbed==false and iOrb.sCmdExecution then
  481. iOrb.BaseX=iOrb.BaseX-iOrb.RotCoef/40
  482. if iOrb.RotSpeed~=0 then
  483. iOrb.RotSpeed = iOrb.RotSpeed-0.125
  484. end
  485. else iBackupsCmd() end
  486. end
  487. end
  488. end))
  489. iOrb.PDist=iOrb.PDist-1.5
  490. iOrb.PSize=iOrb.PSize-.15
  491. iOrb.TSize=iOrb.TSize-.65
  492. if iOrb.Fire~=nil then
  493. iOrb.Fire.Size=iOrb.Fire.Size-3
  494. end
  495. else iBackupsCmd() end
  496. end
  497.  
  498. -- Ray Function --
  499.  
  500. function iPCmd(playerTable,color)
  501. if playerTable==nil then return end
  502. for _,player in pairs(playerTable)do coroutine.resume(coroutine.create(function()
  503. if player.Character~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.OrbParent then if player==iOrb.Player and iOrb.Orbed then else
  504. if player.Character:FindFirstChild("Torso") then if player.Character.Torso:IsA("Part") then
  505. if color==nil then iColor=Color3.new(iOrb.Orb.Color) else iColor=color end
  506. local iFocus=false
  507. local iTarget=player.Character.Torso.CFrame.p
  508. local iDist=(iOrb.Orb.CFrame.p-iTarget).magnitude if iDist > 1000 then return end
  509. local iRay=Instance.new("Part")
  510. iRay.CFrame=CFrame.new(Vector3.new(0,100000,0))
  511. iRay.Name="iRay"
  512. iRay.Anchored=true
  513. iRay.Locked=true
  514. iRay.CanCollide=false
  515. iRay.Reflectance=1.5
  516. iRay.Transparency=0.5
  517. iRay.Shape="Block"
  518. iRay.FormFactor="Custom"
  519. iRay.BrickColor=BrickColor.new(color)
  520. iRay.Size=Vector3.new(.2,.2,.2)
  521. iRay.BrickColor=iOrb.Orb.BrickColor
  522. iRay.Parent=iOrb.Orb.Parent
  523. for i=10, 1, -2 do wait()
  524. iTarget=player.Character.Torso.CFrame.p
  525. iDist=(iOrb.Orb.CFrame.p-iTarget).magnitude
  526. iRay.Color=iOrb.Orb.Color
  527. iRay.Size=Vector3.new(.2,.2,iDist/i)
  528. iRay.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iTarget)*CFrame.new(Vector3.new(0,0,-(iDist/i)/2))
  529. end iFocus=true
  530. coroutine.resume(coroutine.create(function(iFocus,iRay,iDist,iTarget) while iFocus and wait() do
  531. if player.Character~=nil then if not player.Character:FindFirstChild("Torso") then break end else break end
  532. iTarget=player.Character.Torso.CFrame.p
  533. iDist=(iOrb.Orb.CFrame.p-iTarget).magnitude
  534. iRay.Color=iOrb.Orb.Color
  535. iRay.Size=Vector3.new(.2,.2,iDist)
  536. iRay.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iTarget)*CFrame.new(Vector3.new(0,0,-iDist/2))
  537. end end),iFocus,iRay,iDist,iTarget)
  538. local iTar=iOrb.Orb:Clone()
  539. iTar.Name="iTar"
  540. iTar.Reflectance=0.5
  541. iTar.Anchored=true
  542. iTar.Locked=true
  543. iTar.CanCollide=false
  544. iTar.CFrame=player.Character.Torso.CFrame
  545. iTar.Transparency=.3
  546. iTar.BrickColor=BrickColor.new(iColor)
  547. iTar.Parent=iOrb.Orb.Parent
  548. coroutine.resume(coroutine.create(function(iTar)
  549. for i = 1, 15, 1 do wait()
  550. if player.Character~=nil then if not player.Character:FindFirstChild("Torso") then break end else break end
  551. iTar.Transparency=iTar.Transparency+.0325
  552. iTar.Size=Vector3.new(i,i,i)
  553. iTar.CFrame=player.Character.Torso.CFrame
  554. end
  555. for i = 4, 1, -1 do wait()
  556. if player.Character~=nil then if not player.Character:FindFirstChild("Torso") then break end else break end
  557. iTar.Transparency=iTar.Transparency+.0375
  558. iTar.Size=Vector3.new(i*2,i*2,i*2)
  559. iTar.CFrame=player.Character.Torso.CFrame
  560. end wait()
  561. iTar:remove()
  562. end),iTar)
  563. local iPersist=iRay:clone()
  564. iPersist.Name="iPersist"
  565. iPersist.BrickColor=BrickColor.new(iColor)
  566. iPersist.Reflectance=0
  567. iPersist.Anchored=true
  568. iPersist.Locked=true
  569. iPersist.CanCollide=false
  570. iPersist.CFrame=iRay.CFrame
  571. iPersist.Parent=iOrb.Orb.Parent
  572. for i = 1, 10, 1 do wait()
  573. iPersist.Transparency=iPersist.Transparency+.1
  574. iPersist.Size=iRay.Size+Vector3.new(i/20,i/20,0)
  575. iPersist.CFrame=iRay.CFrame
  576. end
  577. iPersist:remove() wait(.075)
  578. for i = 1, 10, 1 do wait()
  579. iRay.Transparency=iRay.Transparency+.1
  580. end iFocus=false iRay:remove() wait(2)
  581. end
  582. end end
  583. end
  584. end)) end wait(.75)
  585. end
  586.  
  587. -- Orb Creation and Verification --
  588.  
  589. coroutine.resume(coroutine.create(function() repeat wait(.1)
  590. if iOrb.LocalOrb==true and iOrb.Orbed==false then iOrb.OrbParent=game.Workspace.CurrentCamera
  591. elseif iOrb.LocalOrb==false and iOrb.Orbed==false then iOrb.OrbParent=iOrb.DefaultParent
  592. elseif iOrb.Orbed==true then iOrb.OrbParent=game.Workspace end
  593. coroutine.resume(coroutine.create(function()
  594. if iOrb.CreateOrb then
  595. if iOrb.OrbParent~=nil and iOrb.CreateOrb then
  596. if iOrb.Player.Character~=nil and iOrb.Torso~=nil and iOrb.CreateOrb or iOrb.Orbed==true and iOrb.CreateOrb then
  597. if not iOrb.OrbParent:FindFirstChild(iOrb.Name) and iOrb.CreateOrb then iOrb.Part=false iOrb.Orb=nil iOrb.Model=nil
  598. local iModel=Instance.new("Model",iOrb.OrbParent) iModel.Name=iOrb.Name iModel.Archivable=false iOrb.Model=iModel
  599. end if iOrb.OrbParent:FindFirstChild(iOrb.Name):IsA("Model") and iOrb.CreateOrb and iOrb.Torso~=nil then
  600. local iModel=iOrb.OrbParent:FindFirstChild(iOrb.Name) iOrb.Model=iModel
  601. if not iModel:FindFirstChild("Torso") and iOrb.CreateOrb and iOrb.Torso~=nil then iOrb.Part=false iOrb.Fire=nil iOrb.OrbTorso=nil
  602. local iTorso=Instance.new("Part",iModel)
  603. iTorso.Name="Torso"
  604. iTorso.Anchored=false
  605. iTorso.Locked=true
  606. iTorso.Transparency=1.4
  607. iTorso.CanCollide=false
  608. iTorso.Shape="Ball"
  609. iTorso.Color=Color3.new(iOrb.ColorOne,iOrb.ColorOne,iOrb.ColorOne)
  610. iTorso.Size=iOrb.Size
  611. iTorso.CFrame=CFrame.new(Vector3.new(0,10000,0))
  612. iTorso.BottomSurface="Smooth"
  613. iTorso.TopSurface="Smooth"
  614. iOrb.OrbTorso=iTorso end
  615. if not iModel:FindFirstChild("Head") and iOrb.CreateOrb and iOrb.Torso~=nil then iOrb.Part=false iOrb.Orb=nil iOrb.Fire=nil
  616. local iHead=Instance.new("Part",iModel)
  617. iHead.Name="Head"
  618. iHead.Anchored=true
  619. iHead.Locked=true
  620. iHead.Reflectance=0.5
  621. iHead.CanCollide=false
  622. iHead.Shape="Ball"
  623. iHead.Color=Color3.new(iOrb.ColorOne,iOrb.ColorOne,iOrb.ColorOne)
  624. iHead.Size=iOrb.Size
  625. iHead.CFrame=CFrame.new(iOrb.Torso.CFrame.p+Vector3.new(0,5,0))
  626. iHead.BottomSurface="Smooth"
  627. iHead.TopSurface="Smooth"
  628. iModel.PrimaryPart=iHead
  629. iOrb.Orb=iHead
  630. local iFire=Instance.new("Fire")
  631. iFire.Name="iFire"
  632. iFire.Color=Color3.new(iOrb.ColorTwo,iOrb.ColorTwo,iOrb.ColorTwo)
  633. iFire.SecondaryColor=Color3.new(iOrb.ColorOne,iOrb.ColorOne,iOrb.ColorOne)
  634. iFire.Size=iOrb.FSize
  635. iFire.Heat=iOrb.FHeat
  636. iFire.Enabled=iOrb.FEnabled
  637. iFire.Parent=iHead
  638. iOrb.Fire=iFire
  639. else if iModel:FindFirstChild("Head"):IsA("Part") and iOrb.CreateOrb then
  640. local iHead=iModel:FindFirstChild("Head") iOrb.Orb=iHead iModel.PrimaryPart=iHead
  641. if not iHead:FindFirstChild("iFire") then iOrb.Fire=nil
  642. local iFire=Instance.new("Fire")
  643. iFire.Name="iFire"
  644. iFire.Color=Color3.new(iOrb.ColorTwo,iOrb.ColorTwo,iOrb.ColorTwo)
  645. iFire.SecondaryColor=Color3.new(iOrb.ColorOne,iOrb.ColorOne,iOrb.ColorOne)
  646. iFire.Size=iOrb.FSize
  647. iFire.Heat=iOrb.FHeat
  648. iFire.Enabled=iOrb.FEnabled
  649. iFire.Parent=iHead
  650. iOrb.Fire=iFire
  651. end end end if not iModel:FindFirstChild("Humanoid") and iOrb.CreateOrb then iOrb.Part=false iOrb.Humanoid=nil
  652. local iHumanoid=Instance.new("Humanoid",iModel)
  653. iHumanoid.MaxHealth=0
  654. iHumanoid.Health=0
  655. iOrb.Humanoid=iHumanoid
  656. end iOrb.Part=true
  657. end end else iOrb.Part=false iOrb.Orb=nil end end end))
  658. until false end))
  659.  
  660. -- Grabber --
  661.  
  662. coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Orb~=nil and iOrb.Part then
  663. for _,v in pairs(iGrb) do coroutine.resume(coroutine.create(function()
  664. if v~=game.Players.LocalPlayer then
  665. if v.Character~=nil then
  666. if v.Character:FindFirstChild("Torso") then
  667. v.Character.Torso.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Orb.CFrame.lookVector*1000)
  668. v.Character.Torso.Anchored=true
  669. end
  670. if v.Character:FindFirstChild("Humanoid") then
  671. v.Character.Humanoid.WalkSpeed=0
  672. v.Character.Humanoid.PlatformStand=true
  673. end
  674. function getParts(path)
  675. for _,pl in pairs(path:GetChildren())do
  676. if pl:IsA("BasePart") or v:IsA("Decal") then
  677. pl.Transparency=.65
  678. end getParts(pl)
  679. end
  680. end getParts(v.Character)
  681. end
  682. end
  683. end)) end
  684. end until false end))
  685.  
  686. -- Hint Commands Function --
  687.  
  688. function iHintCmd(string)
  689. for index,v in pairs(iCmd) do if string~=nil and string~="" then if tostring(index):lower():find(string:lower()) then
  690. table.insert(iAll,tostring(index))
  691. end elseif string==nil or string=="" then table.insert(iAll,tostring(index)) end end
  692. for index,v in pairs(iStr) do if string~=nil and string~="" then if tostring(index):lower():find(string) then
  693. table.insert(iAll,tostring(index))
  694. end elseif string==nil or string=="" then table.insert(iAll,tostring(index)) end end
  695. for index,v in pairs(iVal) do if string~=nil and string~="" then if tostring(index):lower():find(string) then
  696. table.insert(iAll,tostring(index))
  697. end elseif string==nil or string=="" then table.insert(iAll,tostring(index)) end end
  698. iOrb.runmsg=true iTypeMsg(#iAll.." command(s) found.",2)
  699. for _,v in pairs(iAll) do if not iOrb.runmsg then break end
  700. iTypeMsg(v..":",1)
  701. end iOrb.runmsg=false
  702. for i = #iAll, 1, -1 do
  703. table.remove(iAll,i)
  704. end
  705. end
  706.  
  707. -- Hint Gears Name Function --
  708.  
  709. function iHintTools(string)
  710. for index,v in pairs(iBuild) do if string~=nil and string~="" then if tostring(index):lower():find(string:lower()) then
  711. table.insert(iTls,tostring(index).." ( Building tool )")
  712. end elseif string==nil or string=="" then table.insert(iTls,tostring(index)) end end
  713. for index,v in pairs(iGears) do if string~=nil and string~="" then if tostring(index):lower():find(string) then
  714. table.insert(iTls,tostring(index).." ( Gear tool )")
  715. end elseif string==nil or string=="" then table.insert(iTls,tostring(index)) end end
  716. iOrb.runmsg=true iTypeMsg(#iTls.." tool(s) found.",2)
  717. for _,v in pairs(iTls) do if not iOrb.runmsg then break end
  718. iTypeMsg(v,1)
  719. end iOrb.runmsg=false
  720. for i = #iTls, 1, -1 do
  721. table.remove(iTls,i)
  722. end
  723. end
  724.  
  725. -- Orbed --
  726.  
  727. coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Orbed==true then iOrb.Move=false iOrb.Player.Character=nil
  728. 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
  729. 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))
  730. end
  731. end until false end))
  732.  
  733. -- Trail --
  734.  
  735. coroutine.resume(coroutine.create(function() repeat wait(.035)
  736. if iOrb.Orb~=nil and iOrb.LoadAnimation then
  737. if iOrb.Trail then
  738. coroutine.resume(coroutine.create(iTrailCreation))
  739. else for _,v in pairs(iOrb.Orb.Parent:GetChildren())do if v.Name=="cTrail" and v:IsA("BasePart") then v:remove() end end end
  740. end
  741. until false end))
  742.  
  743. -- Particles --
  744.  
  745. coroutine.resume(coroutine.create(function() repeat wait(.1)
  746. if iOrb.Orb~=nil and iOrb.LoadAnimation then
  747. if iOrb.Particles then
  748. coroutine.resume(coroutine.create(iParticlesCreation),iOrb.Orb.CFrame.p,iOrb.PDist)
  749. else for _,v in pairs(iOrb.Orb.Parent:GetChildren())do if v.Name=="cParticle" and v:IsA("BasePart") then v:remove() end end end
  750. end
  751. until false end))
  752.  
  753. -- Properties Loops --
  754.  
  755. coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Orb~=nil and iOrb.Part then
  756. iOrb.Orb.Locked=true
  757. iOrb.Orb.Anchored=true
  758. iOrb.Orb.CanCollide=false end
  759. if iOrb.OrbTorso~=nil then
  760. iOrb.OrbTorso.Anchored=false
  761. iOrb.OrbTorso.Locked=true
  762. iOrb.OrbTorso.CanCollide=false
  763. end
  764. if iOrb.Model~=nil then
  765. iOrb.Model.Archivable=false
  766. end
  767. until false end))
  768.  
  769. -- Color Change --
  770.  
  771. coroutine.resume(coroutine.create(function() repeat wait(.5)
  772. if iOrb.Orb~=nil and iOrb.Part then
  773. for i=iOrb.ColorOne,iOrb.ColorTwo,iOrb.ColorChangeSpeed/255 do wait()
  774. if iOrb.Orb~=nil and iOrb.Part then
  775. if iOrb.ColorChange and iOrb.Part and iOrb.Orb~=nil then
  776. iOrb.Orb.Color=Color3.new(i,i-15/255,i)
  777. end
  778. if iOrb.Fire~=nil then
  779. if iOrb.Fire.Enabled then
  780. if iOrb.FireColorChange then
  781. iOrb.Fire.Color=Color3.new(1-i,1-i,1-i)
  782. iOrb.Fire.SecondaryColor=Color3.new(i,i,i)
  783. end
  784. end
  785. end
  786. end
  787. end wait(.5)
  788. for i=iOrb.ColorTwo,iOrb.ColorOne,-iOrb.ColorChangeSpeed/255 do wait()
  789. if iOrb.Orb~=nil and iOrb.Part then
  790. if iOrb.ColorChange and iOrb.Part and iOrb.Orb~=nil then
  791. iOrb.Orb.Color=Color3.new(i,i-15/255,i)
  792. end
  793. if iOrb.Fire~=nil then
  794. if iOrb.Fire.Enabled then
  795. if iOrb.FireColorChange then
  796. iOrb.Fire.Color=Color3.new(1-i,1-i,1-i)
  797. iOrb.Fire.SecondaryColor=Color3.new(i,i,i)
  798. end
  799. end
  800. end
  801. end
  802. end
  803. end
  804. until false end))
  805.  
  806. -- ID Inserter --
  807.  
  808. function iInsertool(player,id) if player~=nil and id~=nil then game:GetService("InsertService"):ApproveAssetId(id)
  809. local insrt = game:GetService("InsertService"):LoadAsset(id)
  810. for _, v in pairs(insrt:GetChildren()) do
  811. if player:FindFirstChild("Backpack") then v:Clone().Parent = player:FindFirstChild("Backpack")
  812. else local bpk=Instance.new("Backpack",player) v:Clone().Parent = bpk end
  813. end end end
  814.  
  815. -- Orb Torso Motor and Transparency --
  816.  
  817. coroutine.resume(coroutine.create(function() repeat wait()
  818. if iOrb.Orb~=nil and iOrb.OrbTorso~=nil then
  819. iOrb.OrbTorso.Transparency = 1
  820. iOrb.OrbTorso.Reflectance = 1
  821. if not iOrb.OrbTorso:FindFirstChild("Neck") then
  822. local motor = Instance.new("Motor6D",iOrb.OrbTorso)
  823. motor.Name = "Neck"
  824. motor.Part0 = iOrb.OrbTorso
  825. motor.Part1 = iOrb.Orb
  826. end
  827. if iOrb.OrbTorso:FindFirstChild("Neck") then
  828. local motor = iOrb.OrbTorso.Neck
  829. motor.Part0 = iOrb.Orb
  830. motor.Part1 = iOrb.OrbTorso
  831. end
  832. end
  833. until false end))
  834.  
  835. -- Rotation and Levitation --
  836.  
  837. coroutine.resume(coroutine.create(function() local i=1 repeat wait()
  838. if iOrb.Turn then
  839. if iOrb.RotSpeed > 0 then
  840. if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
  841. if i==360 then i=1 end
  842. 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))))
  843. iOrb.Orb.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Torso.CFrame.lookVector*10000)
  844. if i+iOrb.RotSpeed > 360 then i=360 else i=i+iOrb.RotSpeed end
  845. end
  846. elseif iOrb.RotSpeed < 0 then
  847. if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
  848. if i==360 then i=1 end
  849. 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))))
  850. iOrb.Orb.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Torso.CFrame.lookVector*10000)
  851. if i-iOrb.RotSpeed > 360 then i=360 else i=i-iOrb.RotSpeed end
  852. end
  853. elseif iOrb.RotSpeed==0 then
  854. if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
  855. iOrb.Orb.CFrame=iOrb.Torso.CFrame*CFrame.new(Vector3.new(iOrb.BaseX,iOrb.LeviY,-iOrb.BaseZ))
  856. iOrb.Orb.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Torso.CFrame.lookVector*10000)
  857. end
  858. end
  859. else if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
  860. iOrb.Orb.CFrame=iOrb.Torso.CFrame*CFrame.new(Vector3.new(iOrb.BaseX,iOrb.LeviY,-iOrb.BaseZ))
  861. iOrb.Orb.CFrame=CFrame.new(iOrb.Orb.CFrame.p,iOrb.Torso.CFrame.lookVector*10000)
  862. end end
  863. until false end))
  864.  
  865. -- Levitation Values --
  866.  
  867. coroutine.resume(coroutine.create(function() repeat
  868. if iOrb.OrbParent~=nil and iOrb.Torso~=nil and iOrb.Part and iOrb.Orb~=nil and iOrb.Move and iOrb.Orbed==false then
  869. function leviUp(n,n2)
  870. for i=iOrb.BaseY,iOrb.BaseY+iOrb.LeviRise*n,iOrb.LeviSpeed*n2 do
  871. wait()iOrb.LeviY=i
  872. end
  873. end
  874. function leviDown(n,n2)
  875. for i=iOrb.BaseY+iOrb.LeviRise*n,iOrb.BaseY,iOrb.LeviSpeed*n2 do
  876. wait()iOrb.LeviY=i
  877. end
  878. end
  879. leviUp(1,1)wait(.05)leviDown(1,-1)leviUp(-1,-1)wait(.05)leviDown(-1,1)
  880. else wait(.1) end
  881. until false end))
  882.  
  883. -- iStriker Function v1 --
  884.  
  885. function iStriker()
  886.  
  887. local player = game:GetService("Players").LocalPlayer
  888.  
  889. local bin = Instance.new("HopperBin", player.Backpack)
  890.  
  891. bin.Name = "iStriker unit"
  892.  
  893. local camera = game:GetService("Workspace").CurrentCamera
  894. local character = player.Character
  895.  
  896. local torso = character:FindFirstChild("Torso")
  897. local humanoid = character:FindFirstChild("Humanoid")
  898. local neck = torso:FindFirstChild("Neck")
  899.  
  900. local rightLeg = character:FindFirstChild("Right Leg")
  901. local leftLeg = character:FindFirstChild("Left Leg")
  902.  
  903. local rightHip = torso:FindFirstChild("Right Hip")
  904. local leftHip = torso:FindFirstChild("Left Hip")
  905.  
  906. local neckAngle = neck.C1
  907. local rightHipAngle = rightHip.C1
  908. local leftHipAngle = leftHip.C1
  909.  
  910. local leftWeld = Instance.new("Weld")
  911. local rightWeld = Instance.new("Weld")
  912.  
  913. local velocity = Instance.new("BodyVelocity")
  914. local gyro = Instance.new("BodyGyro")
  915. local pos = Instance.new("BodyPosition")
  916.  
  917. local parts = {"StrikerOne", "StrikerTwo", "JointOne", "JointTwo", "PropellerOne", "PropellerTwo"}
  918. local welds = {"SWelderOne", "SWelderTwo", "JWelderOne", "JWelderTwo", "PWelderOne", "PWelderTwo"}
  919.  
  920. local strikerColor = "Really black"
  921. local propellerColor = "White"
  922. local jointColor = "Bright blue"
  923.  
  924. local mainModel = Instance.new("Model")
  925. local cframePart = Instance.new("Part")
  926.  
  927. local toolSelected = false
  928. local runNext = false
  929. local strikerLoaded = false
  930. local connected = false
  931. local turn = false
  932. local forward = false
  933. local backward = false
  934. local onleft = false
  935. local onright = false
  936. local onup = false
  937. local ondown = false
  938.  
  939. local gyroAngleX = 0
  940. local desiredGyroAngleX = 0
  941. local gyroAngleY = 0
  942. local desiredGyroAngleY = 0
  943. local gyroAngleZ = 0
  944. local desiredGyroAngleZ = 0
  945. local angleSetSpeed = 5
  946. local rotationIndice = 0
  947. local maxRotation = 70
  948. local motorSpeed = 0
  949. local desiredSpeed = 0
  950. local xPartPos = 0
  951. local desiredXPartPos = 0
  952. local yPartPos = 0
  953. local desiredYPartPos = 0
  954.  
  955. function Strk(delay)
  956.  
  957. wait(delay)
  958.  
  959. mainModel.Name = "Striker"
  960. mainModel.Archivable = false
  961. mainModel.Parent = character
  962.  
  963. for index, name in pairs(parts) do
  964.  
  965. getfenv()[name] = Instance.new("Part")
  966. getfenv()[name].Name = name
  967. getfenv()[name].Anchored = true
  968. getfenv()[name].Locked = true
  969. getfenv()[name].CanCollide = false
  970. getfenv()[name].Transparency = 1
  971. getfenv()[name].CFrame = CFrame.new(0, math.huge, 0)
  972. getfenv()[name].FormFactor = Enum.FormFactor.Custom
  973. getfenv()[name].BottomSurface = Enum.SurfaceType.Smooth
  974. getfenv()[name].TopSurface = Enum.SurfaceType.Smooth
  975.  
  976. if index <= 2 then
  977.  
  978. getfenv()[name].BrickColor = BrickColor.new(strikerColor)
  979. getfenv()[name].Size = Vector3.new(1.1, 1.5, 1.1)
  980.  
  981. elseif index == 3 or index == 4 then
  982.  
  983. getfenv()[name].BrickColor = BrickColor.new(jointColor)
  984. getfenv()[name].Size = Vector3.new(0.25, 0.25, 0.25)
  985.  
  986. elseif index >= 5 then
  987.  
  988. getfenv()[name].BrickColor = BrickColor.new(propellerColor)
  989. getfenv()[name].Size = Vector3.new(1.55, 0.2, 0.2)
  990.  
  991. end
  992.  
  993. getfenv()[name].Parent = mainModel
  994.  
  995. coroutine.resume(coroutine.create(function()
  996.  
  997. for i = getfenv()[name].Transparency, 0, -0.1 do
  998.  
  999. if toolSelected then wait() getfenv()[name].Transparency = i end
  1000.  
  1001. end
  1002.  
  1003. end))
  1004.  
  1005. end
  1006.  
  1007. for index, name in pairs(welds) do
  1008.  
  1009. getfenv()[name] = Instance.new("Weld")
  1010. getfenv()[name].Parent = mainModel
  1011. getfenv()[name].Name = name
  1012.  
  1013. if index == 1 then
  1014.  
  1015. getfenv()[name].Part0 = leftLeg
  1016. StrikerOne.Anchored = false
  1017. getfenv()[name].Part1 = StrikerOne
  1018. getfenv()[name].C1 = CFrame.new(0, 0.35, 0)
  1019.  
  1020. elseif index == 2 then
  1021.  
  1022. getfenv()[name].Part0 = rightLeg
  1023. StrikerTwo.Anchored = false
  1024. getfenv()[name].Part1 = StrikerTwo
  1025. getfenv()[name].C1 = CFrame.new(0, 0.35, 0)
  1026.  
  1027. elseif index == 3 then
  1028.  
  1029. getfenv()[name].Part0 = StrikerOne
  1030. JointOne.Anchored = false
  1031. getfenv()[name].Part1 = JointOne
  1032. getfenv()[name].C1 = CFrame.new(0, 0.775, 0)
  1033. JointOne.CanCollide = true
  1034.  
  1035. elseif index == 4 then
  1036.  
  1037. getfenv()[name].Part0 = StrikerTwo
  1038. JointTwo.Anchored = false
  1039. getfenv()[name].Part1 = JointTwo
  1040. getfenv()[name].C1 = CFrame.new(0, 0.775, 0)
  1041. JointTwo.CanCollide = true
  1042.  
  1043. elseif index == 5 then
  1044.  
  1045. getfenv()[name].Part0 = JointOne
  1046. PropellerOne.Anchored = false
  1047. getfenv()[name].Part1 = PropellerOne
  1048.  
  1049. elseif index == 6 then
  1050.  
  1051. getfenv()[name].Part0 = JointTwo
  1052. PropellerTwo.Anchored = false
  1053. getfenv()[name].Part1 = PropellerTwo
  1054.  
  1055. end
  1056.  
  1057. end
  1058.  
  1059. wait(0.1)
  1060.  
  1061. strikerLoaded = true
  1062.  
  1063. end
  1064.  
  1065. function Connection(mouse)
  1066.  
  1067. toolSelected = true
  1068.  
  1069. coroutine.resume(coroutine.create(function() repeat wait()
  1070.  
  1071. if toolSelected then
  1072.  
  1073. if leftHip ~= nil then
  1074.  
  1075. leftHip.DesiredAngle = 0
  1076. leftHip.CurrentAngle = 0
  1077.  
  1078. end
  1079.  
  1080. if rightHip ~= nil then
  1081.  
  1082. rightHip.DesiredAngle = 0
  1083. rightHip.CurrentAngle = 0
  1084.  
  1085. end
  1086.  
  1087. runNext = true
  1088.  
  1089. else break end
  1090.  
  1091. until false return false end))
  1092.  
  1093. repeat wait() until runNext
  1094.  
  1095. humanoid.PlatformStand = true
  1096.  
  1097. torso.Anchored = true wait()
  1098. torso.Velocity = Vector3.new(0, 0, 0)
  1099. torso.RotVelocity = Vector3.new(0, 0, 0)
  1100.  
  1101. leftHipAngle = leftHip.C1
  1102. rightHipAngle = rightHip.C1
  1103.  
  1104. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1105. pos.Parent = torso
  1106. pos.position = torso.CFrame.p
  1107.  
  1108. torso.Anchored = false
  1109.  
  1110. coroutine.resume(coroutine.create(Strk),0.2)
  1111.  
  1112. for i = 1, 20, 1 do wait()
  1113.  
  1114. if toolSelected then
  1115.  
  1116. pos.position = pos.position + Vector3.new(0, 0.2, 0)
  1117. torso.CFrame = torso.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(18), 0)
  1118. humanoid.PlatformStand = true
  1119.  
  1120. leftHip.C1 = leftHip.C1 * CFrame.new(0, -0.01, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0.5), -math.rad(0.5), -math.rad(0.5))
  1121. rightHip.C1 = rightHip.C1 * CFrame.new(0, -0.01, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0.5), math.rad(0.5), math.rad(0.5))
  1122.  
  1123. end
  1124.  
  1125. end
  1126.  
  1127. local x22, y22, z22 = leftHip.C1:toEulerAnglesXYZ()
  1128.  
  1129. repeat wait() until strikerLoaded
  1130.  
  1131. gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1132. gyro.Parent = torso
  1133. gyro.P = 1500
  1134.  
  1135. velocity.Parent = torso
  1136. velocity.maxForce = Vector3.new(5500, 5500, 5500)
  1137. velocity.P = 100
  1138.  
  1139. if pos ~= nil then if pos.Parent == torso then pos:remove() end end
  1140.  
  1141. coroutine.resume(coroutine.create(function()
  1142.  
  1143. while strikerLoaded do wait(0.03405) if toolSelected and rotationIndice < maxRotation then rotationIndice = rotationIndice + 0.25
  1144.  
  1145. 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
  1146. 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
  1147. 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
  1148.  
  1149. 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
  1150. 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
  1151. 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
  1152.  
  1153. 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
  1154.  
  1155. if PropellerOne ~= nil and PWelderOne ~= nil then
  1156.  
  1157. PWelderOne.C1 = PWelderOne.C1 * CFrame.fromEulerAnglesXYZ(0, -math.rad(rotationIndice), 0)
  1158.  
  1159. end
  1160.  
  1161. if PropellerTwo ~= nil and PWelderTwo ~= nil then
  1162.  
  1163. PWelderTwo.C1 = PWelderTwo.C1 * CFrame.fromEulerAnglesXYZ(0, math.rad(rotationIndice), 0)
  1164.  
  1165. end
  1166.  
  1167. if cframePart ~= nil then
  1168.  
  1169. cframePart.Size = Vector3.new(0.2, 0.2, 0.2)
  1170. cframePart.CFrame = CFrame.new(torso.CFrame.p, camera.CoordinateFrame.lookVector * 10000000) + Vector3.new(xPartPos, yPartPos, 0)
  1171.  
  1172. end
  1173.  
  1174. if velocity ~= nil then if velocity.Parent == torso then velocity.velocity = (cframePart.CFrame - cframePart.CFrame.p) * Vector3.new(xPartPos, yPartPos, -motorSpeed) end end
  1175. 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
  1176.  
  1177. end return
  1178.  
  1179. end)) connected = true stand = true
  1180.  
  1181. mouse.KeyDown:connect(function(key) key = key:lower()
  1182.  
  1183. if key == "w" then ForwardDown()
  1184. elseif key == "s" then BackwardDown()
  1185. elseif key == "a" then LeftDown()
  1186. elseif key == "d" then RightDown()
  1187. elseif key == "e" then UpDown()
  1188. elseif key == "q" then DownDown()
  1189.  
  1190. end end)
  1191.  
  1192. mouse.KeyUp:connect(function(key) key = key:lower()
  1193.  
  1194. if key == "w" then ForwardUp() if backward then BackwardDown() end
  1195. elseif key == "s" then BackwardUp() if forward then ForwardDown() end
  1196. elseif key == "a" then LeftUp() if onright then RightDown() end
  1197. elseif key == "d" then RightUp() if onleft then LeftDown() end
  1198. elseif key == "e" then UpUp() if ondown then DownDown() end
  1199. elseif key == "q" then DownUp() if onup then UpDown() end
  1200.  
  1201. end end)
  1202.  
  1203. end
  1204.  
  1205. function Disconnection()
  1206.  
  1207. toolSelected = false wait()
  1208.  
  1209. for index, name in pairs(parts) do
  1210.  
  1211. if getfenv()[name] ~= nil then
  1212.  
  1213. coroutine.resume(coroutine.create(function()
  1214.  
  1215. for i = getfenv()[name].Transparency, 1, 0.1 do wait()
  1216.  
  1217. getfenv()[name].Transparency = i
  1218.  
  1219. end
  1220.  
  1221. end))
  1222.  
  1223. end
  1224.  
  1225. end
  1226.  
  1227. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1228. pos.Parent = torso
  1229. pos.position = torso.CFrame.p
  1230.  
  1231. coroutine.resume(coroutine.create(Strk),0.2)
  1232.  
  1233. for i = 1, 10, 1 do wait()
  1234.  
  1235. pos.position = pos.position - Vector3.new(0, 0.15, 0)
  1236. humanoid.PlatformStand = true
  1237.  
  1238. leftHip.C1 = leftHip.C1 * CFrame.new(0, 0.02, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-1), -math.rad(-1), -math.rad(-1))
  1239. rightHip.C1 = rightHip.C1 * CFrame.new(0, 0.02, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-1), math.rad(-1), math.rad(-1))
  1240.  
  1241. end wait()
  1242.  
  1243. humanoid.PlatformStand = false
  1244.  
  1245. if pos ~= nil then if pos.Parent == torso then pos:remove() end end
  1246. if gyro ~= nil then if gyro.Parent == torso then gyro:remove() end end
  1247. if velocity ~= nil then if velocity.Parent == torso then velocity:remove() end end
  1248. if mainModel ~= nil then mainModel:remove() end
  1249.  
  1250. strikerLoaded = false
  1251. rotationIndice = 0
  1252. motorSpeed = 0
  1253. desiredSpeed = 0
  1254.  
  1255. ForwardUp()
  1256. BackwardUp()
  1257. LeftUp()
  1258. RightUp()
  1259.  
  1260. forward = false
  1261. backward = false
  1262. onleft = false
  1263. onright = false
  1264. onup = false
  1265. ondown = false
  1266.  
  1267. leftHip.C1 = leftHipAngle
  1268. rightHip.C1 = rightHipAngle
  1269.  
  1270. connected = false
  1271.  
  1272. end
  1273.  
  1274. function ForwardDown() forward = true
  1275.  
  1276. desiredGyroAngleX = -maxRotation
  1277. desiredSpeed = maxRotation
  1278.  
  1279. end
  1280.  
  1281. function BackwardDown() backward = true
  1282.  
  1283. desiredGyroAngleX = maxRotation
  1284. desiredSpeed = -maxRotation
  1285.  
  1286. end
  1287.  
  1288. function ForwardUp() forward = false
  1289.  
  1290. desiredGyroAngleX = 0
  1291. desiredSpeed = 0
  1292.  
  1293. end
  1294.  
  1295. function BackwardUp() backward = false
  1296.  
  1297. desiredGyroAngleX = 0
  1298. desiredSpeed = 0
  1299.  
  1300. end
  1301.  
  1302. function LeftDown() onleft = true
  1303.  
  1304. desiredGyroAngleY = -maxRotation
  1305. desiredXPartPos = -maxRotation/2
  1306.  
  1307. end
  1308.  
  1309. function RightDown() onright = true
  1310.  
  1311. desiredGyroAngleY = maxRotation
  1312. desiredXPartPos = maxRotation/2
  1313.  
  1314. end
  1315.  
  1316. function LeftUp() onleft = false
  1317.  
  1318. desiredGyroAngleY = 0
  1319. desiredXPartPos = 0
  1320.  
  1321. end
  1322.  
  1323. function RightUp() onright = false
  1324.  
  1325. desiredGyroAngleY = 0
  1326. desiredXPartPos = 0
  1327.  
  1328. end
  1329.  
  1330. function UpDown() onup = true
  1331.  
  1332. desiredYPartPos = maxRotation/2
  1333.  
  1334. end
  1335.  
  1336. function DownDown() ondown = true
  1337.  
  1338. desiredYPartPos = -maxRotation/2
  1339.  
  1340. end
  1341.  
  1342. function UpUp() onup = false
  1343.  
  1344. desiredYPartPos = 0
  1345.  
  1346. end
  1347.  
  1348. function DownUp() ondown = false
  1349.  
  1350. desiredYPartPos = 0
  1351.  
  1352. end
  1353.  
  1354.  
  1355. bin.Selected:connect(Connection)
  1356. bin.Deselected:connect(Disconnection)
  1357.  
  1358. end
  1359.  
  1360. -- iBTool Function v2 --
  1361.  
  1362. function iCreateBtools()
  1363. plr=iOrb.Player
  1364. if plr:FindFirstChild("PlayerGui") then plg=plr.PlayerGui else return end
  1365. bin=Instance.new("HopperBin",plr:FindFirstChild("Backpack"))
  1366. bin.Name="iBTools"
  1367. bin.Selected:connect(function(mouse)
  1368. box=Instance.new("SelectionBox")
  1369. lso=Instance.new("SelectionPointLasso")
  1370. lso.Visible=false
  1371. coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Humanoid~=nil then
  1372. lso.Humanoid=iOrb.Humanoid end until false end))
  1373. md1=1
  1374. md2=1
  1375. md3=1
  1376. clr=true
  1377. ste=false
  1378. lvi=false
  1379. cle=false
  1380. tme=.5
  1381. function createGui()
  1382. gui=Instance.new("ScreenGui",plg)
  1383. gui.Name="iBGui"
  1384. --PanelGUI--
  1385. frm=Instance.new("Frame",gui)
  1386. frm.Visible=false
  1387. frm.Name="iBPanel"
  1388. frm.Position=UDim2.new(0.0199999996,0,0.400000006,0)
  1389. frm.Size=UDim2.new(0.150000006,0,0.400000006,0)
  1390. frm.Style="RobloxRound"
  1391. frm.ZIndex=8
  1392. lab=Instance.new("TextLabel",frm)
  1393. lab.Name="iBTitle"
  1394. lab.BackgroundTransparency=1
  1395. lab.Size=UDim2.new(1,0,0.150000006,0)
  1396. lab.ZIndex=9
  1397. lab.Font="ArialBold"
  1398. lab.FontSize="Size18"
  1399. lab.Text="iBuildTools Panel"
  1400. lab.TextColor3=Color3.new(1,1,1)
  1401. lab.TextStrokeTransparency=0
  1402. lab.TextStrokeColor3=Color3.new(0,0,0)
  1403. del=Instance.new("TextButton",frm)
  1404. del.Name="iBDelete"
  1405. del.BackgroundTransparency=1
  1406. del.Position=UDim2.new(0,0,0.200000003,0)
  1407. del.Size=UDim2.new(1,0,0.119999997,0)
  1408. del.Style="RobloxButtonDefault"
  1409. del.ZIndex=9
  1410. del.Font="ArialBold"
  1411. del.FontSize="Size12"
  1412. del.Text="Delete"
  1413. del.TextColor3=Color3.new(1,1,1)
  1414. del.Selected=true
  1415. ach=Instance.new("TextButton",frm)
  1416. ach.Name="iBAnchor"
  1417. ach.BackgroundTransparency=1
  1418. ach.Position=UDim2.new(0,0,0.330000013,0)
  1419. ach.Size=UDim2.new(1,0,0.119999997,0)
  1420. ach.Style="RobloxButton"
  1421. ach.ZIndex=9
  1422. ach.Font="ArialBold"
  1423. ach.FontSize="Size12"
  1424. ach.Text="Anchor"
  1425. ach.TextColor3=Color3.new(1,1,1)
  1426. col=Instance.new("TextButton",frm)
  1427. col.Name="iBCanCollide"
  1428. col.BackgroundTransparency=1
  1429. col.Position=UDim2.new(0,0,0.460000008,0)
  1430. col.Size=UDim2.new(1,0,0.119999997,0)
  1431. col.Style="RobloxButton"
  1432. col.ZIndex=9
  1433. col.Font="ArialBold"
  1434. col.FontSize="Size12"
  1435. col.Text="CanCollide"
  1436. col.TextColor3=Color3.new(1,1,1)
  1437. lck=Instance.new("TextButton",frm)
  1438. lck.Name="iBLock"
  1439. lck.BackgroundTransparency=1
  1440. lck.Position=UDim2.new(0,0,0.579999983,0)
  1441. lck.Size=UDim2.new(1,0,0.119999997,0)
  1442. lck.Style="RobloxButton"
  1443. lck.ZIndex=9
  1444. lck.Font="ArialBold"
  1445. lck.FontSize="Size12"
  1446. lck.Text="Lock"
  1447. lck.TextColor3=Color3.new(1,1,1)
  1448. brk=Instance.new("TextButton",frm)
  1449. brk.Name="iBBreak"
  1450. brk.BackgroundTransparency=1
  1451. brk.Position=UDim2.new(0,0,0.699999988,0)
  1452. brk.Size=UDim2.new(1,0,0.119999997,0)
  1453. brk.Style="RobloxButton"
  1454. brk.ZIndex=9
  1455. brk.Font="ArialBold"
  1456. brk.FontSize="Size12"
  1457. brk.Text="BreakJoints"
  1458. brk.TextColor3=Color3.new(1,1,1)
  1459. set=Instance.new("TextButton",frm)
  1460. set.Name="iBSettings"
  1461. set.BackgroundTransparency=1
  1462. set.Position=UDim2.new(0,0,0.829999983,0)
  1463. set.Size=UDim2.new(1,0,0.119999997,0)
  1464. set.Style="RobloxButton"
  1465. set.ZIndex=9
  1466. set.Font="ArialBold"
  1467. set.FontSize="Size12"
  1468. set.Text="Settings"
  1469. set.TextColor3=Color3.new(1,1,1)
  1470. frm.Visible=true
  1471. --SettingsGUI--
  1472. frs=Instance.new("Frame",gui)
  1473. frs.Visible=false
  1474. frs.Name="iBSettings"
  1475. frs.Position=UDim2.new(0.389999986,0,0.400000006,0)
  1476. frs.Size=UDim2.new(0.25,0,0.25,0)
  1477. frs.Style="RobloxRound"
  1478. frs.ZIndex=8
  1479. frw=Instance.new("Frame",frs)
  1480. frw.Name="iBWindow"
  1481. frw.Position=UDim2.new(0,0,0.25999999,0)
  1482. frw.Size=UDim2.new(1,0,0.74000001,0)
  1483. frw.Style="RobloxRound"
  1484. frw.ZIndex=8
  1485. cls=Instance.new("TextButton",frs)
  1486. cls.Name="iBClose"
  1487. cls.Position=UDim2.new(0.850000024,0,-0.00999999978,0)
  1488. cls.Size=UDim2.new(0.150000006,0,0.219999999,0)
  1489. cls.Style="RobloxButtonDefault"
  1490. cls.ZIndex=10
  1491. cls.Font="ArialBold"
  1492. cls.FontSize="Size12"
  1493. cls.Text="X"
  1494. cls.TextColor3=Color3.new(1,0,0)
  1495. wtl=Instance.new("TextLabel",frs)
  1496. wtl.Name="iBTitle"
  1497. wtl.BackgroundTransparency=1
  1498. wtl.Size=UDim2.new(1,0,0.25,0)
  1499. wtl.ZIndex=9
  1500. wtl.Font="ArialBold"
  1501. wtl.FontSize="Size14"
  1502. wtl.Text="iBuildTools Settings Window"
  1503. wtl.TextColor3=Color3.new(1,1,1)
  1504. wtl.TextStrokeColor3=Color3.new(0,0,0)
  1505. wtl.TextStrokeTransparency=0
  1506. wtl.TextXAlignment="Left"
  1507. clk=Instance.new("TextLabel",frw)
  1508. clk.Name="iBClick"
  1509. clk.BackgroundTransparency=1
  1510. clk.Size=UDim2.new(1,0,0.330000013,0)
  1511. clk.ZIndex=10
  1512. clk.Font="ArialBold"
  1513. clk.FontSize="Size12"
  1514. clk.TextColor3=Color3.new(1,1,1)
  1515. clk.Text=" - Click Mode : "
  1516. clk.TextStrokeColor3=Color3.new(0,0,0)
  1517. clk.TextStrokeTransparency=0
  1518. clk.TextXAlignment="Left"
  1519. ray=Instance.new("TextLabel",frw)
  1520. ray.Name="iBRay"
  1521. ray.BackgroundTransparency=1
  1522. ray.Position=UDim2.new(0,0,0.330000013,0)
  1523. ray.Size=UDim2.new(1,0,0.330000013,0)
  1524. ray.ZIndex=10
  1525. ray.Font="ArialBold"
  1526. ray.FontSize="Size12"
  1527. ray.TextColor3=Color3.new(1,1,1)
  1528. ray.Text=" - Ray Mode : "
  1529. ray.TextStrokeColor3=Color3.new(0,0,0)
  1530. ray.TextStrokeTransparency=0
  1531. ray.TextXAlignment="Left"
  1532. rfc=Instance.new("TextLabel",frw)
  1533. rfc.Name="iBRayFunction"
  1534. rfc.BackgroundTransparency=1
  1535. rfc.Position=UDim2.new(0,0,0.660000013,0)
  1536. rfc.Size=UDim2.new(1,0,0.330000013,0)
  1537. rfc.ZIndex=10
  1538. rfc.Font="ArialBold"
  1539. rfc.FontSize="Size12"
  1540. rfc.TextColor3=Color3.new(1,1,1)
  1541. rfc.Text=" - Ray Function : "
  1542. rfc.TextStrokeColor3=Color3.new(0,0,0)
  1543. rfc.TextStrokeTransparency=0
  1544. rfc.TextXAlignment="Left"
  1545. ckb=Instance.new("TextButton",frw)
  1546. ckb.Name="iBClickButton"
  1547. ckb.Position=UDim2.new(0.400000006,0,0,0)
  1548. ckb.Size=UDim2.new(0.600000024,0,0.330000013,0)
  1549. ckb.ZIndex=10
  1550. ckb.Selected=true
  1551. ckb.Style="RobloxButtonDefault"
  1552. ckb.Font="ArialBold"
  1553. ckb.FontSize="Size12"
  1554. ckb.Text="Enabled"
  1555. ckb.TextColor3=Color3.new(0,1,0)
  1556. ryb=Instance.new("TextButton",frw)
  1557. ryb.Name="iBRayButton"
  1558. ryb.Position=UDim2.new(0.400000006,0,0.330000013,0)
  1559. ryb.Size=UDim2.new(0.600000024,0,0.330000013,0)
  1560. ryb.Style="RobloxButton"
  1561. ryb.ZIndex=10
  1562. ryb.Font="ArialBold"
  1563. ryb.FontSize="Size12"
  1564. ryb.Text="Disabled"
  1565. ryb.TextColor3=Color3.new(1,0,0)
  1566. rfb=Instance.new("TextButton",frw)
  1567. rfb.Name="iBRayFButton"
  1568. rfb.Position=UDim2.new(0.400000006,0,0.660000013,0)
  1569. rfb.Size=UDim2.new(0.600000024,0,0.330000013,0)
  1570. rfb.Style="RobloxButtonDefault"
  1571. rfb.ZIndex=10
  1572. rfb.Font="ArialBold"
  1573. rfb.FontSize="Size12"
  1574. rfb.Text="Enable Propertie"
  1575. rfb.TextColor3=Color3.new(0,1,0)
  1576. end createGui()
  1577. coroutine.resume(coroutine.create(function()
  1578. while(mouse)and wait() do
  1579. if(box)and(ray)then
  1580. if(lvi)then
  1581. lso.Visible=true
  1582. else
  1583. lso.Visible=false
  1584. end
  1585. if(md1==1)then
  1586. if(clr)then
  1587. if(mouse.Target~=nil)then
  1588. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1589. box.Visible=true
  1590. box.Parent=game.Workspace.CurrentCamera
  1591. box.Adornee=mouse.Target
  1592. if(md2==1)then
  1593. box.Color=BrickColor.new("Bright red")
  1594. elseif(md2==2)then
  1595. if(mouse.Target.Anchored)then
  1596. box.Color=BrickColor.new("Camo")
  1597. else
  1598. box.Color=BrickColor.new("Bright red")
  1599. end
  1600. elseif(md2==3)then
  1601. if(mouse.Target.CanCollide)then
  1602. box.Color=BrickColor.new("Camo")
  1603. else
  1604. box.Color=BrickColor.new("Bright red")
  1605. end
  1606. elseif(md2==4)then
  1607. if(mouse.Target.Locked)then
  1608. box.Color=BrickColor.new("Camo")
  1609. else
  1610. box.Color=BrickColor.new("Bright red")
  1611. end
  1612. elseif(md2==5)then
  1613. box.Color=BrickColor.new("Bright blue")
  1614. end
  1615. end
  1616. else
  1617. box.Visible=false
  1618. box.Parent=nil
  1619. box.Adornee=nil
  1620. end
  1621. end
  1622. elseif(md1==2)then
  1623. lso.Point=mouse.Hit.p
  1624. box.Visible=false
  1625. box.Parent=nil
  1626. box.Adornee=nil
  1627. if(md2~=1)and(md2~=5)then
  1628. if(md3==1)then
  1629. lso.Color=BrickColor.new("Camo")
  1630. elseif(md3==2)then
  1631. lso.Color=BrickColor.new("Bright red")
  1632. end
  1633. elseif(md2==1)then
  1634. if(cle)then
  1635. lso.Color=BrickColor.new("Bright red")
  1636. else
  1637. lso.Color=BrickColor.new("Bright blue")
  1638. end
  1639. elseif(md2==5)then
  1640. if(cle)then
  1641. lso.Color=BrickColor.new("Bright red")
  1642. else
  1643. lso.Color=BrickColor.new("Bright blue")
  1644. end
  1645. end
  1646. end
  1647. end
  1648. end
  1649. end))
  1650. function delDown()
  1651. del_downFunc=mouse.Button1Down:connect(function()
  1652. md2=1
  1653. if(md2==1)then
  1654. if(md1==1)then
  1655. if(mouse.Target~=nil)then
  1656. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1657. mouse.Target:remove()
  1658. end
  1659. end
  1660. elseif(md1==2)then
  1661. lvi=true
  1662. lso.Parent=game.Workspace.CurrentCamera
  1663. while(lvi)and wait() do
  1664. if(mouse.Target~=nil)then
  1665. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1666. mouse.Target:remove()
  1667. cle=true
  1668. wait(tme)
  1669. cle=false
  1670. else
  1671. cle=false
  1672. end
  1673. else
  1674. cle=false
  1675. end
  1676. end
  1677. end
  1678. end
  1679. end)
  1680. end
  1681. function delUp()
  1682. del_upFunc=mouse.Button1Up:connect(function()
  1683. lvi=false
  1684. cle=false
  1685. lso.Parent=nil
  1686. end)
  1687. end
  1688. function achDown()
  1689. ach_downFunc=mouse.Button1Down:connect(function()
  1690. md2=2
  1691. if(md2==2)then
  1692. if(md1==1)then
  1693. if(mouse.Target~=nil)then
  1694. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1695. if(mouse.Target.Anchored)then
  1696. mouse.Target.Anchored=false
  1697. else
  1698. mouse.Target.Anchored=true
  1699. end
  1700. end
  1701. end
  1702. elseif(md1==2)then
  1703. lvi=true
  1704. lso.Parent=game.Workspace.CurrentCamera
  1705. while(lvi)and wait() do
  1706. if(mouse.Target~=nil)then
  1707. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1708. if(md3==1)then
  1709. mouse.Target.Anchored=true
  1710. elseif(md3==2)then
  1711. mouse.Target.Anchored=false
  1712. end
  1713. end
  1714. end
  1715. end
  1716. end
  1717. end
  1718. end)
  1719. end
  1720. function achUp()
  1721. ach_upFunc=mouse.Button1Up:connect(function()
  1722. lvi=false
  1723. lso.Parent=nil
  1724. end)
  1725. end
  1726. function colDown()
  1727. col_downFunc=mouse.Button1Down:connect(function()
  1728. md2=3
  1729. if(md2==3)then
  1730. if(md1==1)then
  1731. if(mouse.Target~=nil)then
  1732. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1733. if(mouse.Target.CanCollide)then
  1734. mouse.Target.CanCollide=false
  1735. else
  1736. mouse.Target.CanCollide=true
  1737. end
  1738. end
  1739. end
  1740. elseif(md1==2)then
  1741. lvi=true
  1742. lso.Parent=game.Workspace.CurrentCamera
  1743. while(lvi)and wait() do
  1744. if(mouse.Target~=nil)then
  1745. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1746. if(md3==1)then
  1747. mouse.Target.CanCollide=true
  1748. elseif(md3==2)then
  1749. mouse.Target.CanCollide=false
  1750. end
  1751. end
  1752. end
  1753. end
  1754. end
  1755. end
  1756. end)
  1757. end
  1758. function colUp()
  1759. col_upFunc=mouse.Button1Up:connect(function()
  1760. lvi=false
  1761. lso.Parent=nil
  1762. end)
  1763. end
  1764. function lckDown()
  1765. lck_downFunc=mouse.Button1Down:connect(function()
  1766. md2=4
  1767. if(md2==4)then
  1768. if(md1==1)then
  1769. if(mouse.Target~=nil)then
  1770. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1771. if(mouse.Target.Locked)then
  1772. mouse.Target.Locked=false
  1773. else
  1774. mouse.Target.Locked=true
  1775. end
  1776. end
  1777. end
  1778. elseif(md1==2)then
  1779. lvi=true
  1780. lso.Parent=game.Workspace.CurrentCamera
  1781. while(lvi)and wait() do
  1782. if(mouse.Target~=nil)then
  1783. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1784. if(md3==1)then
  1785. mouse.Target.Locked=true
  1786. elseif(md3==2)then
  1787. mouse.Target.Locked=false
  1788. end
  1789. end
  1790. end
  1791. end
  1792. end
  1793. end
  1794. end)
  1795. end
  1796. function lckUp()
  1797. lck_upFunc=mouse.Button1Up:connect(function()
  1798. lvi=false
  1799. lso.Parent=nil
  1800. end)
  1801. end
  1802. function brkDown()
  1803. brk_downFunc=mouse.Button1Down:connect(function()
  1804. md2=5
  1805. if(md2==5)then
  1806. if(md1==1)then
  1807. if(mouse.Target~=nil)then
  1808. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1809. clr=false
  1810. box.Color=BrickColor.new("Bright red")
  1811. mouse.Target:BreakJoints()
  1812. end
  1813. end
  1814. elseif(md1==2)then
  1815. lvi=true
  1816. lso.Parent=game.Workspace.CurrentCamera
  1817. while(lvi)and wait() do
  1818. if(mouse.Target~=nil)then
  1819. if(mouse.Target:IsA("BasePart"))and(mouse.Target~=iOrb.Orb)or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  1820. mouse.Target:BreakJoints()
  1821. cle=true
  1822. else
  1823. cle=true
  1824. end
  1825. else
  1826. cle=false
  1827. end
  1828. end
  1829. end
  1830. end
  1831. end)
  1832. end
  1833. function brkUp()
  1834. brk_upFunc=mouse.Button1Up:connect(function()
  1835. clr=true
  1836. lvi=false
  1837. cle=false
  1838. end)
  1839. end
  1840. delDown()
  1841. delUp()
  1842. achDown()
  1843. achUp()
  1844. colDown()
  1845. colUp()
  1846. lckDown()
  1847. lckUp()
  1848. brkDown()
  1849. brkUp()
  1850. del.MouseButton1Click:connect(function()
  1851. md2=1
  1852. del_downFunc:disconnect()
  1853. del_upFunc:disconnect()
  1854. ach_downFunc:disconnect()
  1855. ach_upFunc:disconnect()
  1856. col_downFunc:disconnect()
  1857. col_upFunc:disconnect()
  1858. lck_downFunc:disconnect()
  1859. lck_upFunc:disconnect()
  1860. brk_downFunc:disconnect()
  1861. brk_upFunc:disconnect()
  1862. del.Style="RobloxButtonDefault"
  1863. del.Selected=true
  1864. ach.Style="RobloxButton"
  1865. ach.Selected=false
  1866. col.Style="RobloxButton"
  1867. col.Selected=false
  1868. lck.Style="RobloxButton"
  1869. lck.Selected=false
  1870. brk.Style="RobloxButton"
  1871. brk.Selected=false
  1872. delDown()
  1873. delUp()
  1874. end)
  1875. ach.MouseButton1Click:connect(function()
  1876. md2=2
  1877. del_downFunc:disconnect()
  1878. del_upFunc:disconnect()
  1879. ach_downFunc:disconnect()
  1880. ach_upFunc:disconnect()
  1881. col_downFunc:disconnect()
  1882. col_upFunc:disconnect()
  1883. lck_downFunc:disconnect()
  1884. lck_upFunc:disconnect()
  1885. brk_downFunc:disconnect()
  1886. brk_upFunc:disconnect()
  1887. del.Style="RobloxButton"
  1888. del.Selected=false
  1889. ach.Style="RobloxButtonDefault"
  1890. ach.Selected=true
  1891. col.Style="RobloxButton"
  1892. col.Selected=false
  1893. lck.Style="RobloxButton"
  1894. lck.Selected=false
  1895. brk.Style="RobloxButton"
  1896. brk.Selected=false
  1897. achDown()
  1898. achUp()
  1899. end)
  1900. col.MouseButton1Click:connect(function()
  1901. md2=3
  1902. del_downFunc:disconnect()
  1903. del_upFunc:disconnect()
  1904. ach_downFunc:disconnect()
  1905. ach_upFunc:disconnect()
  1906. col_downFunc:disconnect()
  1907. col_upFunc:disconnect()
  1908. lck_downFunc:disconnect()
  1909. lck_upFunc:disconnect()
  1910. brk_downFunc:disconnect()
  1911. brk_upFunc:disconnect()
  1912. del.Style="RobloxButton"
  1913. del.Selected=false
  1914. ach.Style="RobloxButton"
  1915. ach.Selected=false
  1916. col.Style="RobloxButtonDefault"
  1917. col.Selected=true
  1918. lck.Style="RobloxButton"
  1919. lck.Selected=false
  1920. brk.Style="RobloxButton"
  1921. brk.Selected=false
  1922. colDown()
  1923. colUp()
  1924. end)
  1925. lck.MouseButton1Click:connect(function()
  1926. md2=4
  1927. del_downFunc:disconnect()
  1928. del_upFunc:disconnect()
  1929. ach_downFunc:disconnect()
  1930. ach_upFunc:disconnect()
  1931. col_downFunc:disconnect()
  1932. col_upFunc:disconnect()
  1933. lck_downFunc:disconnect()
  1934. lck_upFunc:disconnect()
  1935. brk_downFunc:disconnect()
  1936. brk_upFunc:disconnect()
  1937. del.Style="RobloxButton"
  1938. del.Selected=false
  1939. ach.Style="RobloxButton"
  1940. ach.Selected=false
  1941. col.Style="RobloxButton"
  1942. col.Selected=false
  1943. lck.Style="RobloxButtonDefault"
  1944. lck.Selected=true
  1945. brk.Style="RobloxButton"
  1946. brk.Selected=false
  1947. lckDown()
  1948. lckUp()
  1949. end)
  1950. brk.MouseButton1Click:connect(function()
  1951. md2=5
  1952. del_downFunc:disconnect()
  1953. del_upFunc:disconnect()
  1954. ach_downFunc:disconnect()
  1955. ach_upFunc:disconnect()
  1956. col_downFunc:disconnect()
  1957. col_upFunc:disconnect()
  1958. lck_downFunc:disconnect()
  1959. lck_upFunc:disconnect()
  1960. brk_downFunc:disconnect()
  1961. brk_upFunc:disconnect()
  1962. del.Style="RobloxButton"
  1963. del.Selected=false
  1964. ach.Style="RobloxButton"
  1965. ach.Selected=false
  1966. col.Style="RobloxButton"
  1967. col.Selected=false
  1968. lck.Style="RobloxButton"
  1969. lck.Selected=false
  1970. brk.Style="RobloxButtonDefault"
  1971. brk.Selected=true
  1972. brkDown()
  1973. brkUp()
  1974. end)
  1975. set.MouseButton1Click:connect(function()
  1976. if(ste)then
  1977. ste=false
  1978. frs.Visible=false
  1979. set.Style="RobloxButton"
  1980. else
  1981. ste=true
  1982. frs.Visible=true
  1983. set.Style="RobloxButtonDefault"
  1984. end
  1985. end)
  1986. cls.MouseButton1Click:connect(function()
  1987. ste=false
  1988. frs.Visible=false
  1989. set.Style="RobloxButton"
  1990. end)
  1991. ckb.MouseButton1Click:connect(function()
  1992. md1=1
  1993. ckb.Style="RobloxButtonDefault"
  1994. ckb.Selected=true
  1995. ckb.Text="Enabled"
  1996. ckb.TextColor3=Color3.new(0,1,0)
  1997. ryb.Style="RobloxButton"
  1998. ryb.Selected=false
  1999. ryb.Text="Disabled"
  2000. ryb.TextColor3=Color3.new(1,0,0)
  2001. end)
  2002. ryb.MouseButton1Click:connect(function()
  2003. md1=2
  2004. ryb.Style="RobloxButtonDefault"
  2005. ryb.Selected=true
  2006. ryb.Text="Enabled"
  2007. ryb.TextColor3=Color3.new(0,1,0)
  2008. ckb.Style="RobloxButton"
  2009. ckb.Selected=false
  2010. ckb.Text="Disabled"
  2011. ckb.TextColor3=Color3.new(1,0,0)
  2012. end)
  2013. rfb.MouseButton1Click:connect(function()
  2014. if(md3==1)then
  2015. md3=2
  2016. rfb.Style="RobloxButton"
  2017. rfb.Text="Disable Propertie"
  2018. rfb.TextColor3=Color3.new(1,0,0)
  2019. elseif(md3==2)then
  2020. md3=1
  2021. rfb.Style="RobloxButtonDefault"
  2022. rfb.Text="Enable Propertie"
  2023. rfb.TextColor3=Color3.new(0,1,0)
  2024. end
  2025. end)
  2026. end)
  2027. bin.Deselected:connect(function()
  2028. clr=false
  2029. if(box~=nil)then
  2030. box:Destroy()
  2031. end
  2032. if(lso~=nil)then
  2033. lso:Destroy()
  2034. end
  2035. if(gui~=nil)then
  2036. gui:Destroy()
  2037. end
  2038. end)
  2039. end
  2040.  
  2041. -- Run chatEvent --
  2042.  
  2043. iPrimaryChat=iOrb.Player.Chatted:connect(iOrbChat)
  2044.  
  2045. -- Commands --
  2046.  
  2047. iCmd.turn=function(boolean)
  2048. if boolean=="true" or boolean==nil or boolean=="" then iOrb.Turn=true elseif boolean=="false" then iOrb.Turn=false end
  2049. end
  2050.  
  2051. iCmd.tena=function(boolean)
  2052. if boolean=="true" or boolean==nil or boolean=="" then iOrb.Trail=true elseif boolean=="false" then iOrb.Trail=false end
  2053. end
  2054.  
  2055. iCmd.fena=function(boolean)
  2056. 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
  2057. end
  2058.  
  2059. iCmd.move=function(boolean)
  2060. if boolean=="true" or boolean==nil or boolean=="" and not iOrb.Move then iOrb.Move=true elseif boolean=="false" then iOrb.Move=false end
  2061. end
  2062.  
  2063. iCmd.fchange=function(boolean)
  2064. if boolean=="true" or boolean==nil or boolean=="" then iOrb.FireColorChange=true elseif boolean=="false" then iOrb.FireColorChange=false end
  2065. end
  2066.  
  2067. iCmd.localorb=function(boolean) if not iOrb.Orbed then
  2068. 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
  2069. end end
  2070.  
  2071. iCmd.particles=function(boolean)
  2072. if boolean=="true" or boolean==nil or boolean=="" then iOrb.Particles=true elseif boolean=="false" then iOrb.Particles=false end
  2073. end
  2074.  
  2075. iCmd.rotspeed=function(number)
  2076. if tonumber(number,10) then iOrb.RotSpeed=tonumber(number,10) iOrb.RotCoef=tonumber(number,10) end
  2077. end
  2078.  
  2079. iCmd.levirise=function(number)
  2080. if tonumber(number,10) then iOrb.LeviRise=tonumber(number,10) end
  2081. end
  2082.  
  2083. iCmd.levispeed=function(number)
  2084. if tonumber(number,10) then iOrb.LeviSpeed=tonumber(number,10) end
  2085. end
  2086.  
  2087. iCmd.tsize=function(number)
  2088. if tonumber(number,10) then iOrb.TSize=tonumber(number,10) end
  2089. end
  2090.  
  2091. iCmd.fsize=function(number)
  2092. if tonumber(number,10) then if iOrb.Fire~=nil then iOrb.Fire.Size=tonumber(number,10) end end
  2093. end
  2094.  
  2095. iCmd.fheat=function(number)
  2096. if tonumber(number,10) then if iOrb.Fire~=nil then iOrb.Fire.Heat=tonumber(number,10) end end
  2097. end
  2098.  
  2099. iCmd.x=function(number)
  2100. if tonumber(number,10) then iOrb.BaseX=tonumber(number,10) end
  2101. end
  2102.  
  2103. iCmd.y=function(number)
  2104. if tonumber(number,10) then iOrb.BaseY=tonumber(number,10) end
  2105. end
  2106.  
  2107. iCmd.z=function(number)
  2108. if tonumber(number,10) then iOrb.BaseZ=tonumber(number,10) end
  2109. end
  2110.  
  2111. iCmd.kill=function(player)
  2112. player=iGetPlayer(player)
  2113. iPCmd(player,"Bright red")
  2114. for _,v in pairs(player) do
  2115. if v.Character~=nil then
  2116. v.Character:BreakJoints()
  2117. end
  2118. end
  2119. end
  2120.  
  2121. iCmd.kl=function(player) iCmd.kill(player) end
  2122.  
  2123. iCmd.loopkill=function(player)
  2124. player=iGetPlayer(player)
  2125. iPCmd(player,"Bright red")
  2126. for _,v in pairs(player) do
  2127. table.insert(iLkl,tostring(v))
  2128. end
  2129. end
  2130.  
  2131. iCmd.lkl=function(player) iCmd.loopkill(player) end
  2132.  
  2133. iCmd.unloopkill=function(player) player=iGetPlayer(player)
  2134. for _,v in pairs(player) do
  2135. for i,t in pairs(iLkl) do
  2136. if tostring(v):match(t) then table.remove(iLkl,i) end
  2137. end
  2138. end
  2139. end
  2140.  
  2141. iCmd.unlkl=function(player) iCmd.unloopkill(player) end
  2142.  
  2143. iCmd.kick=function(player)
  2144. player=iGetPlayer(player)
  2145. iPCmd(player,"Bright red")
  2146. for _,v in pairs(player) do
  2147. local obj=Instance.new("ObjectValue",game.Players) obj.Name=v.Name v:Destroy()
  2148. end
  2149. end
  2150.  
  2151. iCmd.banlist=function()
  2152. for _,v in pairs(iBan) do
  2153. iOrb.runmsg=true iTypeMsg(tostring(v):sub(1,i),1) iOrb.runmsg=false
  2154. end
  2155. end
  2156.  
  2157. iCmd.ban=function(player)
  2158. player=iGetPlayer(player)
  2159. iPCmd(player,"Bright red")
  2160. for _,v in pairs(player) do
  2161. table.insert(iBan,v) local obj=Instance.new("ObjectValue",game.Players) obj.Name=v.Name v:Destroy()
  2162. end
  2163. end
  2164.  
  2165. iCmd.unban=function(player) plrb=iGetPlayer(player)
  2166. for _,v in pairs(plrb) do
  2167. for i,t in pairs(iBan) do
  2168. if tostring(v):match(t) then table.remove(iBan,i) end
  2169. end
  2170. end
  2171. for _,v in pairs(iBan) do if player~=nil or player~="" or player~="all" then
  2172. if string.lower(tostring(v):sub(1,player:len()))==player:lower() then
  2173. table.remove(iBan,_) if game.Players:FindFirstChild(v) then if game.Players:FindFirstChild(v):IsA("ObjectValue") then game.Players:FindFirstChild(v):remove() end end
  2174. end
  2175. 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
  2176. end
  2177.  
  2178. iCmd.orb=function() if not iOrb.Orbed and game.Players.LocalPlayer~=nil then
  2179. iOrb.Player.Character.Archivable=true
  2180. iOrb.CharacterClone = iOrb.Player.Character:clone()
  2181. 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
  2182. end end
  2183.  
  2184. iCmd.char=function() if iOrb.Orbed and game.Players:FindFirstChild(iOrb.PlayerName) then if not game.Players:FindFirstChild(iOrb.PlayerName):IsA("ObjectValue") then wait()
  2185. local currentOrbPosition = iOrb.Orb.CFrame
  2186. 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()
  2187. iOrb.CharacterClone.Parent=game.Workspace
  2188. iOrb.Player.Character = iOrb.CharacterClone
  2189. if iOrb.CharacterClone:FindFirstChild("Animate") then
  2190. iOrb.CharacterClone.Animate.Disabled = true
  2191. wait()
  2192. iOrb.CharacterClone.Animate.Disabled = false
  2193. end
  2194. 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
  2195. end end end
  2196.  
  2197. iCmd.fly=function() if not iOrb.Orbed then
  2198. if iOrb.Player ~= nil then
  2199. if iOrb.Player.Character ~= nil then
  2200. iStriker()
  2201. end
  2202. end
  2203. end end
  2204.  
  2205. iCmd.ff=function(player)
  2206. player=iGetPlayer(player)
  2207. iPCmd(player,"Bright blue")
  2208. for _,v in pairs(player) do
  2209. if v.Character~=nil then
  2210. Instance.new("ForceField",v.Character)
  2211. end
  2212. end
  2213. end
  2214.  
  2215. iCmd.explode=function(player)
  2216. if iOrb.Orbed and iOrb.Orb~=nil and player=="me" then
  2217. local boom=Instance.new("Explosion",iOrb.Orb)
  2218. boom.Position=iOrb.Orb.CFrame.p
  2219. boom.ExplosionType=2
  2220. else
  2221. player=iGetPlayer(player)
  2222. iPCmd(player,"Bright red")
  2223. for _,v in pairs(player) do
  2224. if v.Character~=nil then
  2225. if v.Character:FindFirstChild("Torso") then
  2226. local boom=Instance.new("Explosion",v.Character.Torso)
  2227. boom.Position=v.Character.Torso.CFrame.p
  2228. boom.ExplosionType=2
  2229. end
  2230. end
  2231. end
  2232. end
  2233. end
  2234.  
  2235. iCmd.expl=function(player) iCmd.explode(player) end
  2236.  
  2237. iCmd.tower=function(player,height,duration)
  2238. player=iGetPlayer(player)
  2239. iPCmd(player,"Bright red")
  2240. for _,v in pairs(player) do
  2241. if v == iOrb.Player and iOrb.Orbed then else
  2242. if v.Character~=nil then
  2243. if v.Character:FindFirstChild("Torso") then
  2244. coroutine.wrap(function()
  2245. local heightValue = nil
  2246. local part = Instance.new("Part",game.Workspace)
  2247. part.Name = "iTower"
  2248. part.Anchored = true
  2249. part.Locked = true
  2250. part.CanCollide = true
  2251. part.FormFactor = Enum.FormFactor.Custom
  2252. part.Material = Enum.Material.Concrete
  2253. part.BottomSurface="Smooth"
  2254. part.TopSurface="Smooth"
  2255. part.BrickColor = BrickColor.new("Medium stone grey")
  2256. part.Size = Vector3.new(10,.2,10)
  2257. part.CFrame = v.Character.Torso.CFrame * CFrame.new(0,-2.5,0)
  2258. if height == "" or tonumber(height) <= 0 or height == nil then heightValue = 30
  2259. else heightValue = tonumber(height) end
  2260. for i = part.Size.y, heightValue, .25 do wait()
  2261. local currentPos = part.CFrame
  2262. part.Size = Vector3.new(10,i,10)
  2263. part.CFrame = currentPos * CFrame.new(0,.25/2,0)
  2264. end
  2265. coroutine.wrap(function()
  2266. local durationValue = nil
  2267. if duration == "" or duration == nil or tonumber(duration) > 120 or tonumber(duration) <= 0 then durationValue = 15
  2268. else durationValue = tonumber(duration) end
  2269. wait(durationValue)
  2270. if part ~= nil and part.Parent == game.Workspace then
  2271. for i = part.Size.y, .2, -.25 do wait()
  2272. pcall(function()
  2273. local currentPos = part.CFrame
  2274. part.Size = Vector3.new(10,i,10)
  2275. part.CFrame = currentPos * CFrame.new(0,-.25/2,0)
  2276. end)
  2277. end
  2278. pcall(function() part:remove() end)
  2279. end
  2280. end)()
  2281. end)()
  2282. end
  2283. end
  2284. end
  2285. end
  2286. end
  2287.  
  2288. iCmd.respawn=function(player)
  2289. player=iGetPlayer(player)
  2290. iPCmd(player,"Bright blue")
  2291. for _,v in pairs(player) do coroutine.resume(coroutine.create(function()
  2292. if v==game.Players.LocalPlayer and iOrb.Orbed then return end
  2293. local model=Instance.new("Model",game.Workspace)
  2294. local humanoid=Instance.new("Humanoid",model)
  2295. local head=Instance.new("Part",model)
  2296. head.Anchored=true
  2297. head.Locked=true
  2298. head.CanCollide=true
  2299. head.Transparency=1
  2300. head.CFrame=CFrame.new(0,100000,0)
  2301. head.Name="Torso"
  2302. head.FormFactor="Custom"
  2303. head.Size=Vector3.new(.2,.2,.2)
  2304. model.Name=""
  2305. humanoid.MaxHealth=math.huge
  2306. v.Character=model wait(.1)
  2307. if v==game.Players.LocalPlayer then iOrb.runmsg=true iTypeMsg("Respawning. Please wait...",3) iOrb.runmsg=false end end))
  2308. end
  2309. end
  2310.  
  2311. iCmd.resp=function(player) iCmd.respawn(player) end
  2312.  
  2313. iCmd.punish=function(player)
  2314. player=iGetPlayer(tostring(player))
  2315. iPCmd(player,"Bright red")
  2316. for _,v in pairs(player) do
  2317. if v.Character~=nil then
  2318. v.Character.Parent=game:GetService("Debris")
  2319. end
  2320. end
  2321. end
  2322.  
  2323. iCmd.pun=function(player) iCmd.punish(player) end
  2324.  
  2325. iCmd.unpunish=function(player)
  2326. player=iGetPlayer(tostring(player))
  2327. iPCmd(player,"Camo")
  2328. for _,v in pairs(player) do
  2329. if v.Character~=nil then
  2330. for i,p in pairs(game:GetService("Debris"):GetChildren())do
  2331. if p:IsA("Model") and game.Players:FindFirstChild(p.Name) then
  2332. p.Parent=game.Workspace
  2333. p:MakeJoints()
  2334. end
  2335. end
  2336. end
  2337. end
  2338. end
  2339.  
  2340. iCmd.unpun=function(player) iCmd.unpunish(player) end
  2341.  
  2342. iCmd.unff=function(player)
  2343. player=iGetPlayer(tostring(player))
  2344. iPCmd(player,"Bright blue")
  2345. for _,v in pairs(player) do
  2346. if v.Character~=nil then
  2347. for _,e in pairs(v.Character:GetChildren())do
  2348. if e:IsA("ForceField") then
  2349. e:remove()
  2350. end
  2351. end
  2352. end
  2353. end
  2354. end
  2355.  
  2356. iCmd.skydive=function(player)
  2357. player=iGetPlayer(player)
  2358. iPCmd(player,"Bright blue")
  2359. for _,v in pairs(player) do
  2360. if v.Character~=nil then
  2361. if v.Character:FindFirstChild("Torso") then
  2362. coroutine.resume(coroutine.create(function() for i=1,26,1 do wait() v.Character.Torso.CFrame=CFrame.new(0,1000,0) end end))
  2363. end
  2364. end
  2365. end
  2366. end
  2367.  
  2368. iCmd.tp=function(player,player2)
  2369. player=iGetPlayer(player)
  2370. player2=iGetPlayer(player2)
  2371. coroutine.resume(coroutine.create(iPCmd),player,"Bright blue")
  2372. iPCmd(player2,"Bright blue")
  2373. for _,v in pairs(player) do
  2374. for i,v2 in pairs(player2) do if v~=v2 then
  2375. if v.Character~=nil and v2.Character~=nil then
  2376. if v.Character:FindFirstChild("Torso") and v2.Character:FindFirstChild("Torso") then
  2377. 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))
  2378. end
  2379. end
  2380. end end
  2381. end
  2382. end
  2383.  
  2384. iCmd.tele=function(player,player2) iCmd.tp(player,player2) end
  2385.  
  2386. iCmd.teleport=function(player,player2) iCmd.tp(player,player2) end
  2387.  
  2388. iCmd.teletoorb=function(player)
  2389. player=iGetPlayer(player)
  2390. iPCmd(player,"Bright blue")
  2391. for _,v in pairs(player) do
  2392. if v.Character~=nil and iOrb.Orb~=nil then
  2393. if v.Character:FindFirstChild("Torso") then
  2394. 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))
  2395. end
  2396. end
  2397. end
  2398. end
  2399.  
  2400. iCmd.tto=function(player) iCmd.teletoorb(player) end
  2401.  
  2402. iCmd.grab=function(player)
  2403. player=iGetPlayer(player)
  2404. iPCmd(player,"Magenta")
  2405. for _,v in pairs(player) do
  2406. table.insert(iGrb,v)
  2407. end
  2408. end
  2409.  
  2410. iCmd.release=function(player)
  2411. player=iGetPlayer(player)
  2412. for _,v in pairs(player) do
  2413. for i,pl in pairs(iGrb) do
  2414. if pl==v then table.remove(iGrb,i)
  2415. if v.Character~=nil then
  2416. if v.Character:FindFirstChild("Torso") then
  2417. v.Character.Torso.Anchored=false
  2418. if iOrb.Orb~=nil then
  2419. v.Character.Torso.CFrame=iOrb.Orb.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  2420. elseif game.Workspace.CurrentCamera~=nil then
  2421. v.Character.Torso.CFrame=game.Workspace.CurrentCamera.CoordinateFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  2422. end
  2423. end
  2424. if v.Character:FindFirstChild("Humanoid") then
  2425. v.Character.Humanoid.WalkSpeed=16
  2426. v.Character.Humanoid.PlatformStand=false
  2427. end
  2428. function getParts(path)
  2429. for _,pl in pairs(path:GetChildren())do
  2430. if pl:IsA("BasePart") or v:IsA("Decal") then
  2431. pl.Transparency=0
  2432. end getParts(pl)
  2433. end
  2434. end getParts(v.Character)
  2435. end
  2436. end
  2437. end
  2438. end
  2439. end
  2440.  
  2441. iCmd.drop=function(player) iCmd.release(player) end
  2442.  
  2443. iCmd.renew=function() if iOrb.Orb~=nil then
  2444. 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
  2445. end end
  2446.  
  2447. iCmd.nogravity=function(player)
  2448. player=iGetPlayer(player)
  2449. iPCmd(player,"Bright yellow")
  2450. for _,v in pairs(player) do
  2451. if v.Character~=nil then
  2452. if v.Character:FindFirstChild("Torso") then
  2453. local grav = Instance.new("BodyForce")
  2454. grav.force=Vector3.new(0,2500,0)
  2455. for i,b in pairs(v.Character.Torso:GetChildren())do if b:IsA("BodyForce") then b:remove() end end grav.Parent = v.Character.Torso
  2456. end
  2457. end
  2458. end
  2459. end
  2460.  
  2461. iCmd.nograv=function(player) iCmd.nogravity(player) end
  2462.  
  2463. iCmd.setgrav=function(player,number)
  2464. player=iGetPlayer(player)
  2465. iPCmd(player,"Bright yellow")
  2466. for _,v in pairs(player) do
  2467. if v.Character~=nil then
  2468. if tonumber(number,10) and v.Character:FindFirstChild("Torso") then
  2469. local grav = Instance.new("BodyForce")
  2470. grav.force=Vector3.new(0,-10*tonumber(number,10),0)
  2471. for i,b in pairs(v.Character.Torso:GetChildren())do if b:IsA("BodyForce") then b:remove() end end grav.Parent = v.Character.Torso
  2472. end
  2473. end
  2474. end
  2475. end
  2476.  
  2477. iCmd.setgravity=function(player,number) iCmd.setgrav(player,number) end
  2478.  
  2479. iCmd.gravity=function(player)
  2480. player=iGetPlayer(player)
  2481. iPCmd(player,"Bright yellow")
  2482. for _,v in pairs(player) do
  2483. if v.Character~=nil then
  2484. if v.Character:FindFirstChild("Torso") then
  2485. for i,b in pairs(v.Character.Torso:GetChildren())do if b:IsA("BodyForce") then b:remove() end end
  2486. end
  2487. end
  2488. end
  2489. end
  2490.  
  2491. iCmd.grav=function(player) iCmd.gravity(player) end
  2492.  
  2493. iCmd.walkspeed=function(player,number)
  2494. player=iGetPlayer(player)
  2495. iPCmd(player,"Bright yellow")
  2496. for _,v in pairs(player) do
  2497. if v.Character~=nil then
  2498. if tonumber(number,10) and v.Character:FindFirstChild("Humanoid") then
  2499. v.Character.Humanoid.WalkSpeed=tonumber(number,10)
  2500. end
  2501. end
  2502. end
  2503. end
  2504.  
  2505. iCmd.ws=function(player,number) iCmd.walkspeed(player,number) end
  2506.  
  2507. iCmd.sit=function(player)
  2508. player=iGetPlayer(player)
  2509. iPCmd(player,"Grime")
  2510. for _,v in pairs(player) do
  2511. if v.Character~=nil then
  2512. if v.Character:FindFirstChild("Humanoid") then
  2513. v.Character.Humanoid.Sit=true
  2514. end
  2515. end
  2516. end
  2517. end
  2518.  
  2519. iCmd.jump=function(player)
  2520. player=iGetPlayer(player)
  2521. iPCmd(player,"Grime")
  2522. for _,v in pairs(player) do
  2523. if v.Character~=nil then
  2524. if v.Character:FindFirstChild("Humanoid") then
  2525. v.Character.Humanoid.Jump=true
  2526. end
  2527. end
  2528. end
  2529. end
  2530.  
  2531. iCmd.platformstand=function(player)
  2532. player=iGetPlayer(player)
  2533. iPCmd(player,"Grime")
  2534. for _,v in pairs(player) do
  2535. if v.Character~=nil then
  2536. if v.Character:FindFirstChild("Humanoid") then
  2537. v.Character.Humanoid.PlatformStand=true
  2538. end
  2539. end
  2540. end
  2541. end
  2542.  
  2543. iCmd.ps=function(player) iCmd.platformstand(player) end
  2544.  
  2545. iCmd.heal=function(player)
  2546. player=iGetPlayer(player)
  2547. iPCmd(player,"Camo")
  2548. for _,v in pairs(player) do
  2549. if v.Character~=nil then coroutine.resume(coroutine.create(function()
  2550. if v.Character:FindFirstChild("Humanoid") then
  2551. for i=1, 26, 1 do wait()
  2552. v.Character.Humanoid.Health=v.Character.Humanoid.MaxHealth
  2553. end
  2554. end
  2555. end)) end
  2556. end
  2557. end
  2558.  
  2559. iCmd.undead=function(player)
  2560. player=iGetPlayer(player)
  2561. iPCmd(player,"Camo")
  2562. for _,v in pairs(player) do
  2563. if v.Character~=nil then coroutine.resume(coroutine.create(function()
  2564. if v.Character:FindFirstChild("Humanoid") then
  2565. for i=1, 26, 1 do wait()
  2566. v.Character.Humanoid.MaxHealth=math.huge
  2567. v.Character.Humanoid.Health=math.huge
  2568. end
  2569. end
  2570. end)) end
  2571. end
  2572. end
  2573.  
  2574. iCmd.sethealth=function(player,number) if tonumber(number,10) then
  2575. player=iGetPlayer(player)
  2576. iPCmd(player,"Camo")
  2577. for _,v in pairs(player) do
  2578. if v.Character~=nil then coroutine.resume(coroutine.create(function()
  2579. if v.Character:FindFirstChild("Humanoid") then
  2580. for i=1, 26, 1 do
  2581. v.Character.Humanoid.MaxHealth=tonumber(number,10) wait()
  2582. v.Character.Humanoid.Health=tonumber(number,10)
  2583. end
  2584. end
  2585. end)) end
  2586. end
  2587. end end
  2588.  
  2589. iCmd.find=function(player)
  2590. player=iGetPlayer(player) iPCmd(player,"White")
  2591. end
  2592.  
  2593. iCmd.damage=function(player,number)
  2594. player=iGetPlayer(player)
  2595. iPCmd(player,"Bright red")
  2596. for _,v in pairs(player) do
  2597. if v.Character~=nil then
  2598. if tonumber(number,10) and v.Character:FindFirstChild("Humanoid") then
  2599. v.Character.Humanoid.Health=v.Character.Humanoid.Health-tonumber(number,10)
  2600. end
  2601. end
  2602. end
  2603. end
  2604.  
  2605. iCmd.dmg=function(player,number) iCmd.damage(player,number) end
  2606.  
  2607. iStr.rename=function(string) if iOrb.Model~=nil then if string:len() > 60 then if iOrb.Orbed then
  2608. 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
  2609. end end
  2610.  
  2611. iStr.setname=function(string)
  2612. if iOrb.Player~=nil then
  2613. if iOrb.Player.Character~=nil then
  2614. local ToolsTable= {}
  2615. local CharTool = nil
  2616. for index, tool in pairs(iOrb.Player.Character:GetChildren()) do
  2617. if tool:IsA("Tool") then
  2618. tool.Parent = nil
  2619. CharTool = tool
  2620. end
  2621. end
  2622. for index, tool in pairs(iOrb.Player.Backpack:GetChildren()) do
  2623. tool.Parent = nil
  2624. table.insert(ToolsTable, tool)
  2625. end
  2626. iOrb.Player.Character.Archivable = true
  2627. iOrb.CharacterClone = iOrb.Player.Character:Clone()
  2628. iOrb.CharacterClone.Name = string
  2629. iOrb.CharacterClone.Archivable = false
  2630. iOrb.CharacterClone.Parent = game.Workspace
  2631. iOrb.Player.Character = iOrb.CharacterClone
  2632. if iOrb.CharacterClone:FindFirstChild("Animate") then
  2633. iOrb.CharacterClone.Animate.Disabled = true
  2634. wait()
  2635. iOrb.CharacterClone.Animate.Disabled = false
  2636. end
  2637. iOrb.CharacterClone.Archivable = false
  2638. iOrb.CharacterClone = nil
  2639. wait(.1)
  2640. if CharTool ~= nil then
  2641. CharTool.Parent = iOrb.Player.Character
  2642. end
  2643. for index, tool in pairs(ToolsTabke) do
  2644. tool.Parent = iOrb.Player.Backpack
  2645. end
  2646. end
  2647. end
  2648. end
  2649.  
  2650. iStr.sn=function(string) iStr.setname(string) end
  2651.  
  2652. iCmd.freeze=function(player)
  2653. player=iGetPlayer(player)
  2654. iPCmd(player,"Teal")
  2655. for _,v in pairs(player) do
  2656. if v.Character~=nil then
  2657. function freeze(path)
  2658. for _,v in pairs(path:GetChildren())do
  2659. if v:IsA("BasePart") then
  2660. v.Anchored=true
  2661. end freeze(v)
  2662. end end freeze(v.Character)
  2663. 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
  2664. if v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.WalkSpeed=0 end
  2665. end
  2666. end
  2667. end
  2668.  
  2669. iCmd.unfreeze=function(player)
  2670. player=iGetPlayer(player)
  2671. iPCmd(player,"Teal")
  2672. for _,v in pairs(player) do
  2673. if v.Character~=nil then
  2674. function freeze(path)
  2675. for _,v in pairs(path:GetChildren())do
  2676. if v:IsA("BasePart") then
  2677. v.Anchored=false
  2678. end freeze(v)
  2679. end end freeze(v.Character)
  2680. if v.Character:FindFirstChild("Torso") then v.Character.Torso.Transparency=0 end
  2681. if v.Character:FindFirstChild("Humanoid") then v.Character.Humanoid.WalkSpeed=16 end
  2682. end
  2683. end
  2684. end
  2685.  
  2686. iCmd.thaw=function(player) iCmd.unfreeze(player) end
  2687.  
  2688. iCmd.lock=function(player)
  2689. player=iGetPlayer(player)
  2690. iPCmd(player,"Alder")
  2691. for _,v in pairs(player) do
  2692. if v.Character~=nil then
  2693. function freeze(path)
  2694. for _,v in pairs(path:GetChildren())do
  2695. if v:IsA("BasePart") then
  2696. v.Locked=true
  2697. end freeze(v)
  2698. end end freeze(v.Character)
  2699. end
  2700. end
  2701. end
  2702.  
  2703. iCmd.unlock=function(player)
  2704. player=iGetPlayer(player)
  2705. iPCmd(player,"Pastel violet")
  2706. for _,v in pairs(player) do
  2707. if v.Character~=nil then
  2708. function freeze(path)
  2709. for _,v in pairs(path:GetChildren())do
  2710. if v:IsA("BasePart") then
  2711. v.Locked=false
  2712. end freeze(v)
  2713. end end freeze(v.Character)
  2714. end
  2715. end
  2716. end
  2717.  
  2718. iCmd.hide=function() if iOrb.Orb~=nil then
  2719. iOrb.Fire.Enabled=false iOrb.Particles=false iOrb.Trail=false iOrb.Orb.Transparency=1
  2720. end end
  2721.  
  2722. iCmd.show=function() if iOrb.Orb~=nil then
  2723. iOrb.Fire.Enabled=true iOrb.Particles=true iOrb.Trail=true iOrb.Orb.Transparency=0
  2724. end end
  2725.  
  2726. iCmd.invisible=function(player)
  2727. player=iGetPlayer(player)
  2728. iPCmd(player,"Royal purple")
  2729. for _,v in pairs(player) do
  2730. if v.Character~=nil then
  2731. if v==iOrb.Player then if not iOrb.Orbed then iCmd.hide('') end end
  2732. function visi(path)
  2733. for _,v in pairs(path:GetChildren())do
  2734. if v:IsA("BasePart") or v:IsA("Decal") then
  2735. v.Transparency=1
  2736. end
  2737. visi(v)
  2738. end
  2739. end visi(v.Character)
  2740. end
  2741. end
  2742. end
  2743.  
  2744. iCmd.invisi=function(player) iCmd.invisible(player) end
  2745.  
  2746. iCmd.visible=function(player)
  2747. player=iGetPlayer(player)
  2748. iPCmd(player,"Pink")
  2749. for _,v in pairs(player) do
  2750. if v.Character~=nil then
  2751. if v==iOrb.Player then if not iOrb.Orbed then iCmd.show('') end end
  2752. function visi(path)
  2753. for _,v in pairs(path:GetChildren())do
  2754. if v:IsA("BasePart") or v:IsA("Decal") then
  2755. v.Transparency=0
  2756. end
  2757. visi(v)
  2758. end
  2759. end visi(v.Character)
  2760. end
  2761. end
  2762. end
  2763.  
  2764. iCmd.visi=function(player) iCmd.visible(player) end
  2765.  
  2766. iCmd.fire=function(player)
  2767. player=iGetPlayer(player)
  2768. iPCmd(player,"Really red")
  2769. for _,v in pairs(player) do
  2770. if v.Character~=nil then
  2771. function obj(path)
  2772. for _,x in pairs(path:GetChildren())do
  2773. if x:IsA("BasePart") then
  2774. Instance.new("Fire",x)
  2775. end obj(x)
  2776. end
  2777. end obj(v.Character)
  2778. end
  2779. end
  2780. end
  2781.  
  2782. iCmd.unfire=function(player)
  2783. player=iGetPlayer(player)
  2784. iPCmd(player,"Really red")
  2785. for _,v in pairs(player) do
  2786. if v.Character~=nil then
  2787. function obj(path)
  2788. for _,x in pairs(path:GetChildren())do
  2789. if x:IsA("Fire") then
  2790. x:remove()
  2791. end obj(x)
  2792. end
  2793. end obj(v.Character)
  2794. end
  2795. end
  2796. end
  2797.  
  2798. iCmd.smoke=function(player)
  2799. player=iGetPlayer(player)
  2800. iPCmd(player,"Dark stone grey")
  2801. for _,v in pairs(player) do
  2802. if v.Character~=nil then
  2803. function obj(path)
  2804. for _,x in pairs(path:GetChildren())do
  2805. if x:IsA("BasePart") then
  2806. Instance.new("Smoke",x)
  2807. end obj(x)
  2808. end
  2809. end obj(v.Character)
  2810. end
  2811. end
  2812. end
  2813.  
  2814. iCmd.unsmoke=function(player)
  2815. player=iGetPlayer(player)
  2816. iPCmd(player,"Dark stone grey")
  2817. for _,v in pairs(player) do
  2818. if v.Character~=nil then
  2819. function obj(path)
  2820. for _,x in pairs(path:GetChildren())do
  2821. if x:IsA("Smoke") then
  2822. x:remove()
  2823. end obj(x)
  2824. end
  2825. end obj(v.Character)
  2826. end
  2827. end
  2828. end
  2829.  
  2830. iCmd.sparkles=function(player)
  2831. player=iGetPlayer(player)
  2832. iPCmd(player,"White")
  2833. for _,v in pairs(player) do
  2834. if v.Character~=nil then
  2835. function obj(path)
  2836. for _,x in pairs(path:GetChildren())do
  2837. if x:IsA("BasePart") then
  2838. Instance.new("Sparkles",x)
  2839. end obj(x)
  2840. end
  2841. end obj(v.Character)
  2842. end
  2843. end
  2844. end
  2845.  
  2846. iCmd.unsparkles=function(player)
  2847. player=iGetPlayer(player)
  2848. iPCmd(player,"White")
  2849. for _,v in pairs(player) do
  2850. if v.Character~=nil then
  2851. function obj(path)
  2852. for _,x in pairs(path:GetChildren())do
  2853. if x:IsA("Sparkles") then
  2854. x:remove()
  2855. end
  2856. obj(x)
  2857. end
  2858. end obj(v.Character)
  2859. end
  2860. end
  2861. end
  2862.  
  2863. iCmd.god=function(player)
  2864. player=iGetPlayer(player)
  2865. iPCmd(player,"White")
  2866. for _,v in pairs(player) do
  2867. if v.Character~=nil then
  2868. local _Info = {tostring(v.Name)}
  2869. function obj(path)
  2870. for _,x in pairs(path:GetChildren())do
  2871. if x:IsA("BasePart") then
  2872. local _Event = x.Touched:connect(function(part)
  2873. part.Anchored = true
  2874. coroutine.wrap(function()
  2875. for i = 0, 1, 0.1 do wait()
  2876. part.Transparency = i
  2877. end
  2878. part:remove()
  2879. end)()
  2880. end) table.insert(_Info, _Event)
  2881. end obj(x)
  2882. end
  2883. end obj(v.Character)
  2884. table.insert(iGod, _Info)
  2885. end
  2886. end
  2887. end
  2888.  
  2889. iCmd.ungod=function(player)
  2890. player=iGetPlayer(player)
  2891. iPCmd(player,"White")
  2892. for i,gt in pairs(iGod)do
  2893. for _,v in pairs(player) do
  2894. if i:sub(1,v.Name:len()) == v.Name then
  2895. table.remove(iGod, i)
  2896. end
  2897. end
  2898. end
  2899. end
  2900.  
  2901. iCmd.unit=function(player) if iOrb.Orbed==true and game.Workspace.CurrentCamera~=nil then
  2902. if player==nil or player=="" then game.Workspace.CurrentCamera.CoordinateFrame=CFrame.new(0,1,0) else
  2903. player=iGetPlayer(player)
  2904. for _,v in pairs(player)do
  2905. if v.Character~=nil then
  2906. if v.Character:FindFirstChild("Torso") then
  2907. game.Workspace.CurrentCamera.CoordinateFrame=v.Character.Torso.CFrame
  2908. game.Workspace.CurrentCamera.Focus=CFrame.new((v.Character.Torso.CFrame.lookVector)*1000)
  2909. end
  2910. end
  2911. end end
  2912. end end
  2913.  
  2914. iStr.time=function(string)
  2915. game:GetService("Lighting").TimeOfDay=string
  2916. end
  2917.  
  2918. iCmd.fogend=function(number)
  2919. if tonumber(number,10) then game:GetService("Lighting").FogEnd=tonumber(number,10) end
  2920. end
  2921.  
  2922. iCmd.fogstart=function(number)
  2923. if tonumber(number,10) then game:GetService("Lighting").FogStart=tonumber(number,10) end
  2924. end
  2925.  
  2926. iVal.fogcolor=function(x,y,z)
  2927. game:GetService("Lighting").FogColor=Color3.new(x/255,y/255,z/255)
  2928. end
  2929.  
  2930. iVal.fcolor1=function(x,y,z) iOrb.FireColorChange=false
  2931. iOrb.Fire.Color=Color3.new(x/255,y/255,z/255)
  2932. end
  2933.  
  2934. iVal.fcolor2=function(x,y,z) iOrb.FireColorChange=false
  2935. iOrb.Fire.SecondaryColor=Color3.new(x/235,y/235,z/235)
  2936. end
  2937.  
  2938. iVal.fcolor=function(x,y,z) iOrb.FireColorChange=false
  2939. iOrb.Fire.Color=Color3.new(x/255,y/255,z/255)
  2940. iOrb.Fire.SecondaryColor=Color3.new(x/245,y/245,z/245)
  2941. end
  2942.  
  2943. iVal.ambient=function(x,y,z)
  2944. game:GetService("Lighting").Ambient=Color3.new(x/255,y/255,z/255)
  2945. end
  2946.  
  2947. iCmd.nbc=function(player) player=iGetPlayer(player)
  2948. for _,v in pairs(player) do
  2949. coroutine.resume(coroutine.create(function() v.MembershipTypeReplicate = 0 end))
  2950. end
  2951. end
  2952.  
  2953. iCmd.bc=function(player) player=iGetPlayer(player) iPCmd(player,"Cool yellow")
  2954. for _,v in pairs(player) do
  2955. coroutine.resume(coroutine.create(function() v.MembershipTypeReplicate = 1 end))
  2956. end
  2957. end
  2958.  
  2959. iCmd.tbc=function(player) player=iGetPlayer(player) iPCmd(player,"Bright orange")
  2960. for _,v in pairs(player) do
  2961. coroutine.resume(coroutine.create(function() v.MembershipTypeReplicate = 2 end))
  2962. end
  2963. end
  2964.  
  2965. iCmd.obc=function(player) player=iGetPlayer(player) iPCmd(player,"Black")
  2966. for _,v in pairs(player) do
  2967. coroutine.resume(coroutine.create(function() v.MembershipTypeReplicate = 3 end))
  2968. end
  2969. end
  2970.  
  2971. iCmd.morning=function()
  2972. coroutine.resume(coroutine.create(function()
  2973. game:GetService("Lighting").TimeOfDay="6:30:00"
  2974. game:GetService("Lighting").FogStart=0
  2975. game:GetService("Lighting").FogEnd=100000
  2976. game:GetService("Lighting").Ambient=Color3.new(165/255,165/255,165/255)
  2977. end))
  2978. end
  2979.  
  2980. iCmd.day=function()
  2981. coroutine.resume(coroutine.create(function()
  2982. game:GetService("Lighting").TimeOfDay="12:00:00"
  2983. game:GetService("Lighting").FogStart=0
  2984. game:GetService("Lighting").FogEnd=100000
  2985. game:GetService("Lighting").Ambient=Color3.new(170/255,170/255,170/255)
  2986. end))
  2987. end
  2988.  
  2989. iCmd.evening=function()
  2990. coroutine.resume(coroutine.create(function()
  2991. game:GetService("Lighting").TimeOfDay="17:57:00"
  2992. game:GetService("Lighting").FogStart=0
  2993. game:GetService("Lighting").FogEnd=100000
  2994. game:GetService("Lighting").FogColor=Color3.new(0,0,0)
  2995. game:GetService("Lighting").Ambient=Color3.new(100/255,100/255,100/255)
  2996. end))
  2997. end
  2998.  
  2999. iCmd.night=function()
  3000. coroutine.resume(coroutine.create(function()
  3001. game:GetService("Lighting").TimeOfDay="00:00:00"
  3002. game:GetService("Lighting").FogStart=0
  3003. game:GetService("Lighting").FogEnd=300
  3004. game:GetService("Lighting").FogColor=Color3.new(0,0,0)
  3005. game:GetService("Lighting").Ambient=Color3.new(20/255,20/255,20/255)
  3006. end))
  3007. end
  3008.  
  3009. iCmd.base=function()
  3010. coroutine.resume(coroutine.create(function()
  3011. 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"
  3012. 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)
  3013. end))
  3014. end
  3015.  
  3016. iCmd.clear=function()
  3017. coroutine.resume(coroutine.create(function() iOrb.Clearing=true
  3018. for _,v in pairs(game.Workspace:GetChildren())do
  3019. if not game.Players:GetPlayerFromCharacter(v) and v~=game.Workspace.CurrentCamera then
  3020. if v:IsA("BaseScript") then v.Disabled=true end pcall(function() v:Destroy() end)
  3021. end
  3022. end
  3023. for _,v in pairs(game:GetService("Lighting"):GetChildren())do
  3024. if v:IsA("Sky") then
  3025. v:Destroy()
  3026. end
  3027. end
  3028. iCmd.day() iCmd.base() iOrb.Clearing=false
  3029. end))
  3030. end
  3031.  
  3032. iCmd.terrainclear=function()
  3033. for _,v in pairs(game.Workspace:GetChildren())do
  3034. if v:IsA("Terrain") then v:Clear() end
  3035. end
  3036. end
  3037.  
  3038. iCmd.rmsg=function()
  3039. coroutine.resume(coroutine.create(function()
  3040. for _,v in pairs(game.Workspace:GetChildren())do
  3041. if v:IsA("Message") or v:IsA("Hint") then
  3042. v:Destroy()
  3043. end
  3044. end
  3045. for _,v in pairs(game.Players:GetPlayers())do
  3046. if v:FindFirstChild("PlayerGui") then
  3047. if v:IsA("Message") or v:IsA("Hint") then
  3048. v:Destroy()
  3049. end
  3050. end
  3051. end
  3052. end))
  3053. end
  3054.  
  3055. iCmd.bt=function(player,toolname) player=iGetPlayer(player) iPCmd(player,"Navy blue")
  3056. for _,v in pairs(player) do
  3057. coroutine.resume(coroutine.create(function()
  3058. if toolname == nil or toolname == "" and v==iOrb.Player then
  3059. coroutine.resume(coroutine.create(iCreateBtools))
  3060. end
  3061. for i,t in pairs(iBuild) do
  3062. if toolname == nil or toolname == "" then
  3063. iInsertool(v,t)
  3064. else
  3065. if tostring(i) == toolname then
  3066. iInsertool(v,t)
  3067. end
  3068. end
  3069. end
  3070. end)) end end
  3071.  
  3072. iCmd.bts=function(player,toolname) iCmd.bt(player,toolname) end
  3073. iCmd.btool=function(player,toolname) iCmd.bt(player,toolname) end
  3074. iCmd.btools=function(player,toolname) iCmd.bt(player,toolname) end
  3075.  
  3076. iCmd.gr=function(player,gearname) player=iGetPlayer(player) iPCmd(player,"Navy blue")
  3077. for _,v in pairs(player) do
  3078. coroutine.resume(coroutine.create(function()
  3079. for i,t in pairs(iGears) do
  3080. if gearname == nil or gearname == "" then
  3081. iInsertool(v,t)
  3082. else
  3083. if tostring(i) == gearname then
  3084. iInsertool(v,t)
  3085. end
  3086. end
  3087. end
  3088. end))
  3089. end
  3090. end
  3091.  
  3092. iCmd.grs=function(player,gearname) iCmd.gr(player,gearname) end
  3093. iCmd.gear=function(player,gearname) iCmd.gr(player,gearname) end
  3094. iCmd.gears=function(player,gearname) iCmd.gr(player,gearname) end
  3095.  
  3096. iCmd.rt=function(player) player=iGetPlayer(player) iPCmd(player,"Bright red")
  3097. for _,v in pairs(player) do
  3098. if v:FindFirstChild("Backpack") then
  3099. for i,tools in pairs(v.Backpack:GetChildren())do
  3100. tools:Destroy()
  3101. end
  3102. end
  3103. if v.Character ~= nil then
  3104. for i,tool in pairs(v.Character:GetChildren())do
  3105. if tool:IsA("Tool") then
  3106. tool:Destroy()
  3107. end
  3108. end
  3109. end
  3110. end
  3111. end
  3112.  
  3113. iCmd.rts=function(player) iCmd.rt(player) end
  3114. iCmd.rtool=function(player) iCmd.rt(player) end
  3115. iCmd.rtools=function(player) iCmd.rt(player) end
  3116.  
  3117. iCmd.endorb=function()
  3118. 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")
  3119. end
  3120.  
  3121. iStr.help=function(string) iOrb.runmsg=true
  3122. if string==nil or string=="" then
  3123. iTypeMsg(" -> How to use nairod7's orb ? <-",2)
  3124. iTypeMsg("Tip : if you want to stop printing help, say 'stop:'",2)
  3125. iTypeMsg("Base of use -> command:argument",2)
  3126. iTypeMsg("Type cmd: or cmds: or command: or commands: to print commands (won't work if help works)",2)
  3127. iTypeMsg("You can search all the commands with kill in them -> cmd:kill",2)
  3128. iTypeMsg("Type help:command to have more informations about a command and how to use it",2)
  3129. iTypeMsg("If argument is a boolean, 'command:' or 'command:true' will enable the command",2)
  3130. iTypeMsg("If you want to disable the command, say 'command:false'",2)
  3131. iTypeMsg("If argument is a player, you can match name (nai instead of nairod7), me for me, others for everyone exept you...",2)
  3132. iTypeMsg("...and all, a space or nothing for everyone",2)
  3133. iTypeMsg("Nothing for everyone mean for example 'kill:'. This command will kill everyone, same as 'kill: '.",2)
  3134. iTypeMsg("Warning 1 ! If you type kill: me, you'll kill everyone because there is a space between 'kill:' and 'me'",2)
  3135. iTypeMsg("Warning 2 ! If you type kill:n, you'll kill all the players with a name that begin by 'n'",2)
  3136. iTypeMsg("If a command expects 2 arguments, say for example teleport: me (space between teleport: and me means eveyone)",2)
  3137. iTypeMsg("There are several ways to execute a command with 2 or 3 arguments",2)
  3138. iTypeMsg("A simple space -> fogcolor:255 255 255 | tele:others me",2)
  3139. iTypeMsg("Two points : fogcolor:255:255:255 | tele:others:me",2)
  3140. iTypeMsg("A slash : fogcolor:255/255/255 | tele:others/me",2)
  3141. iTypeMsg("A comma : fogcolor:255,255,255 | tele:others,me",2)
  3142. iTypeMsg("A dot : fogcolor:255.255.255 | tele:others.me",2)
  3143. iTypeMsg("All the arguments between [ ] means that's an optional argument",2)
  3144. iTypeMsg("If you want to execute a command for 2 or 3 players, separate names with '|'",2)
  3145. iTypeMsg("Example 1 : kill:me|player2 (it will kill me and player2)",2)
  3146. iTypeMsg("Example 2 : tele:me/player2|player4/player3 (it will teleport me to player2 and player4 to player3",2)
  3147. elseif string~=nil and string~="" then
  3148. for index,v in pairs(iCmd) do
  3149. table.insert(iHlp,tostring(index))
  3150. end
  3151. for index,v in pairs(iStr) do
  3152. table.insert(iHlp,tostring(index))
  3153. end
  3154. for index,v in pairs(iVal) do
  3155. table.insert(iHlp,tostring(index))
  3156. end
  3157. 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)
  3158. elseif cmd=="endorb" then iTypeMsg("Delete the orb -> "..cmd..":",2)
  3159. elseif cmd=="rtools" then iTypeMsg("Remove player tools -> "..cmd..":player",2)
  3160. elseif cmd=="rtool" then iTypeMsg("Remove player tools -> "..cmd..":player",2)
  3161. elseif cmd=="rts" then iTypeMsg("Remove player tools -> "..cmd..":player",2)
  3162. elseif cmd=="rt" then iTypeMsg("Remove player tools -> "..cmd..":",2)
  3163. elseif cmd=="toolslist" then iTypeMsg("Print gears and building tools'name present in this orb -> "..cmd..":[string]",2)
  3164. elseif cmd=="tl" then iTypeMsg("Print gears and building tools'name present in this orb -> "..cmd..":[string]",2)
  3165. elseif cmd=="gears" then iTypeMsg("Give gears ( or a specific gear ) to player -> "..cmd..":player[:gearname]",2)
  3166. elseif cmd=="gear" then iTypeMsg("Give gears ( or a specific gear ) to player -> "..cmd..":player[:gearname]",2)
  3167. elseif cmd=="grs" then iTypeMsg("Give gears ( or a specific gear ) to player -> "..cmd..":player[:gearname]",2)
  3168. elseif cmd=="gr" then iTypeMsg("Give gears ( or a specific gear ) to player -> "..cmd..":player[:gearname]",2)
  3169. elseif cmd=="btools" then iTypeMsg("Give building tools -> "..cmd..":player[:toolname]",2)
  3170. elseif cmd=="btool" then iTypeMsg("Give building tools -> "..cmd..":player[:toolname]",2)
  3171. elseif cmd=="bts" then iTypeMsg("Give building tools -> "..cmd..":player[:toolname]",2)
  3172. elseif cmd=="bt" then iTypeMsg("Give building tools -> "..cmd..":player[:toolname]",2)
  3173. elseif cmd=="rmsg" then iTypeMsg("Remove messsages -> "..cmd..":",2)
  3174. elseif cmd=="terrainclear" then iTypeMsg("Remove all the terrain bricks -> "..cmd..":",2)
  3175. elseif cmd=="clear" then iTypeMsg("Clear workspace and spawn a base -> "..cmd..":",2)
  3176. elseif cmd=="base" then iTypeMsg("Spawn a base -> "..cmd..":",2)
  3177. elseif cmd=="night" then iTypeMsg("Change the current day to night -> "..cmd..":",2)
  3178. elseif cmd=="evening" then iTypeMsg("Change the current day to evening -> "..cmd..":",2)
  3179. elseif cmd=="morning" then iTypeMsg("Change the current day to morning -> "..cmd..":",2)
  3180. elseif cmd=="day" then iTypeMsg("Change the current day to midday -> "..cmd..":",2)
  3181. elseif cmd=="obc" then iTypeMsg("Set player membership to outrageous builders club -> "..cmd..":player",2)
  3182. elseif cmd=="tbc" then iTypeMsg("Set player membership to turbo builders club -> "..cmd..":player",2)
  3183. elseif cmd=="bc" then iTypeMsg("Set player membership to builders club -> "..cmd..":player",2)
  3184. elseif cmd=="nbc" then iTypeMsg("Set player membership to none -> "..cmd..":player",2)
  3185. elseif cmd=="ambient" then iTypeMsg("Change game ambient -> "..cmd..":color1,color2,color3",2)
  3186. elseif cmd=="fcolor" then iTypeMsg("Change fire primary color and secondary color of orb -> "..cmd..":color1,color2,color3",2)
  3187. elseif cmd=="fcolor1" then iTypeMsg("Change fire primary color of orb -> "..cmd..":",2)
  3188. elseif cmd=="fcolor2" then iTypeMsg("Change fire secondary color of orb -> "..cmd..":",2)
  3189. elseif cmd=="fogstart" then iTypeMsg("Set Fog Start value -> "..cmd..":value",2)
  3190. elseif cmd=="fogend" then iTypeMsg("Set Fog End value -> "..cmd..":value",2)
  3191. elseif cmd=="time" then iTypeMsg("Change game time -> "..cmd..":hour:minute:second",2)
  3192. elseif cmd=="unit" then iTypeMsg("When you're an orb, teleport you to vector 0,0,0 or player position -> "..cmd..":[player]",2)
  3193. elseif cmd=="fogcolor" then iTypeMsg("Change Fog Color -> "..cmd..":color1,color2,color3",2)
  3194. elseif cmd=="show" then iTypeMsg("Makes visible your orb -> "..cmd..":",2)
  3195. elseif cmd=="hide" then iTypeMsg("Makes invisible your orb -> "..cmd..":",2)
  3196. elseif cmd=="unsparkles" then iTypeMsg("Remove player sparkles -> "..cmd..":player",2)
  3197. elseif cmd=="sparkles" then iTypeMsg("Sparkles player -> "..cmd..":player",2)
  3198. elseif cmd=="unsmoke" then iTypeMsg("Remove player smoke -> "..cmd..":player",2)
  3199. elseif cmd=="smoke" then iTypeMsg("Smoke player -> "..cmd..":player",2)
  3200. elseif cmd=="unfire" then iTypeMsg("Remove player fire -> "..cmd..":player",2)
  3201. elseif cmd=="fire" then iTypeMsg("Fire player -> "..cmd..":player",2)
  3202. elseif cmd=="visi" then iTypeMsg("Makes player visible -> "..cmd..":player",2)
  3203. elseif cmd=="visible" then iTypeMsg("Makes player visible -> "..cmd..":player",2)
  3204. elseif cmd=="invisi" then iTypeMsg("Makes player invisible -> "..cmd..":",2)
  3205. elseif cmd=="invisible" then iTypeMsg("Makes player invisible -> "..cmd..":player",2)
  3206. elseif cmd=="unlock" then iTypeMsg("Lock player -> "..cmd..":player",2)
  3207. elseif cmd=="lock" then iTypeMsg("Unlock player -> "..cmd..":player",2)
  3208. elseif cmd=="freeze" then iTypeMsg("Freeze player -> "..cmd..":player",2)
  3209. elseif cmd=="unfreeze" then iTypeMsg("Thaw player -> "..cmd..":player",2)
  3210. elseif cmd=="thaw" then iTypeMsg("Thaw player -> "..cmd..":player",2)
  3211. elseif cmd=="rename" then iTypeMsg("Rename orb -> "..cmd..":string",2)
  3212. elseif cmd=="damage" then iTypeMsg("Damage player -> "..cmd..":player,number",2)
  3213. elseif cmd=="dmg" then iTypeMsg("Damage player -> "..cmd..":player,number",2)
  3214. elseif cmd=="find" then iTypeMsg("Find player position using orb ray -> "..cmd..":player",2)
  3215. elseif cmd=="sethealth" then iTypeMsg("Change player health -> "..cmd..":player,number",2)
  3216. elseif cmd=="setname" then iTypeMsg("Change local character name -> "..cmd..":string",2)
  3217. elseif cmd=="sn" then iTypeMsg("Change local character name -> "..cmd..":string",2)
  3218. elseif cmd=="undead" then iTypeMsg("Give infinite health to player -> "..cmd..":player",2)
  3219. elseif cmd=="heal" then iTypeMsg("Heal player -> "..cmd..":player",2)
  3220. elseif cmd=="ps" then iTypeMsg("Platformstand player -> "..cmd..":player",2)
  3221. elseif cmd=="platformstand" then iTypeMsg("Platformstand player -> "..cmd..":player",2)
  3222. elseif cmd=="sit" then iTypeMsg("Sit player -> "..cmd..":player",2)
  3223. elseif cmd=="jump" then iTypeMsg("Jump player -> "..cmd..":player",2)
  3224. elseif cmd=="ws" then iTypeMsg("Change player walk speed -> "..cmd..":player,number",2)
  3225. elseif cmd=="walkspeed" then iTypeMsg("Change player walk speed -> "..cmd..":player,number",2)
  3226. elseif cmd=="grav" then iTypeMsg("Restore normal player gravity -> "..cmd..":player",2)
  3227. elseif cmd=="gravity" then iTypeMsg("Restore normal player gravity -> "..cmd..":player",2)
  3228. elseif cmd=="nograv" then iTypeMsg("Change player gravity -> "..cmd..":player",2)
  3229. elseif cmd=="nogravity" then iTypeMsg("Change player gravity -> "..cmd..":player",2)
  3230. elseif cmd=="setgrav" then iTypeMsg("Change player gravity by your value -> "..cmd..":player,number",2)
  3231. elseif cmd=="setgravity" then iTypeMsg("Change player gravity by your value -> "..cmd..":player,number",2)
  3232. elseif cmd=="renew" then iTypeMsg("Delete current orb and makes a new one -> "..cmd..":",2)
  3233. elseif cmd=="drop" then iTypeMsg("Release player from your orb -> "..cmd..":player",2)
  3234. elseif cmd=="release" then iTypeMsg("Release player from your orb -> "..cmd..":player",2)
  3235. elseif cmd=="grab" then iTypeMsg("Grab player to your orb -> "..cmd..":player",2)
  3236. elseif cmd=="tto" then iTypeMsg("Teleport player to your orb -> "..cmd..":player",2)
  3237. elseif cmd=="teletoorb" then iTypeMsg("Teleport player to your orb -> "..cmd..":player",2)
  3238. elseif cmd=="tp" then iTypeMsg("Teleport player1 to player2 -> "..cmd..":player1,player2",2)
  3239. elseif cmd=="teleport" then iTypeMsg("Teleport player1 to player2 -> "..cmd..":player1,player2",2)
  3240. elseif cmd=="tele" then iTypeMsg("Teleport player1 to player2 -> "..cmd..":player1,player2",2)
  3241. elseif cmd=="tower" then iTypeMsg("Rise player on a tower (max duration time -> 120 sec.) -> "..cmd..":player[:height[:duration]]",2)
  3242. elseif cmd=="skydive" then iTypeMsg("Skydive player -> "..cmd..":player",2)
  3243. elseif cmd=="unff" then iTypeMsg("Give forcefield to player -> "..cmd..":player",2)
  3244. elseif cmd=="ff" then iTypeMsg("Give forcefield to player -> "..cmd..":player",2)
  3245. elseif cmd=="pun" then iTypeMsg("Punish player -> "..cmd..":player",2)
  3246. elseif cmd=="punish" then iTypeMsg("Punish player -> "..cmd..":player",2)
  3247. elseif cmd=="unpun" then iTypeMsg("Unpunish player -> "..cmd..":player",2)
  3248. elseif cmd=="unpunish" then iTypeMsg("Unpunish player -> "..cmd..":player",2)
  3249. elseif cmd=="resp" then iTypeMsg("Respawn player -> "..cmd..":player",2)
  3250. elseif cmd=="respawn" then iTypeMsg("Respawn player -> "..cmd..":player",2)
  3251. elseif cmd=="expl" then iTypeMsg("Explode player (if you're an orb and say expl:me, it will explode your orb) -> "..cmd..":player",2)
  3252. elseif cmd=="explode" then iTypeMsg("Explode player (if you're an orb and say explode:me, it will explode your orb) -> "..cmd..":player",2)
  3253. elseif cmd=="char" then iTypeMsg("Load your character (doesn't work when you're kicked) -> "..cmd..":",2)
  3254. elseif cmd=="orb" then iTypeMsg("Makes you into orb -> "..cmd..":",2)
  3255. elseif cmd=="unban" then iTypeMsg("Unban player -> "..cmd..":player",2)
  3256. elseif cmd=="ban" then iTypeMsg("Ban player -> "..cmd..":player",2)
  3257. elseif cmd=="fly" then iTypeMsg("Give you a fly tool I scripted -> "..cmd..":",2)
  3258. elseif cmd=="banlist" then iTypeMsg("Print banned list -> "..cmd..":",2)
  3259. elseif cmd=="kick" then iTypeMsg("Kick player -> "..cmd..":player",2)
  3260. elseif cmd=="lkl" then iTypeMsg("Loopkill player -> "..cmd..":player",2)
  3261. elseif cmd=="loopkill" then iTypeMsg("Loopkill player -> "..cmd..":player",2)
  3262. elseif cmd=="unlkl" then iTypeMsg("Unloopkill player -> "..cmd..":player",2)
  3263. elseif cmd=="unloopkill" then iTypeMsg("Unloopkill player -> "..cmd..":player",2)
  3264. elseif cmd=="kl" then iTypeMsg("Kill player -> "..cmd..":player",2)
  3265. elseif cmd=="kill" then iTypeMsg("Kill player -> "..cmd..":player",2)
  3266. elseif cmd=="x" then iTypeMsg("Set x base position from your torso -> "..cmd..":number",2)
  3267. elseif cmd=="y" then iTypeMsg("Set y base position from your torso -> "..cmd..":number",2)
  3268. elseif cmd=="z" then iTypeMsg("Set z base position from your torso -> "..cmd..":number",2)
  3269. elseif cmd=="fheat" then iTypeMsg("Set heat of orb fire -> "..cmd..":number",2)
  3270. elseif cmd=="fsize" then iTypeMsg("Set size of orb fire -> "..cmd..":number",2)
  3271. elseif cmd=="tsize" then iTypeMsg("Set size of orb trail -> "..cmd..":number",2)
  3272. elseif cmd=="levirise" then iTypeMsg("Set maximum levitation rise of orb -> "..cmd..":number",2)
  3273. elseif cmd=="rotspeed" then iTypeMsg("Set rotation speed of orb if it turn (max:360) -> "..cmd..":number",2)
  3274. elseif cmd=="levispeed" then iTypeMsg("Set levitation rise speed of orb -> "..cmd..":number",2)
  3275. elseif cmd=="particles" then iTypeMsg("Enable or disable particles -> "..cmd..":boolean",2)
  3276. elseif cmd=="localorb" then iTypeMsg("If enabled, only you will see your orb -> "..cmd..":boolean",2)
  3277. elseif cmd=="move" then iTypeMsg("If disabled, orb won't move -> "..cmd..":boolean",2)
  3278. elseif cmd=="fchange" then iTypeMsg("If enabled, fire color of orb will change from black to white automaticaly -> "..cmd..":boolean",2)
  3279. elseif cmd=="fena" then iTypeMsg("Enable or disable orb fire -> "..cmd..":boolean",2)
  3280. elseif cmd=="tena" then iTypeMsg("Enable or disable orb trail -> "..cmd..":boolean",2)
  3281. elseif cmd=="turn" then iTypeMsg("If enabled, your orb will turn around you -> "..cmd..":boolean",2)
  3282. elseif cmd=="sc" then iTypeMsg("Execute script -> "..cmd..":script",2)
  3283. elseif cmd=="cmd" then iTypeMsg("Print all the commands or print commands containing string -> "..cmd..":[string]",2)
  3284. elseif cmd=="cmds" then iTypeMsg("Print all the commands or print commands containing string -> "..cmd..":[string]",2)
  3285. elseif cmd=="command" then iTypeMsg("Print all the commands or print commands containing string -> "..cmd..":[string]",2)
  3286. elseif cmd=="commands" then iTypeMsg("Print all the commands or print commands containing string -> "..cmd..":[string]",2)
  3287. elseif cmd=="stop" then iTypeMsg("Stop printing commands or help -> "..cmd..":",2)
  3288. else iTypeMsg("Unknown or non-existing help for this command...",2) end end end
  3289. for i = #iHlp, 1, -1 do
  3290. table.remove(iHlp,i)
  3291. end
  3292. end iOrb.runmsg=false
  3293. end
  3294.  
  3295. --iStr.sc=function(string) coroutine.wrap(function() loadstring(string)() end)() end
  3296.  
  3297. iStr.cmd=function(string) iHintCmd(string) end
  3298. iStr.cmds=function(string) iHintCmd(string) end
  3299. iStr.command=function(string) iHintCmd(string) end
  3300. iStr.commands=function(string) iHintCmd(string) end
  3301.  
  3302. iStr.toolslist=function(string) iHintTools(string) end
  3303. iStr.tl=function(string) iHintTools(string) end
  3304.  
  3305. iCmd.stop=function() iOrb.runmsg=false end
  3306.  
  3307. -- Run iBan --
  3308.  
  3309. game.Players.ChildAdded:connect(banPlayers)
  3310. coroutine.resume(coroutine.create(function() for _,v in pairs(game.Players:GetPlayers())do banPlayers(v) end end))
  3311.  
  3312. -- Credit to Imike2 --
Advertisement
Add Comment
Please, Sign In to add comment