Advertisement
Demonlord27

iorb

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