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