Advertisement
InfectionBlank

Untitled

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