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