SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Leaked skids. | |
3 | "If this is Leaked, re-published, or completely broken, *there will be a new version." | |
4 | kk ditch the enitre script and go make a new version because this is leaked | |
5 | ||
6 | Simply change your name at ranked to use. To run this script in an sb upload the file to pastebin, then get the raw link and use the loader script to load it. | |
7 | ||
8 | You may be able to directly run the script with an sb bot but I haven't tried it. | |
9 | --]] | |
10 | ||
11 | --[[ | |
12 | © [EXITIUM Administration gen 6], Legal Copyright | |
13 | All Rights Reserved | |
14 | Editing, or claiming this script in any way would not change anything, but you will lose massive rep and your ROBLOX life. | |
15 | Rules; | |
16 | []When updating this script, you must put what you have updated, below: | |
17 | Example: [iTov: Update; Anti-Ban, date; 9/13/2014] | |
18 | []While running this script, do not run it in oxcool1's Script Builder, everyone there can easily steal the stypi link. | |
19 | Therefor, only run at oxcool1's Script Builder IF EMERGENCY! | |
20 | Version: Exitium Administration generation 6 | |
21 | Last Updated: 9/13/2014 | |
22 | Date Started: 6/2/2014 | |
23 | Date Finished: 8/21/2014 | |
24 | Creator: [iTov] | |
25 | Developers: [MessorAdmin], [roleo1122], [rogers888], [DangCoolIsReal] and [Axcsys] | |
26 | If this is Leaked, re-published, or completely broken, their will be a new version. Untill then, | |
27 | The script will be updated, and fixed, until it is ready to be pubic. | |
28 | [WARNING]: LEAKING THIS SCRIPT AND INVITING UNKNOWN PEOPLE WILL RESULT IN PERM BAN, AND WILL CAUSE YOU TO BE BANNED ON ANY NEWER VERSIONS, etc. | |
29 | ]]-- | |
30 | - | local Clo = script:clone() |
30 | + | |
31 | - | Clo.Disabled = true |
31 | + | |
32 | - | Clo.Parent = game:GetService('ServerScriptService') |
32 | + | |
33 | - | Clo["DSource"].Value = [[ |
33 | + | |
34 | - | while true do |
34 | + | |
35 | - | script.Parent = nil |
35 | + | |
36 | - | for i,v in pairs(game:GetService('Players'):GetPlayers()) do |
36 | + | |
37 | - | Find = v:FindFirstChild("PlayerGui") |
37 | + | |
38 | - | if Find then |
38 | + | |
39 | - | Find2 = Find:FindFirstChild("ExitiumGui") |
39 | + | |
40 | - | if not Find2 then |
40 | + | |
41 | - | local ScreenGui = Instance.new("ScreenGui", Find) |
41 | + | |
42 | - | ScreenGui.Name = "ExitiumGui" |
42 | + | |
43 | - | local ImageLabel = Instance.new("ImageLabel", ScreenGui) |
43 | + | |
44 | - | ImageLabel.Image = "rbxassetid://170586270" |
44 | + | |
45 | - | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) |
45 | + | |
46 | - | ImageLabel.BackgroundTransparency = 1 |
46 | + | |
47 | - | ImageLabel.BorderColor3 = Color3.new(1, 1, 1) |
47 | + | |
48 | - | ImageLabel.Position = UDim2.new(1, -314, 1, -80) |
48 | + | |
49 | - | ImageLabel.Size = UDim2.new(0, 305, 0, 70) |
49 | + | |
50 | pcall(function() if type(plr1)~='number' then plr1=getRank(plr1) end end) | |
51 | pcall(function() if type(plr2)~='number' then plr2=getRank(plr2) end end) | |
52 | ||
53 | - | game:GetService('RunService').Heartbeat:wait() |
53 | + | |
54 | elseif allowEqual and plr1==plr2 then return true | |
55 | - | ]] |
55 | + | |
56 | - | Clo.Disabled = false |
56 | + | |
57 | - | Clo["DSource"].Value = "" |
57 | + | |
58 | function Name() | |
59 | local G = Instance.new("ScreenGui") | |
60 | G.Parent = game.StarterGui | |
61 | local b = Instance.new("TextLabel",G) | |
62 | b.BackgroundColor3 = Color3.new(0,0,0) | |
63 | b.BackgroundTransparency = 0.35 | |
64 | b.Size = UDim2.new{1, 0, 1, 0} | |
65 | b.Position = UDim2.new(0.8, 0, 0.9, 0) | |
66 | b.BorderSizePixel = 0 | |
67 | b.FontSize = "Size36" | |
68 | b.Text = "[EXITIUM]" | |
69 | b.Font = "SourceSans" | |
70 | b.TextColor3 = Color3.new(255,255,255) | |
71 | end | |
72 | ||
73 | -- [==[ ~ Exitium ~ ]==] ~~ | |
74 | ||
75 | local _start = time() | |
76 | wait() | |
77 | MessageLimit = 10 | |
78 | Exitium = { | |
79 | Ranked = { | |
80 | --[--Ranked--]-- | |
81 | ["iiXynx"] = {Rank = 8, Color = "Really blue", Distance = 6, Description = "Creator of Exitium", SpinningRot = false, Rotation = true}; | |
82 | }; | |
83 | ||
84 | key = '/'; | |
85 | Ranks = { --Don't go over Rank 8 -iTov | |
86 | [-1] =": Banned"; | |
87 | [0] = ": Guest"; | |
88 | [1] = ": User"; | |
89 | [2] = ": Moderator"; | |
90 | [3] = ": Server Moderator"; | |
91 | [4] = ": Admin"; | |
92 | [5] = ": Dev"; | |
93 | [6] = ": Lead Dev"; | |
94 | [7] = ": Co-Owner"; | |
95 | [8] = ": Owner"; | |
96 | }; | |
97 | Services = setmetatable({Game = game;}, { | |
98 | __index = function(tab, key) | |
99 | if game:GetService(key) == nil then | |
100 | return "No such service named " | |
101 | end | |
102 | return game:GetService(key) | |
103 | end | |
104 | }); | |
105 | ChatFilter = { | |
106 | Phrases = { | |
107 | --[==[ | |
108 | - | ["xDerpyDinox"] = {Rank = 8, Color = "Really blue", Distance = 6, Description = "Creator of Exitium", SpinningRot = false, Rotation = true}; |
108 | + | |
109 | 0.5 = Mute | |
110 | 1 = Kick | |
111 | 2 = Lag | |
112 | 3 = Banishment | |
113 | ]==]-- | |
114 | {"TeleportService", 1}; | |
115 | ||
116 | }; | |
117 | Enabled = true; | |
118 | }; | |
119 | PrivateServer = { | |
120 | Enabled = false; | |
121 | Waiting = {}; | |
122 | }; | |
123 | Removed = false; | |
124 | Aborted = false; | |
125 | ServerSidedScriptsLock = false; | |
126 | LocalSidedScriptsLock = false; | |
127 | AgeRestriction = true; | |
128 | ShowRanks = true; | |
129 | ShutdownTime = 45; | |
130 | Bet = "/"; | |
131 | Commands = {}; | |
132 | Tablets = {}; | |
133 | ExplorerObjectClones = {}; | |
134 | Scripts = { | |
135 | ServerSided = {}; | |
136 | ClientSided = {}; | |
137 | }; | |
138 | Connections = { | |
139 | Loops = {}; | |
140 | Killing = {}; | |
141 | Chat = {}; | |
142 | }; | |
143 | Music={ | |
144 | ["Popular"]={ | |
145 | [1] = {Name = "Radioactive", ID = 131111368}; | |
146 | [2] = {Name = "One less problem", ID = 155319906}; | |
147 | [3] = {Name = "Dark horse", ID = 143204341}; | |
148 | [4] = {Name = "Latch", ID = 155298039}; | |
149 | [5] = {Name = "Fancy", ID = 151667588}; | |
150 | [6] = {Name = "Demons", ID = 131261480}; | |
151 | [7] = {Name = 'Me and my broken heart', ID = 157466103}; | |
152 | [8] = {Name = 'Break free', ID = 164417255}; | |
153 | [9] = {Name = 'Me and my broken heart', ID = 157466103}; | |
154 | [10] = {Name = "Boom Clap", ID = 160594536}; | |
155 | [11] = {Name = "Pompeii", ID = 144635805}; | |
156 | [12] = {Name = "Roar", ID = 131065183}; | |
157 | [13] = {Name = 'Rude', ID = 154764197}; | |
158 | [14] = {Name = 'Monster', ID = 142562463}; | |
159 | [15] = {Name = "Work", ID = 152250611}; | |
160 | [16] = {Name = "Spooky Scary Skeletons", ID = 155313239}; | |
161 | }; | |
162 | ["Dance"]={ | |
163 | [1] = {Name = "Destroid 11. - Get Stupid", ID = 146968276}; | |
164 | [2] = {Name = "Turn down for what", ID = 143959455}; | |
165 | [3] = {Name = "Beam", ID = 165065112}; | |
166 | [4] = {Name = "Frag out", ID = 152451589}; | |
167 | [5] = {Name = "The hallows", ID = 146824166}; | |
168 | [6] = {Name = "Radiation", ID = 144249596}; | |
169 | [7] = {Name = "The final countdown", ID = 145162750}; | |
170 | [8] = {Name = "Need you", ID = 155415981}; | |
171 | [9] = {Name = "Boom", ID = 150101784}; | |
172 | [10] = {Name = 'Domination', ID = 150669700}; | |
173 | [11] = {Name = "Disfigure - Blank", ID = 167337732}; | |
174 | [12] = {Name = "Ahrix - Nova", ID = 167022806}; | |
175 | }; | |
176 | ["Alternative"]={ | |
177 | [1] = {Name = "Do the harlem shake", ID = 131154740}; | |
178 | [2] = {Name = "I like trains", ID = 142386784}; | |
179 | [3] = {Name = "Saxaphone guy", ID = 130775431}; | |
180 | [4] = {Name = "Selfie song", ID = 151029303}; | |
181 | }; | |
182 | ["R7B"]={ | |
183 | [1] = {Name = "All of me", ID = 155057593}; | |
184 | }; | |
185 | ["Hiphop"]={ | |
186 | [2] = {Name = "Gentleman", ID = 131326102}; | |
187 | [3] = {Name = "Wake me up", ID = 130969284}; | |
188 | [4] = {Name = "We are one", ID = 154782317}; | |
189 | [5] = {Name = "La la la", ID = 161186230}; | |
190 | }; | |
191 | ["Rap"]={ | |
192 | [1] = {Name = "I'm not afraid", ID = 143736517}; | |
193 | }; | |
194 | ["Mood"]={ | |
195 | [1] = {Name = "Say something", ID = 143763527}; | |
196 | [2] = {Name = 'Because I\'m happy', ID = 142435409}; | |
197 | }; | |
198 | ["Remix"]={ | |
199 | [1] = {Name = "Idols", ID = 143311712}; | |
200 | [2] = {Name = "Come and get it (remix)", ID = 131320359}; | |
201 | }; | |
202 | }; | |
203 | MusicMenu = nil; | |
204 | Source = nil; | |
205 | SourceName = nil; | |
206 | } | |
207 | ||
208 | if script and game.PlaceId ~= 0 and game then | |
209 | script.Name = "Exitium Tablet Admin" | |
210 | for _,v in pairs(script:GetChildren()) do | |
211 | if v:IsA("StringValue") then | |
212 | Exitium.SourceName = v.Name | |
213 | Exitium.SourceValue = v.Value | |
214 | v.Value = [==[error("Attempted to call a nil value");]==] | |
215 | end | |
216 | end | |
217 | coroutine.yield() | |
218 | script:ClearAllChildren() | |
219 | script.Parent = Instance.new("Model") or __LOLNO__ or nil | |
220 | end | |
221 | ||
222 | -- ExitiumScripting Functions -- | |
223 | createLocalScript = function(source,parent,name) | |
224 | if newLocalScript then | |
225 | local nls = newLocalScript(source,parent) | |
226 | nls.Name = (name ~= nil and name) or "Source" | |
227 | return nls | |
228 | else | |
229 | if Exitium.Source ~= nil then | |
230 | local x = Exitium.Source:clone() | |
231 | x.Disabled = true | |
232 | x.Name = (name ~= nil and name) or "Source" | |
233 | x:ClearAllChildren() | |
234 | for _,v in pairs({"DSource", "Source", "source"}) do | |
235 | local newSource = Instance.new("StringValue", x) | |
236 | newSource.Name = v | |
237 | newSource.Value = source | |
238 | end | |
239 | x.Parent = parent | |
240 | x.Disabled = false | |
241 | else | |
242 | -- Output("Admins", "No Source Source!", "Really red", nil, 5) | |
243 | end | |
244 | end | |
245 | end | |
246 | createScript = function(source, parent, name) | |
247 | if newScript then | |
248 | local ns = newScript(source,parent) | |
249 | ns.Name = (name ~= nil and name) or "Source" | |
250 | return ns | |
251 | else | |
252 | local x = script:Clone() | |
253 | x.Disabled = true | |
254 | x.Name = (name ~= nil and name) or "Source" | |
255 | x:ClearAllChildren() | |
256 | for _,v in pairs({"DSource", "Source", "source"}) do | |
257 | local newSource = Instance.new("StringValue", x) | |
258 | newSource.Name = v | |
259 | newSource.Value = source | |
260 | end | |
261 | x.Parent = parent | |
262 | x.Disabled = false | |
263 | end | |
264 | end | |
265 | ||
266 | -- getALLPlayers -- | |
267 | getALLPlayers = function() | |
268 | local ALLPlayers = {} | |
269 | for i,v in pairs(Exitium.Services.NetworkServer:GetChildren()) do | |
270 | ypcall(function() | |
271 | if v:IsA("ServerReplicator") then | |
272 | table.insert(ALLPlayers, v:GetPlayer()) | |
273 | end | |
274 | end) | |
275 | end | |
276 | return ALLPlayers | |
277 | end | |
278 | ||
279 | -- Garbage -- | |
280 | function GetGarbage() | |
281 | return ((math.floor((collectgarbage("count") / 10)) * 10)/1000) .. "MB" | |
282 | end | |
283 | -- Sources -- | |
284 | RemovePlayer = [[ | |
285 | local plrs = game:GetService('Players') | |
286 | if pcall(function() plrs["LocalPlayer"].Character:GetChildren() end) then | |
287 | plrs["LocalPlayer"].Parent=nil | |
288 | plrs["LocalPlayer"].Parent=plrs | |
289 | else | |
290 | for i=1, 1000 do | |
291 | Instance.new('ManualSurfaceJointInstance') | |
292 | end | |
293 | end | |
294 | pcall(function() | |
295 | game:GetService('Workspace'):ClearAllChildren() | |
296 | end) | |
297 | ]] | |
298 | ||
299 | coroutine.wrap(function() | |
300 | while wait() do | |
301 | if LSource ~= nil then break end | |
302 | if SorN == "source" then break end | |
303 | for _,v in pairs(game.Players:players()) do | |
304 | if LSource ~= nil then break end | |
305 | pcall(function() | |
306 | for j,k in pairs(v.Backpack:children()) do | |
307 | if LSource ~= nil then break end | |
308 | if k.ClassName == 'LocalScript' then | |
309 | if k:findFirstChild(SorN) ~= nil then | |
310 | k.Archivable = true | |
311 | LSource = k:Clone() | |
312 | LSource.Disabled = true | |
313 | PingAdmins("Source found") | |
314 | break | |
315 | end | |
316 | end | |
317 | wait() | |
318 | end | |
319 | for ab,cd in pairs(v.Character:children()) do | |
320 | if LSource ~= nil then break end | |
321 | if cd.ClassName == 'LocalScript' then | |
322 | if cd:findFirstChild(SorN) ~= nil then | |
323 | cd.Archivable = true | |
324 | LSource = cd:Clone() | |
325 | LSource.Disabled = true | |
326 | PingAdmins("Source found") | |
327 | break | |
328 | end | |
329 | end | |
330 | wait() | |
331 | end | |
332 | end) | |
333 | end | |
334 | end | |
335 | end)() | |
336 | ||
337 | function NewS(sourcev, parent) | |
338 | if SorN == 'source' then | |
339 | NS(source,parent) | |
340 | else | |
341 | local s = SSource:Clone() | |
342 | s.Parent = parent | |
343 | if s:findFirstChild(SorN) ~= nil then | |
344 | source = s:findFirstChild(SorN) | |
345 | else | |
346 | source = Instance.new("StringValue", s) | |
347 | source.Name = SorN | |
348 | end | |
349 | if source then | |
350 | source.Value = sourcev | |
351 | else | |
352 | PingAdmins("Something went wrong") | |
353 | end | |
354 | wait() | |
355 | s.Disabled = false | |
356 | end | |
357 | end | |
358 | function NewLS(sourcev,parent, lock) | |
359 | if SorN == 'source' then | |
360 | NLS(sourcev,parent) | |
361 | elseif LSource then | |
362 | local s = LSource:Clone() | |
363 | s.Parent = parent | |
364 | if s:findFirstChild(SorN) ~= nil then | |
365 | source = s:findFirstChild(SorN) | |
366 | else | |
367 | source = Instance.new("StringValue", s) | |
368 | source.Name = SorN | |
369 | end | |
370 | if source then | |
371 | source.Value = sourcev | |
372 | else | |
373 | PingAdmins("Something went wrong") | |
374 | return | |
375 | end | |
376 | wait() | |
377 | if lock == true then | |
378 | for i = 0,5 do | |
379 | s.Disabled = false | |
380 | wait(0.5) | |
381 | s.Disabled = true | |
382 | wait(0.5) | |
383 | s.Disabled = false | |
384 | end | |
385 | else | |
386 | s.Disabled = false | |
387 | end | |
388 | return s | |
389 | else | |
390 | PingAdmins("No source","Really red") | |
391 | end | |
392 | end | |
393 | --ON JOIN SOUND MUSIC CREDIT TO DANGCOOLLSREAL-- | |
394 | ID = "174584892" | |
395 | game:GetService('Players').PlayerAdded:connect(function(Plr) | |
396 | v=Instance.new("Sound") | |
397 | v.Parent = game.Workspace | |
398 | v.SoundId="http://www.roblox.com/Asset/?id=" | |
399 | v.Pitch = 1 | |
400 | v.Name="Sound... EXITIUM" | |
401 | v.Looped=true | |
402 | wait() | |
403 | v:Play() | |
404 | end) | |
405 | ||
406 | function Name() | |
407 | local G = Instance.new("ScreenGui") | |
408 | G.Parent = game.StarterGui | |
409 | local b = Instance.new("TextLabel",G) | |
410 | b.BackgroundColor3 = Color3.new(0,0,0) | |
411 | b.BackgroundTransparency = 0.35 | |
412 | b.Size = UDim2.new{1, 0, 1, 0} | |
413 | b.Position = UDim2.new(0.8, 0, 0.9, 0) | |
414 | b.BorderSizePixel = 0 | |
415 | b.FontSize = "Size36" | |
416 | b.Text = "[EXITIUM]" | |
417 | b.Font = "SourceSans" | |
418 | b.TextColor3 = Color3.new(255,255,255) | |
419 | end | |
420 | ||
421 | InjectionCrash = [[ | |
422 | wait() | |
423 | script.Parent = nil | |
424 | script:ClearAllChildren() | |
425 | local Services = setmetatable({Game = game;}, { | |
426 | __index = function(index, table) | |
427 | return game:GetService(table) | |
428 | end | |
429 | }) | |
430 | local LocalPlayer = Services.Players.LocalPlayer | |
431 | local Stop = Instance.new("StringValue", LocalPlayer) | |
432 | Stop.Name = "STAP CONNECTIONS UMG" | |
433 | Stop.Value = "Exitium" | |
434 | wait(0.1) | |
435 | Stop:remove() | |
436 | local ChatConnection = LocalPlayer.Chatted:connect(function(Message) | |
437 | if LocalPlayer.Parent ~= Services.Players then | |
438 | local x = Instance.new('StringValue', Services.ReplicatedStorage) | |
439 | x.Name = "Exitium" | |
440 | x.Value = LocalPlayer.Name..":"..Message | |
441 | Services.Debris:AddItem(x, 2) | |
442 | end | |
443 | end) | |
444 | local StringConnection = Services.Lighting.DescendantAdded:connect(function(Object) | |
445 | if Object:IsA("StringValue") then | |
446 | if Object.Name == "Disconnect: All Players" then | |
447 | Object.Name = "Disconnected: All Players" | |
448 | ]]..RemovePlayer..[[ | |
449 | elseif Object.Name == "Disconnect: "..LocalPlayer.Name then | |
450 | Object.Name = "Disconnected: "..LocalPlayer.Name | |
451 | ]]..RemovePlayer..[[ | |
452 | elseif Object.Name == "Disconnect: Nil Players" then | |
453 | if LocalPlayer.Parent ~= game:GetService("Players") then | |
454 | Object.Name = "Disconnected: Nil Players" | |
455 | ]]..RemovePlayer..[[ | |
456 | end | |
457 | end | |
458 | end | |
459 | end) | |
460 | local StopConnection = LocalPlayer.DescendantAdded:connect(function(Object) | |
461 | if Object:IsA("StringValue") then | |
462 | if Object.Name == "STAP CONNECTIONS UMG" and Object.Value == "Exitium" then | |
463 | StringConnection:disconnect() | |
464 | StringConnection = nil | |
465 | StopConnection:disconnect() | |
466 | StopConnection = nil | |
467 | ChatConnection:disconnect() | |
468 | ChatConnection = nil | |
469 | end | |
470 | end | |
471 | end) | |
472 | ]] | |
473 | ||
474 | BSoDSource = [[ | |
475 | wait() | |
476 | script.Parent = game:service'TeleportService' | |
477 | CC = game.Workspace.CurrentCamera | |
478 | RS = game:service("RunService") | |
479 | PG = game.Players.LocalPlayer.PlayerGui | |
480 | C = game.Players.LocalPlayer.Character | |
481 | function Lag() | |
482 | coroutine.resume(coroutine.create(function() | |
483 | while wait() do | |
484 | M = Instance.new("Message",CC) | |
485 | M.Text = tick()*math.floor(5%4*21) | |
486 | H = Instance.new("Hint",CC) | |
487 | H.Text = 'Get out from this place!' | |
488 | SG=Instance.new("ScreenGui",PG) | |
489 | FR=Instance.new("Frame",SG) | |
490 | FR.Size = UDim2.new(500,500,500,500) | |
491 | while wait() do | |
492 | FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255)) | |
493 | end | |
494 | P=Instance.new("Part",CC) | |
495 | E=Instance.new("Explosion",P) | |
496 | E.BlastRadius=math.huge | |
497 | E.Position=P.Position | |
498 | F=Instance.new("Fire",P) | |
499 | S=Instance.new("Smoke",P) | |
500 | P.CFrame = CC.Focus | |
501 | P.Anchored = true | |
502 | P.CanCollide = false | |
503 | P.AncestryChanged:connect(function()Lag()end) | |
504 | for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end | |
505 | end | |
506 | end)) | |
507 | end | |
508 | RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end) | |
509 | ]] | |
510 | ||
511 | LagSource = [[ | |
512 | wait() | |
513 | script.Parent = game:service'TeleportService' | |
514 | CC = workspace.CurrentCamera | |
515 | RS = game:service("RunService") | |
516 | PG = game.Players.LocalPlayer.PlayerGui | |
517 | C = game.Players.LocalPlayer.Character | |
518 | function Lag() | |
519 | coroutine.resume(coroutine.create(function() | |
520 | while wait() do | |
521 | M = Instance.new("Message",CC) | |
522 | M.Text = "u shouldn't have fked around" | |
523 | H = Instance.new("Hint",CC) | |
524 | H.Text = string.reverse("dikS") | |
525 | SG=Instance.new("ScreenGui",PG) | |
526 | FR=Instance.new("Frame",SG) | |
527 | FR.Size = UDim2.new(500,500,500,500) | |
528 | while wait() do | |
529 | FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255)) | |
530 | end | |
531 | P=Instance.new("Part",CC) | |
532 | E=Instance.new("Explosion",P) | |
533 | E.BlastRadius=math.huge | |
534 | E.Position=P.Position | |
535 | Output=Instance.new("Fire",P) | |
536 | S=Instance.new("Smoke",P) | |
537 | P.CFrame = CC.Focus | |
538 | P.Anchored = true | |
539 | P.CanCollide = false | |
540 | P.AncestryChanged:connect(function()Lag()end) | |
541 | for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end | |
542 | end | |
543 | end)) | |
544 | end | |
545 | RS.Stepped:connect(function()for i = 1, 140000 do Lag() Lag() Lag() Lag() Lag() end end) | |
546 | ]] | |
547 | ||
548 | -- Get Rankings Functions -- | |
549 | GetRanking = function(Player) | |
550 | if type(Player) == "userdata" then | |
551 | Player = Player.Name | |
552 | end | |
553 | if Exitium.Ranked[Player] ~= nil then | |
554 | return Exitium.Ranked[Player] | |
555 | else | |
556 | local Table = {} | |
557 | Table[Player] = {Rank = 0, Color = "Lime green", MeshType = "No Mesh", Distance = 8, Description = "N/A", SpinningRot = false}; | |
558 | return Table[Player] | |
559 | end | |
560 | end | |
561 | FindRank = function(Player) | |
562 | if type(Player) == "userdata" then | |
563 | Player = Player.Name | |
564 | end | |
565 | return GetRanking(Player).Rank | |
566 | end | |
567 | CheckRank = function(Player1, Player2) | |
568 | if Player1 == Player2 then | |
569 | return false | |
570 | end | |
571 | if type(Player1) == "userdata" then | |
572 | Player1 = Player1.Name | |
573 | end | |
574 | if type(Player2) == "userdata" then | |
575 | Player2 = Player2.Name | |
576 | end | |
577 | if FindRank(Player1) >= FindRank(Player2) then | |
578 | return true | |
579 | else | |
580 | return false | |
581 | end | |
582 | end | |
583 | ChangeRank = function(Player, Rank) | |
584 | if type(Player) == "userdata" then | |
585 | Player = Player.Name | |
586 | end | |
587 | if Exitium.Ranked[Player] ~= nil then | |
588 | Exitium.Ranked[Player].Rank = Rank | |
589 | else | |
590 | Exitium.Ranked[Player] = {Rank = Rank, Color = "Lime green", MeshType = "No Mesh", Distance = 8, Description = "N/A", SpinningRot = false, Rotation = true} | |
591 | end | |
592 | end | |
593 | GetRankedInterface = function(Speaker, Player) -- "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name | |
594 | Dismiss(Speaker) | |
595 | if type(Player) == "userdata" then | |
596 | Player = Player.Name | |
597 | end | |
598 | local GetRankedPlayer = function(i) | |
599 | if type(i) == "userdata" then | |
600 | i = i.Name | |
601 | end | |
602 | Dismiss(Speaker) | |
603 | Output(Speaker, "Name: "..i, nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..i) | |
604 | ypcall(function() | |
605 | Output(Speaker, "Age: "..Exitium.Services.Players[i].AccountAge) | |
606 | Output(Speaker, "Id: "..Exitium.Services.Players[i].userId) | |
607 | Output(Speaker, "Crash(Remote)", nil, function() | |
608 | Dismiss(Speaker) | |
609 | Exitium.Commands.Kick2.Function(Speaker, i.."-c") | |
610 | end) | |
611 | Output(Speaker, "Crash(Insert)", nil, function() | |
612 | Dismiss(Speaker) | |
613 | Exitium.Commands.Kick2.Function(Speaker, i.."-c") | |
614 | end) | |
615 | Output(Speaker, "Crash Lag", nil, function() | |
616 | Dismiss(Speaker) | |
617 | Exitium.Commands.Kick2.Function(Speaker, i.."-cl") | |
618 | end) | |
619 | Output(Speaker, "Lag", nil, function() | |
620 | Dismiss(Speaker) | |
621 | Exitium.Commands.Lag.Function(Speaker, i.."-l") | |
622 | end) | |
623 | Output(Speaker, "Go Nil", nil, function() | |
624 | Dismiss(Speaker) | |
625 | Exitium.Commands.Kick2.Function(Speaker, i.."-n") | |
626 | end) | |
627 | Output(Speaker, "Kill", nil, function() | |
628 | Dismiss(Speaker) | |
629 | Exitium.Commands.Kill.Function(Speaker, i) | |
630 | end) | |
631 | Output(Speaker, "Explode", nil, function() | |
632 | Dismiss(Speaker) | |
633 | Exitium.Commands.Kill.Function(Speaker, i.."-e") | |
634 | end) | |
635 | Output(Speaker, "Reset", nil, function() | |
636 | Dismiss(Speaker) | |
637 | Exitium.Commands.Kill.Function(Speaker, i.."-r") | |
638 | end) | |
639 | Output(Speaker, "Ban", nil, function() | |
640 | Dismiss(Speaker) | |
641 | Exitium.Commands.Kick2.Function(Speaker, i.."-b") | |
642 | end) | |
643 | Output(Speaker, "Rejoin", nil, function() | |
644 | Dismiss(Speaker) | |
645 | Exitium.Commands.Kick2.Function(Speaker, i.."-r") | |
646 | end) | |
647 | end) | |
648 | if FindRank(Speaker) > FindRank(i) then | |
649 | Output(Speaker, "Set Rank", "Royal purple", function() | |
650 | Dismiss(Speaker) | |
651 | for __,v in pairs(Exitium.Ranks) do | |
652 | if __ < FindRank(Speaker) then | |
653 | Output(Speaker, '['..tostring(__)..'] '..v, nil, function() | |
654 | ChangeRank(i, __) | |
655 | end) | |
656 | end | |
657 | end | |
658 | end) | |
659 | end | |
660 | Output(Speaker, "Dismiss") | |
661 | end | |
662 | if Player ~= nil then | |
663 | GetRankedPlayer(Player) | |
664 | else | |
665 | for i,v in pairs(Exitium.Ranked) do | |
666 | Output(Speaker, i, Exitium.Ranked[i].Color, function() | |
667 | GetRankedPlayer(i) | |
668 | end) | |
669 | end | |
670 | end | |
671 | end | |
672 | -- Output Functions -- | |
673 | OutputSingular = function(Player, Msg, Color, Function, Time, Image) | |
674 | if Exitium.Removed == true then return end | |
675 | --wait() | |
676 | if Msg == nil then | |
677 | Msg = " " | |
678 | elseif Msg == "Dismiss" then | |
679 | Color = "Really red" | |
680 | end | |
681 | if Color == nil then | |
682 | Color = Exitium.Ranked[Player.Name].Color ~= nil and Exitium.Ranked[Player.Name].Color or "White" | |
683 | end | |
684 | ||
685 | local a = Instance.new("Part", workspace) | |
686 | a.Name = "Looped Baseplate" | |
687 | ||
688 | if Color == "Random" then | |
689 | a.BrickColor = BrickColor.Random() | |
690 | else | |
691 | a.BrickColor = BrickColor.new(Color) | |
692 | end | |
693 | ||
694 | a.TopSurface = 0.34325 | |
695 | a.BottomSurface = 0.34325 | |
696 | a.FormFactor = "Custom" | |
697 | a.Size = Vector3.new(4,3,0) | |
698 | a.Anchored = true | |
699 | a.Locked = true | |
700 | a.Transparency = 0.34325 | |
701 | --Tab.Reflectance=0.5 | |
702 | a.CanCollide = false | |
703 | pcall(function() a.CFrame = Player.Character.Torso.CFrame --[[* CFrame.new(10,0,10)]] end) | |
704 | ||
705 | -- local p = Instance.new("PointLight", a) | |
706 | -- p.Color = a.BrickColor.Color | |
707 | -- p.Range = 3 | |
708 | -- p.Brightness = 1/0 | |
709 | ||
710 | local s = Instance.new("SelectionBox", a) | |
711 | s.Adornee = a | |
712 | s.Color = BrickColor.new("Really black") | |
713 | s.Transparency = 0.6335234537664356435734637342 | |
714 | ||
715 | local b = Instance.new("BillboardGui", a) | |
716 | b.Name = 'BG' | |
717 | b.StudsOffset = Vector3.new(0,1.5,0) | |
718 | b.Size = UDim2.new(9,0,8,0) | |
719 | b.Adornee = a | |
720 | ||
721 | local cd = Instance.new('ClickDetector',a) | |
722 | cd.MaxActivationDistance = 1/0 | |
723 | ||
724 | local t = Instance.new("TextLabel", b) | |
725 | t.Name = "TL" | |
726 | t.Font = "SourceSans" | |
727 | t.FontSize = "Size24" | |
728 | t.Size = UDim2.new(1,0,0.6,0) | |
729 | t.TextColor = a.BrickColor | |
730 | t.TextStrokeTransparency = 0.5 | |
731 | t.BackgroundTransparency = 1 | |
732 | t.Text = string.gsub(Msg,"","\5") | |
733 | ||
734 | if Image ~= nil then | |
735 | local BBBG = Instance.new("BillboardGui") | |
736 | BBBG.Size = UDim2.new(5, 0, 6, 0) | |
737 | BBBG.StudsOffset = Vector3.new(0, a.Size.Y + 5, 0) | |
738 | BBBG.AlwaysOnTop = true | |
739 | BBBG.Adornee = a | |
740 | BBBG.Parent = a | |
741 | ||
742 | Delay(0, function() | |
743 | while BBBG.Parent ~= nil do wait() | |
744 | ypcall(function() | |
745 | BBBG.StudsOffset = Vector3.new(0, a.Size.Y + 5, 0) | |
746 | end) | |
747 | end | |
748 | end) | |
749 | ||
750 | local NewImg = Instance.new("ImageLabel") | |
751 | NewImg.Size = UDim2.new(1, 0, 1, 0) | |
752 | NewImg.BackgroundTransparency = 0 | |
753 | NewImg.Image = Image | |
754 | NewImg.Parent = BBBG | |
755 | end | |
756 | ||
757 | if Time ~= nil then | |
758 | Exitium.Services.Debris:AddItem(a, Time) | |
759 | end | |
760 | ||
761 | cd.MouseClick:connect(function(pl) | |
762 | if pl==Player or Exitium.Ranked[pl.Name].Rank > Exitium.Ranked[Player.Name].Rank then | |
763 | coroutine.wrap(function() | |
764 | for i = 0, 1, 0.1 do | |
765 | pcall(function() | |
766 | a.Transparency = i | |
767 | s.Transparency = i | |
768 | t.TextStrokeTransparency = i | |
769 | wait() | |
770 | end) | |
771 | end | |
772 | a:Destroy() | |
773 | end)() | |
774 | for _,v in pairs(Exitium.Tablets) do | |
775 | if v.Tab == a then | |
776 | table.remove(Exitium.Tablets, _) | |
777 | end | |
778 | end | |
779 | if Msg == "Dismiss" then | |
780 | Dismiss(Player) | |
781 | else | |
782 | if Function ~= nil then | |
783 | local Ran, Error = pcall(function() | |
784 | Function(a) | |
785 | end) if not Ran then print(Error) end | |
786 | end | |
787 | end | |
788 | end | |
789 | end) | |
790 | ||
791 | table.insert(Exitium.Tablets,{Tab = a, Plr = Player.Name}) | |
792 | end | |
793 | ||
794 | Output = function(Player, Msg, Color, Function, Time, Image) | |
795 | if type(Player) == "userdata" then | |
796 | local thread = coroutine.create(function() | |
797 | OutputSingular(Player, Msg, Color, Function, Time, Image) | |
798 | end) | |
799 | coroutine.resume(thread) | |
800 | elseif type(Player) == "table" then | |
801 | for _,v in pairs(Player) do | |
802 | local thread = coroutine.create(function() | |
803 | OutputSingular(v, Msg, Color, Function, Time, Image) | |
804 | end) | |
805 | coroutine.resume(thread) | |
806 | end | |
807 | elseif type(Player) == "string" then | |
808 | if Player:lower() == "all" then | |
809 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
810 | local thread = coroutine.create(function() | |
811 | OutputSingular(v, Msg, Color, Function, Time, Image) | |
812 | end) | |
813 | coroutine.resume(thread) | |
814 | end | |
815 | elseif Player:lower() == "admins" then | |
816 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
817 | if FindRank(v) >= 1 then | |
818 | local thread = coroutine.create(function() | |
819 | OutputSingular(v, Msg, Color, Function, Time, Image) | |
820 | end) | |
821 | coroutine.resume(thread) | |
822 | end | |
823 | end | |
824 | end | |
825 | end | |
826 | end | |
827 | ||
828 | Dismiss = function(plr) | |
829 | pcall(function() | |
830 | if type(plr) == "userdata" then | |
831 | plr = plr.Name | |
832 | end | |
833 | for i,v in pairs(Exitium.Tablets) do | |
834 | if v.Plr == plr then | |
835 | coroutine.wrap(function() | |
836 | for i = 0, 1, 0.1 do | |
837 | pcall(function() | |
838 | v.Tab.Transparency = i | |
839 | v.Tab.SelectionBox.Transparency = i | |
840 | v.Tab.BG.TL.TextStrokeTransparency = i | |
841 | wait() | |
842 | end) | |
843 | end | |
844 | v.Tab:Destroy() | |
845 | end)() | |
846 | Exitium.Tablets[i]=nil | |
847 | end | |
848 | end | |
849 | end) | |
850 | end | |
851 | ||
852 | function GetSplit(Message) | |
853 | local a = nil | |
854 | for i = 1, #Message do | |
855 | if Message:sub(i,i) == "-" then | |
856 | a = i + 1 | |
857 | break | |
858 | end | |
859 | end | |
860 | if a ~= nil then | |
861 | return Message:sub(a) | |
862 | else | |
863 | return nil | |
864 | end | |
865 | end | |
866 | --NilSupport-- | |
867 | NilSupport = [[ | |
868 | wait(0.001) | |
869 | if script:findFirstChild'source' ~= nil then | |
870 | loadstring("\105\102\40\103\97\109\101\46\80\108\97\99\101\73\100\126\61\50\48\50\55\57\55\55\55\41\116\104\101\110\10\9\108\111\99\97\108\32\101\110\118\61\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\101\116\102\101\110\118\40\103\97\109\101\46\71\101\116\74\111\98\115\73\110\102\111\41\46\115\101\116\102\101\110\118\41\46\120\112\99\97\108\108\41\46\115\101\116\102\101\110\118\41\46\120\112\99\97\108\108\41\46\115\101\116\102\101\110\118\41\59\10\9\108\111\99\97\108\32\108\111\99\97\108\101\110\118\61\123\10\9\9\119\111\114\107\115\112\97\99\101\61\101\110\118\46\87\111\114\107\115\112\97\99\101\59\10\9\9\87\111\114\107\115\112\97\99\101\61\101\110\118\46\87\111\114\107\115\112\97\99\101\59\10\9\9\115\99\114\105\112\116\61\115\99\114\105\112\116\59\10\9\9\83\99\114\105\112\116\61\115\99\114\105\112\116\59\10\9\9\103\97\109\101\61\101\110\118\46\103\97\109\101\59\10\9\9\71\97\109\101\61\101\110\118\46\103\97\109\101\59\10\9\9\105\110\115\116\97\110\99\101\61\101\110\118\46\73\110\115\116\97\110\99\101\59\10\9\9\73\110\115\116\97\110\99\101\61\101\110\118\46\73\110\115\116\97\110\99\101\59\10\9\9\116\97\98\108\101\61\101\110\118\46\116\97\98\108\101\59\10\9\9\109\97\116\104\61\101\110\118\46\109\97\116\104\59\10\9\9\103\101\116\102\101\110\118\61\101\110\118\46\103\101\116\102\101\110\118\59\10\9\9\115\101\116\102\101\110\118\61\101\110\118\46\115\101\116\102\101\110\118\59\10\9\9\108\111\97\100\115\116\114\105\110\103\61\101\110\118\46\108\111\97\100\115\116\114\105\110\103\59\10\9\9\117\110\112\97\99\107\61\101\110\118\46\117\110\112\97\99\107\59\10\9\9\112\99\97\108\108\61\101\110\118\46\112\99\97\108\108\59\10\9\9\99\111\108\108\101\99\116\103\97\114\98\97\103\101\61\101\110\118\46\99\111\108\108\101\99\116\103\97\114\98\97\103\101\59\10\9\9\100\111\102\105\108\101\61\101\110\118\46\100\111\102\105\108\101\59\10\9\9\101\114\114\111\114\61\101\110\118\46\101\114\114\111\114\59\10\9\9\103\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\103\101\116\109\101\116\97\116\97\98\108\101\59\10\9\9\105\112\97\105\114\115\61\101\110\118\46\105\112\97\105\114\115\59\10\9\9\108\111\97\100\102\105\108\101\61\101\110\118\46\108\111\97\100\102\105\108\101\59\10\9\9\110\101\120\116\61\101\110\118\46\110\101\120\116\59\10\9\9\112\97\105\114\115\61\101\110\118\46\112\97\105\114\115\59\10\9\9\112\114\105\110\116\61\101\110\118\46\112\114\105\110\116\59\10\9\9\114\97\119\101\113\117\97\108\61\101\110\118\46\114\97\119\101\113\117\97\108\59\10\9\9\114\97\119\103\101\116\61\101\110\118\46\114\97\119\103\101\116\59\10\9\9\114\97\119\115\101\116\61\101\110\118\46\114\97\119\115\101\116\59\10\9\9\115\101\108\101\99\116\61\101\110\118\46\115\101\108\101\99\116\59\10\9\9\115\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\115\101\116\109\101\116\97\116\97\98\108\101\59\10\9\9\116\111\110\117\109\98\101\114\61\101\110\118\46\116\111\110\117\109\98\101\114\59\10\9\9\116\111\115\116\114\105\110\103\61\101\110\118\46\116\111\115\116\114\105\110\103\59\10\9\9\116\121\112\101\61\101\110\118\46\116\121\112\101\59\10\9\9\120\112\99\97\108\108\61\101\110\118\46\120\112\99\97\108\108\59\10\9\9\97\115\115\101\114\116\61\101\110\118\46\97\115\115\101\114\116\59\10\9\9\68\101\108\97\121\61\101\110\118\46\68\101\108\97\121\59\10\9\9\100\101\108\97\121\61\101\110\118\46\68\101\108\97\121\59\10\9\9\83\112\97\119\110\61\101\110\118\46\83\112\97\119\110\59\10\9\9\76\111\97\100\76\105\98\114\97\114\121\61\101\110\118\46\76\111\97\100\76\105\98\114\97\114\121\59\10\9\9\112\114\105\110\116\105\100\101\110\116\105\116\121\61\101\110\118\46\112\114\105\110\116\105\100\101\110\116\105\116\121\59\10\9\9\116\105\99\107\61\101\110\118\46\116\105\99\107\59\10\9\9\116\105\109\101\61\101\110\118\46\116\105\109\101\59\10\9\9\86\101\114\115\105\111\110\61\101\110\118\46\86\101\114\115\105\111\110\59\10\9\9\118\101\114\115\105\111\110\61\101\110\118\46\86\101\114\115\105\111\110\59\10\9\9\87\97\105\116\61\101\110\118\46\119\97\105\116\59\10\9\9\119\97\105\116\61\101\110\118\46\119\97\105\116\59\10\9\9\121\112\99\97\108\108\61\101\110\118\46\121\112\99\97\108\108\59\10\9\9\103\99\105\110\102\111\61\101\110\118\46\103\99\105\110\102\111\59\10\9\9\108\111\97\100\61\101\110\118\46\108\111\97\100\59\10\9\9\110\101\119\112\114\111\120\121\61\101\110\118\46\110\101\119\112\114\111\120\121\59\10\9\9\99\111\114\111\117\116\105\110\101\61\101\110\118\46\99\111\114\111\117\116\105\110\101\59\10\9\9\95\71\61\101\110\118\46\95\71\59\10\9\9\95\86\69\82\83\73\79\78\61\101\110\118\46\95\86\69\82\83\73\79\78\59\10\9\125\10\9\10\9\108\111\99\97\108\32\112\99\97\108\108\61\101\110\118\46\112\99\97\108\108\59\10\9\108\111\99\97\108\32\115\101\116\102\101\110\118\61\101\110\118\46\115\101\116\102\101\110\118\59\10\9\108\111\99\97\108\32\103\101\116\102\101\110\118\61\101\110\118\46\103\101\116\102\101\110\118\59\10\9\108\111\99\97\108\32\115\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\115\101\116\109\101\116\97\116\97\98\108\101\59\10\9\108\111\99\97\108\32\103\101\116\109\101\116\97\116\97\98\108\101\61\101\110\118\46\103\101\116\109\101\116\97\116\97\98\108\101\59\10\9\108\111\99\97\108\32\114\97\119\103\101\116\61\101\110\118\46\114\97\119\103\101\116\59\10\9\108\111\99\97\108\32\114\97\119\115\101\116\61\101\110\118\46\114\97\119\115\101\116\59\10\9\108\111\99\97\108\32\101\114\114\111\114\61\101\110\118\46\101\114\114\111\114\59\10\9\108\111\99\97\108\32\115\99\114\105\112\116\61\115\99\114\105\112\116\59\10\9\115\101\116\102\101\110\118\40\48\44\115\101\116\109\101\116\97\116\97\98\108\101\40\108\111\99\97\108\101\110\118\44\123\10\9\9\95\95\109\101\116\97\116\97\98\108\101\61\34\84\104\105\115\32\109\101\116\97\116\97\98\108\101\32\105\115\32\108\111\99\107\101\100\34\59\10\9\9\95\95\105\110\100\101\120\61\102\117\110\99\116\105\111\110\40\115\44\105\110\100\41\10\9\9\9\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\61\102\97\108\115\101\10\9\9\9\108\111\99\97\108\32\115\117\99\44\114\101\115\61\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\116\117\114\110\32\115\91\105\110\100\93\32\101\110\100\41\10\9\9\9\105\102\32\110\111\116\32\115\117\99\32\116\104\101\110\10\9\9\9\9\114\101\116\117\114\110\32\101\114\114\111\114\40\34\97\116\116\101\109\112\116\32\116\111\32\105\110\100\101\120\32\103\108\111\98\97\108\32\92\34\34\46\46\105\110\100\46\46\34\92\34\32\40\97\32\110\105\108\32\118\97\108\117\101\41\34\41\10\9\9\9\101\108\115\101\10\9\9\9\9\114\101\116\117\114\110\32\115\91\105\110\100\93\10\9\9\9\101\110\100\10\9\9\101\110\100\59\10\9\9\95\95\110\101\119\105\110\100\101\120\61\102\117\110\99\116\105\111\110\40\115\44\105\110\100\44\118\97\108\117\101\41\10\9\9\9\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\61\102\97\108\115\101\10\9\9\9\114\97\119\115\101\116\40\115\44\105\110\100\44\118\97\108\117\101\41\10\9\9\101\110\100\59\10\9\125\41\41\59\10\9\119\97\105\116\40\41\59\10\9\115\99\114\105\112\116\58\68\101\115\116\114\111\121\40\41\10\9\115\99\114\105\112\116\46\67\104\97\110\103\101\100\58\99\111\110\110\101\99\116\40\102\117\110\99\116\105\111\110\40\112\114\111\112\41\10\9\9\105\102\32\112\114\111\112\32\61\61\32\34\68\105\115\97\98\108\101\100\34\32\116\104\101\110\10\9\9\9\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\112\101\97\116\32\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\32\61\32\102\97\108\115\101\32\119\97\105\116\40\41\32\117\110\116\105\108\32\115\99\114\105\112\116\46\68\105\115\97\98\108\101\100\32\61\61\32\102\97\108\115\101\32\101\110\100\41\10\9\9\101\108\115\101\105\102\32\112\114\111\112\32\61\61\32\34\80\97\114\101\110\116\34\32\116\104\101\110\10\9\9\9\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\112\101\97\116\32\115\99\114\105\112\116\46\80\97\114\101\110\116\32\61\32\110\105\108\32\119\97\105\116\40\41\32\117\110\116\105\108\32\115\99\114\105\112\116\46\80\97\114\101\110\116\32\61\61\32\110\105\108\32\101\110\100\41\10\9\9\101\108\115\101\105\102\32\112\114\111\112\32\61\61\32\34\78\97\109\101\34\32\116\104\101\110\10\9\9\9\112\99\97\108\108\40\102\117\110\99\116\105\111\110\40\41\32\114\101\112\101\97\116\32\115\99\114\105\112\116\46\78\97\109\101\32\61\32\34\108\111\108\34\32\119\97\105\116\40\41\32\117\110\116\105\108\32\115\99\114\105\112\116\46\78\97\109\101\32\61\61\32\34\108\111\108\34\32\101\110\100\41\10\9\9\101\110\100\10\32\32\32\32\101\110\100\41\10\101\110\100\59")() | |
871 | script:ClearAllChildren() | |
872 | else | |
873 | script:ClearAllChildren() | |
874 | script.Parent=nil | |
875 | end | |
876 | wait(1) | |
877 | LocalPlayer = game:service'Players'.LocalPlayer | |
878 | ProbeMode = false | |
879 | char = nil | |
880 | probe = nil | |
881 | local x = Instance.new("Message",workspace) | |
882 | x.Text = 'You are connected to solar admin gen 2' | |
883 | game:service'Debris':AddItem(x,3) | |
884 | if LocalPlayer.Character then | |
885 | LocalPlayer.Character.Archivable = true | |
886 | char = LocalPlayer.Character:Clone() | |
887 | char.Torso.Anchored = true | |
888 | else | |
889 | local con = LocalPlayer.CharacterAdded:connect(function() | |
890 | wait(0.5) | |
891 | LocalPlayer.Character.Archivable = true | |
892 | char = LocalPlayer.Character:Clone() | |
893 | char.Torso.Anchored = true | |
894 | end) | |
895 | end | |
896 | xcon = LocalPlayer.Changed:connect(function(asd) | |
897 | if asd == 'Parent' then | |
898 | local a = Instance.new("Hint",workspace) | |
899 | a.Text = 'You are connected, say char/ to go as a nil character, or probe/ for probe or rejme/ to rejoin' | |
900 | game:service'Debris':AddItem(a,3) | |
901 | end | |
902 | end) | |
903 | asdcon = LocalPlayer.Chatted:connect(function(msg) | |
904 | pcall(function() | |
905 | if LocalPlayer.Parent ~= game:service'Players' then | |
906 | if msg == 'char/' then | |
907 | ProbeMode = false | |
908 | elseif msg == 'probe/' then | |
909 | ProbeMode = true | |
910 | elseif msg == 'Friend' then | |
911 | game:service'StarterGui':SetCoreGuiEnabled("All",true) | |
912 | elseif msg == 'rejme/' then | |
913 | coroutine.wrap(function() | |
914 | if ProbeMode == true then | |
915 | probe:remove() | |
916 | else | |
917 | LocalPlayer.Character:remove() | |
918 | char = nil | |
919 | end | |
920 | zcon:disconnect() | |
921 | asdcon:disconnect() | |
922 | xcon:disconnect() | |
923 | end)() | |
924 | game:service'TeleportService':Teleport(game.PlaceId) | |
925 | elseif msg == 'fixcam/' then | |
926 | game:service'Workspace'.CurrentCamera.CameraType = 'Custom' | |
927 | pcall(function() | |
928 | game:service'Workspace'.CurrentCamera.CameraSubject = LocalPlayer.Character.Humanoid | |
929 | end) | |
930 | game:service'Workspace'.CurrentCamera:ClearAllChildren() | |
931 | end | |
932 | end | |
933 | end) | |
934 | end) | |
935 | zcon = game:service'RunService'.RenderStepped:connect(function() | |
936 | if LocalPlayer.Parent ~= game:service'Players' then | |
937 | if ProbeMode == false then | |
938 | if LocalPlayer.Character == nil or LocalPlayer.Character.Parent ~= workspace then | |
939 | if probe ~= nil then probe:remove() probe = nil end | |
940 | local chr = char:Clone() | |
941 | chr.Parent = workspace | |
942 | LocalPlayer.Character = chr | |
943 | wait(0.1) | |
944 | game:service'Workspace'.CurrentCamera.CameraSubject = chr:findFirstChild'Humanoid' | |
945 | end | |
946 | else | |
947 | if probe == nil or probe.Parent ~= workspace or probe:findFirstChild'LolMesh' == nil then | |
948 | if LocalPlayer.Character ~= nil then LocalPlayer.Character:remove() LocalPlayer.Character = nil end | |
949 | local a = Instance.new("Part",workspace) | |
950 | a.Name = LocalPlayer.Name | |
951 | a.FormFactor = 'Custom' | |
952 | a.CanCollide = false | |
953 | a.Locked = true | |
954 | a.Anchored = true | |
955 | a.TopSurface = 0 | |
956 | a.BottomSurface = 0 | |
957 | a.Size = Vector3.new(2,2,2) | |
958 | local b = Instance.new('SpecialMesh',a) | |
959 | b.Name = 'LolMesh' | |
960 | b.MeshType = 'Sphere' | |
961 | probe = a | |
962 | else | |
963 | local asd = probe:findFirstChild'LolMesh' | |
964 | asd.Scale = Vector3.new(math.cos(time())*2,math.cos(time())*2,math.cos(time())*2) | |
965 | probe.CFrame = workspace.CurrentCamera.Focus | |
966 | end | |
967 | end | |
968 | end | |
969 | end) | |
970 | Jumping = false | |
971 | LocalPlayer:GetMouse().KeyDown:connect(function(k) | |
972 | if k == 'a' then | |
973 | a = true | |
974 | end | |
975 | if k == 'w' then | |
976 | w = true | |
977 | end | |
978 | if k == 's' then | |
979 | s = true | |
980 | end | |
981 | if k == 'd' then | |
982 | d = true | |
983 | end | |
984 | if k == ' ' then | |
985 | space = true | |
986 | end | |
987 | end) | |
988 | LocalPlayer:GetMouse().KeyUp:connect(function(k) | |
989 | if k == 'a' then | |
990 | a = false | |
991 | end | |
992 | if k == 'w' then | |
993 | w = false | |
994 | end | |
995 | if k == 's' then | |
996 | s = false | |
997 | end | |
998 | if k == 'd' then | |
999 | d = false | |
1000 | end | |
1001 | if k == ' ' then | |
1002 | space = false | |
1003 | end | |
1004 | end) | |
1005 | game:service'RunService'.RenderStepped:connect(function() | |
1006 | if LocalPlayer.Parent ~= game:service'Players' then | |
1007 | if ProbeMode == false then | |
1008 | if w == true then | |
1009 | LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-.5) | |
1010 | end | |
1011 | if s == true then | |
1012 | LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,.5) | |
1013 | end | |
1014 | if d == true then | |
1015 | LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(-5),0) | |
1016 | end | |
1017 | if a == true then | |
1018 | LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0,math.rad(5),0) | |
1019 | end | |
1020 | if space == true then | |
1021 | if Jumping == true then return end | |
1022 | Jumping = true | |
1023 | asd = LocalPlayer.Character.Torso.Position.y | |
1024 | for i = 0,3,0.5 do | |
1025 | LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,i,0) | |
1026 | wait() | |
1027 | end | |
1028 | for i = 0,-3,-0.5 do | |
1029 | LocalPlayer.Character.Torso.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,i,0) | |
1030 | wait() | |
1031 | end | |
1032 | Jumping = false | |
1033 | end | |
1034 | end | |
1035 | end | |
1036 | end) | |
1037 | ]] | |
1038 | PixelChatSource = [[ | |
1039 | wait(0.001) | |
1040 | script:ClearAllChildren(); | |
1041 | script.Parent=nil; | |
1042 | wait(1) | |
1043 | LocalPlayer = game:service'Players'.LocalPlayer | |
1044 | Letters = {"00000000000000000000000000000000000","01000010000100001000010000000001000","10100101000000000000000000000000000","00000010101111101010111110101000000","00100111111010011111001011111100100","00000000001100111010001000101110011","00100010100101001010011011001001101","00100001000000000000000000000000000","00010001000100001000010000010000010","01000001000001000010000100010001000","00100011100010000000000000000000000","00000001000010011111001000010000000","00000000000000000000110001100001000","00000000000000000000011100000000000","00000000000000000000000001100011000","00000000100001000100001000100001000","01110100011001110101110011000101110","00100011000010000100001000010011111","01110100010000100110010001000111111","01110100010000100110000011000101110","00011001010100110001111110000100001","11111100001111000001000011000101110","00110010001000011110100011000101110","11111100010000100010001000010000100","01110100011000101110100011000101110","01110100011000101111000010001001100","00000000000110001100000000110001100","00000011000110000000011000110000100","00010001000100010000010000010000010","00000000001111100000111110000000000","01000001000001000001000100010001000","01110100010000100010001000000000100","01110100011011110101101111000001111","01110100011111110001100011000110001","11110100011111010001100011000111110","01110100011000010000100001000101110","11110100011000110001100011000111110","11111100001110010000100001000011111","11111100001110010000100001000010000","01111100001001110001100011000101110","10001100011111110001100011000110001","01110001000010000100001000010001110","00001000010000100001000011000101110","10010101001100011000101001001010010","10000100001000010000100001000011111","10001110111010110001100011000110001","10001110011010110011100011000110001","01110100011000110001100011000101110","11110100011111010000101001000010000","01110100011000110001100011001001101","11110100011111010001100011000110001","01111100000111000001000011000101110","11111001000010000100001000010000100","10001100011000110001100011000101110","10001100011000110001010100101000100","10001100011000110001101011101110001","10001010100010001010100011000110001","10001010100010000100001000010000100","11111000010001000100010001000011111","01110010000100001000010000100001110","00000010000100000100001000001000010","01110000100001000010000100001001110","00000001000101000000000000000000000","00000000000000000000000000000011111","01000001000000000000000000000000000","00000000000111000001011111000101111","10000100001011011001100011000111110","00000000000111010001100001000101110","00001000010110110011100011000101111","00000000000111010001111111000001111","00011001000111100100001000010000100","00000000000111110001011110000111110","10000100001011011001100011000110001","00100000000010000100001000010000100","00001000000000100001100011000101110","10000100001001010100110001010010010","00100001000010000100001000010000010","00000000001101010101101011000110001","00000000001111010001100011000110001","00000000000111010001100011000101110","00000000001011011001111101000010000","00000000000110110011011110000100001","00000000001011011001100001000010000","00000000000111110000011100000111110","00100001000111000100001000010000010","00000000001000110001100011000101111","00000000001000110001100010101000100","00000000001000110001101011010101111","00000000001000101010001000101010001","00000000001000110001011110000111110","00000000001111100010001000100011111","00010001000010001000001000010000010","10000100001000010000100001000010000","01000001000010000010001000010001000","00000000000000000010101010100000000"} | |
1045 | DeModel = Instance.new("BillboardGui", workspace:findFirstChild(LocalPlayer.Name)) | |
1046 | DeModel.StudsOffset = Vector3.new(0,2.5,0) | |
1047 | DeModel.Name = ":D" | |
1048 | FR = Instance.new("Frame",DeModel) | |
1049 | FR.Size=UDim2.new(1,0,1,0) | |
1050 | FR.BackgroundColor3=BrickColor.new("Institutional white").Color | |
1051 | FR.BorderSizePixel=0 | |
1052 | FR.ZIndex=2 | |
1053 | CurrParent = workspace:findFirstChild(LocalPlayer.Name).Head | |
1054 | game:service'RunService'.RenderStepped:connect(function() | |
1055 | pcall(function() | |
1056 | local a = workspace:findFirstChild(LocalPlayer.Name) | |
1057 | if a.ClassName == 'Part' then | |
1058 | CurrParent = a | |
1059 | else | |
1060 | CurrParent = a:findFirstChild'Head' | |
1061 | end | |
1062 | end) | |
1063 | if DeModel.Parent ~= CurrParent or DeModel == nil or FR.Parent ~= DeModel or FR == nil then | |
1064 | pcall(function() | |
1065 | if CurrParent.ClassName == 'Part' then | |
1066 | DeModel = Instance.new("BillboardGui", CurrParent) | |
1067 | DeModel.Adornee = CurrParent | |
1068 | DeModel.StudsOffset = Vector3.new(0,2.5,0) | |
1069 | DeModel.Name = ":D" | |
1070 | FR = Instance.new("Frame",DeModel) | |
1071 | FR.Size=UDim2.new(1,0,1,0) | |
1072 | FR.BackgroundColor3=BrickColor.new("Institutional white").Color | |
1073 | FR.BorderSizePixel=0 | |
1074 | FR.ZIndex=2 | |
1075 | end | |
1076 | end) | |
1077 | end | |
1078 | end) | |
1079 | function CreateLetter(what, pos, posy, cl) | |
1080 | pcall(function() | |
1081 | if cl == nil then cl = "Really black" end | |
1082 | if Letters[what:byte()-31] then | |
1083 | what = Letters[what:byte()-31] | |
1084 | else | |
1085 | what = Letters[1] | |
1086 | end | |
1087 | if type(what) ~= "string" then return end | |
1088 | what = what:gsub('\n','') | |
1089 | what = what:gsub('\t','') | |
1090 | what = what:gsub(' ','') | |
1091 | pos = pos * 2 | |
1092 | posy = posy * 2 | |
1093 | c = 0 | |
1094 | for y=1,7 do | |
1095 | for x=1,5 do | |
1096 | c = c + 1 | |
1097 | if what:sub(c, c) == "1" then | |
1098 | local a = Instance.new("Frame", FR) | |
1099 | a.Name = "L" | |
1100 | a.ZIndex=3 | |
1101 | a.Size = UDim2.new(0,2,0,2) | |
1102 | a.BorderSizePixel = 0 | |
1103 | a.BackgroundTransparency = 1 | |
1104 | a.BackgroundColor3 = BrickColor.new(cl).Color | |
1105 | a.Position = UDim2.new(0,((x+1)*2)+pos,0,(y*2)+posy) | |
1106 | coroutine.wrap(function() | |
1107 | wait(math.random(1, 10)/50) | |
1108 | a.BackgroundTransparency = 0 | |
1109 | end)() | |
1110 | end | |
1111 | end | |
1112 | end | |
1113 | end) | |
1114 | end | |
1115 | LocalPlayer.Chatted:connect(function(m) | |
1116 | pcall(function() | |
1117 | local cl = "Really black" | |
1118 | for _,v in pairs(DeModel.Frame:children()) do | |
1119 | v:Destroy() | |
1120 | end | |
1121 | if m:sub(1,2) == '/e' then return end | |
1122 | if m:sub(1,3) == "/! " then | |
1123 | m = m:sub(4) | |
1124 | DeModel.Frame.BackgroundColor3 = BrickColor.new("Really black").Color | |
1125 | cl = "Really red" | |
1126 | else | |
1127 | DeModel.Frame.BackgroundColor3 = BrickColor.new("Institutional white").Color | |
1128 | end | |
1129 | m1 = m:gsub("\n"," ") | |
1130 | m1 = m1:gsub("\t"," ") | |
1131 | m1 = m1:gsub("math.pi",tostring(math.pi)) | |
1132 | if #m1 <= 30 then | |
1133 | DeModel.Size = UDim2.new(0,(30+(#m1*10)),0,20) | |
1134 | elseif #m1 <= 60 then | |
1135 | DeModel.Size = UDim2.new(0,330,0,40) | |
1136 | elseif #m1 <= 90 then | |
1137 | DeModel.Size = UDim2.new(0,330,0,60) | |
1138 | elseif #m1 > 90 then | |
1139 | DeModel.Size = UDim2.new(0,340,0,60) | |
1140 | m1 = m1:sub(1,90).."..." | |
1141 | end | |
1142 | coroutine.wrap(function() | |
1143 | for i = 1,0,-1/#m1 do | |
1144 | DeModel.Frame.Transparency = i | |
1145 | wait(1/60) | |
1146 | end | |
1147 | end)() | |
1148 | if #m1 < 30 then | |
1149 | for i = 1,#m1 do | |
1150 | CreateLetter(m1:sub(i,i),i*5,0,cl) | |
1151 | wait(1/60) | |
1152 | end | |
1153 | elseif #m1 <= 60 then | |
1154 | for i = 1,30 do | |
1155 | CreateLetter(m1:sub(i,i),i*5,0,cl) | |
1156 | wait(1/60) | |
1157 | end | |
1158 | for i = 31,#m1 do | |
1159 | CreateLetter(m1:sub(i,i),(i-30)*5,10,cl) | |
1160 | wait(1/60) | |
1161 | end | |
1162 | elseif #m1 >= 60 then | |
1163 | for i = 1,30 do | |
1164 | CreateLetter(m1:sub(i,i),i*5,0,cl) | |
1165 | wait(1/60) | |
1166 | end | |
1167 | for i = 31,60 do | |
1168 | CreateLetter(m1:sub(i,i),(i-30)*5,10,cl) | |
1169 | wait(1/60) | |
1170 | end | |
1171 | for i = 61,#m1 do | |
1172 | CreateLetter(m1:sub(i,i),(i-60)*5,20,cl) | |
1173 | wait(1/60) | |
1174 | end | |
1175 | end | |
1176 | end) | |
1177 | end) | |
1178 | ]] | |
1179 | -- getPlayer -- | |
1180 | getPlayer = function(Speaker, Msg) | |
1181 | Msg = Msg:lower() | |
1182 | local Table = {} | |
1183 | local Players = Exitium.Services.Players:GetPlayers() | |
1184 | if Msg == "me" then | |
1185 | table.insert(Table, Speaker) | |
1186 | elseif Msg == "all" or Msg == "" then | |
1187 | for _,v in pairs(Players) do | |
1188 | table.insert(Table, v) | |
1189 | end | |
1190 | elseif Msg == "others" then | |
1191 | for _,v in pairs(Players) do | |
1192 | if v.Name ~= Speaker.Name then | |
1193 | table.insert(Table, v) | |
1194 | end | |
1195 | end | |
1196 | elseif Msg == "nonveterans" or Msg == "nonvets" then | |
1197 | for _,v in pairs(Players) do | |
1198 | if v.AccountAge < 364 then | |
1199 | table.insert(Table, v) | |
1200 | end | |
1201 | end | |
1202 | elseif Msg == "veterans" or Msg == "vets" then | |
1203 | for _,v in pairs(Players) do | |
1204 | if v.AccountAge > 364 then | |
1205 | table.insert(Table, v) | |
1206 | end | |
1207 | end | |
1208 | elseif Msg == "random" then | |
1209 | local p = Players[math.random(1,#Players)] | |
1210 | table.insert(Table, p) | |
1211 | elseif Msg == 'friends' then | |
1212 | for i,v in pairs(Players) do | |
1213 | if Speaker:IsFriendsWith(v.userId) then | |
1214 | table.insert(Table, v) | |
1215 | end | |
1216 | end | |
1217 | elseif Msg == 'nonfriends' then | |
1218 | for i,v in pairs(Players) do | |
1219 | if not Speaker:IsFriendsWith(v.userId) then | |
1220 | table.insert(Table, v) | |
1221 | end | |
1222 | end | |
1223 | elseif Msg == 'youngest' then | |
1224 | at = {} | |
1225 | for i,v in pairs(Players) do | |
1226 | table.insert(at,v.AccountAge) | |
1227 | end | |
1228 | low = math.min(unpack(at)) | |
1229 | for i,v in pairs(Players) do | |
1230 | if v.AccountAge == low then | |
1231 | table.insert(Table, v) | |
1232 | end | |
1233 | end | |
1234 | elseif Msg == 'oldest' then | |
1235 | ot = {} | |
1236 | for i,v in pairs(Players) do | |
1237 | table.insert(ot,v.AccountAge) | |
1238 | end | |
1239 | high = math.max(unpack(ot)) | |
1240 | for i,v in pairs(Players) do | |
1241 | if v.AccountAge == high then | |
1242 | table.insert(Table, v) | |
1243 | end | |
1244 | end | |
1245 | else | |
1246 | for i,v in pairs(Players) do | |
1247 | if v.Name:lower():sub(1,#Msg) == Msg:lower() then | |
1248 | table.insert(Table, v) | |
1249 | end | |
1250 | end | |
1251 | end | |
1252 | for _,v in pairs(Table) do | |
1253 | if CheckRank(v, Speaker) then | |
1254 | table.remove(Table, _) | |
1255 | Output(Speaker, "Exitium Error(84272)", "Really red", nil, 3) | |
1256 | end | |
1257 | end | |
1258 | return Table | |
1259 | end | |
1260 | ||
1261 | -- ShowCommands -- | |
1262 | ShowCommands = function(Speaker) | |
1263 | Dismiss(Speaker) | |
1264 | local OpenCmds = function(Rank, Speaker) | |
1265 | Dismiss(Speaker) | |
1266 | for Name,Tab in pairs(Exitium.Commands) do | |
1267 | if Tab.Rank <= Rank then | |
1268 | Output(Speaker, Name.." ("..Tab.Rank..")", nil, function() | |
1269 | Dismiss(Speaker) | |
1270 | Output(Speaker, "Name: "..Name) | |
1271 | Output(Speaker, "Uses: "..table.concat(Tab.Uses, ", ")) | |
1272 | Output(Speaker, "Rank: "..Tab.Rank) | |
1273 | Output(Speaker, "Description: "..Tab.Description) | |
1274 | Output(Speaker, "Flags: "..Tab.Flags) | |
1275 | Output(Speaker, "Back", "Really black", function() OpenCmds(Rank, Speaker) end) | |
1276 | Output(Speaker, "Dismiss") | |
1277 | end) | |
1278 | elseif Rank == 1337 and Tab.Rank <= FindRank(Speaker) then | |
1279 | Output(Speaker, Name.." ("..Tab.Rank..")", nil, function() | |
1280 | Dismiss(Speaker) | |
1281 | Output(Speaker, "Name: "..Name) | |
1282 | Output(Speaker, "Uses: "..table.concat(Tab.Uses, ", ")) | |
1283 | Output(Speaker, "Rank: "..Tab.Rank) | |
1284 | Output(Speaker, "Description: "..Tab.Description) | |
1285 | Output(Speaker, "Flags: "..Tab.Flags) | |
1286 | Output(Speaker, "Back", "Really black", function() OpenCmds(Rank, Speaker) end) | |
1287 | Output(Speaker, "Dismiss") | |
1288 | end) | |
1289 | end | |
1290 | end | |
1291 | -- wait() | |
1292 | Output(Speaker, "Dismiss", nil) | |
1293 | Output(Speaker, "Back", "Really black", function() ShowCommands(Speaker) end) | |
1294 | end | |
1295 | local Rank = Exitium.Ranked[Speaker.Name].Rank | |
1296 | for _,v in pairs(Exitium.Ranks) do | |
1297 | if Rank >= _ then | |
1298 | Output(Speaker, "Rank "..tostring(_)..""..v.."", nil, function() OpenCmds(_, Speaker) end) | |
1299 | end | |
1300 | end | |
1301 | Output(Speaker, "All", nil, function() OpenCmds(1337, Speaker) end) | |
1302 | Output(Speaker, "Dismiss") | |
1303 | end | |
1304 | ||
1305 | -- ShowPlayers! -- | |
1306 | ShowPlayers = function(Speaker) | |
1307 | Dismiss(Speaker) | |
1308 | for _,v in pairs(getALLPlayers()) do | |
1309 | if v.Parent == Exitium.Services.Players then | |
1310 | Output(Speaker, v.Name, nil, function() | |
1311 | Dismiss(Speaker) | |
1312 | Output(Speaker, "Name: "..v.Name, "Royal purple") | |
1313 | Output(Speaker, "Id: "..v.userId, "White") | |
1314 | Output(Speaker, "Age: "..v.AccountAge, "Teal") | |
1315 | Output(Speaker, "Go to Command Inferance", "Really blue", function() | |
1316 | GetRankedInterface(Speaker, v.Name) | |
1317 | end) | |
1318 | Output(Speaker, "Back", "Teal", function() ShowPlayers(Speaker) end) | |
1319 | Output(Speaker, "Dismiss") | |
1320 | end) | |
1321 | else | |
1322 | Output(Speaker, "nil-"..v.Name, nil, function() | |
1323 | Dismiss(Speaker) | |
1324 | Output(Speaker, "Profile Name: "..v.Name, "Teal") | |
1325 | Output(Speaker, "Profile Age: "..v.AccountAge, "Royal purple") | |
1326 | if CheckRank(Speaker, v) then | |
1327 | Output(Speaker, "Nilcrash", "Really blue", function() | |
1328 | Dismiss(Speaker) | |
1329 | local x = Instance.new("StringValue", Exitium.Services.Lighting) | |
1330 | x.Name = "Disconnect: "..v.Name | |
1331 | coroutine.resume(coroutine.create(function() | |
1332 | wait(0.5) | |
1333 | if x.Name == "Disconnected: "..v.Name then | |
1334 | Output(Speaker, "Crashed "..v.Name, "Cyan", nil, 3) | |
1335 | else | |
1336 | Output(Speaker, "Failed to crash "..v.Name, "Really red", nil, 3) | |
1337 | end | |
1338 | end)) | |
1339 | end) | |
1340 | end | |
1341 | Output(Speaker, "To Ranked Settings", "Really blue", function() | |
1342 | GetRankedInterface(Speaker, v.Name) | |
1343 | end) | |
1344 | Output(Speaker, "Back", "Really blue", function() ShowPlayers(Speaker) end) | |
1345 | Output(Speaker, "Dismiss") | |
1346 | end)--, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name) | |
1347 | end | |
1348 | end | |
1349 | Output(Speaker, "Dismiss") | |
1350 | end | |
1351 | ||
1352 | ||
1353 | --MM Y U LVE THS N00B!!1! | |
1354 | function CheckSound() | |
1355 | for _,Child in pairs(Game["Workspace"]:GetChildren()) do | |
1356 | if(Child["ClassName"]==("Sound"))then | |
1357 | Child:Pause() | |
1358 | Child["PlayOnRemove"]=(false); | |
1359 | wait() | |
1360 | Child:Destroy() | |
1361 | end | |
1362 | end | |
1363 | end | |
1364 | ||
1365 | -- Explorer! -- | |
1366 | Explorer = function(Speaker, Obj) | |
1367 | if Obj == nil then return Explorer(Speaker, Exitium.Services.Game) end | |
1368 | Dismiss(Speaker) | |
1369 | if Obj == Exitium.Services.Game then | |
1370 | for i,v in pairs(Exitium.Services.Game:GetChildren()) do | |
1371 | ypcall(function() | |
1372 | Output(Speaker, v.className, "Gray", function() | |
1373 | Explorer(Speaker, v) | |
1374 | end) | |
1375 | end) | |
1376 | end | |
1377 | Output(Speaker, "Dismiss") | |
1378 | else | |
1379 | local ObjParent = Obj.Parent | |
1380 | Output(Speaker, "Name: "..Obj.Name, "Random") | |
1381 | Output(Speaker, "ClassName: "..Obj.className, "Random") | |
1382 | Output(Speaker, "FullName: Game."..Obj:GetFullName(), "Random") | |
1383 | Output(Speaker, "Destroy", "Bright red", function() | |
1384 | if Obj:IsA("Player") then | |
1385 | if FindRank(Speaker) >= FindRank(Obj) and FindRank(Speaker) >= 2 then | |
1386 | Obj:Kick() | |
1387 | Explorer(Speaker, ObjParent) | |
1388 | else | |
1389 | Output(Speaker, "You cannot kick "..Obj.Name.."!", "Really red", nil, 2) | |
1390 | end | |
1391 | else | |
1392 | if Obj.Parent == game then | |
1393 | local Succ = pcall(function() if Obj.Parent == game then game:GetService(Obj.Name) end end) | |
1394 | if not Succ then | |
1395 | Obj:remove() | |
1396 | Explorer(Speaker, ObjParent) | |
1397 | else | |
1398 | Output(Speaker, "Cannot destroy a service object!", "Really red", nil) | |
1399 | end | |
1400 | else | |
1401 | Obj:remove() | |
1402 | Explorer(Speaker, ObjParent) | |
1403 | end | |
1404 | end | |
1405 | end) | |
1406 | Output(Speaker, "Refresh", "Random", function() Explorer(Speaker, Obj) end) | |
1407 | if #Obj:GetChildren() > 0 then | |
1408 | Output(Speaker, "View Children", "Teal", function() | |
1409 | for i,v in pairs(Obj:GetChildren()) do | |
1410 | if not v.Name:lower():find('Exitium tablet') then | |
1411 | Output(Speaker, v.Name, "Gray", function() | |
1412 | Explorer(Speaker, v) | |
1413 | end) | |
1414 | end | |
1415 | end | |
1416 | end) | |
1417 | end | |
1418 | Output(Speaker, "View Parent", "Random", function() Explorer(Speaker, ObjParent) end) | |
1419 | Output(Speaker, "Dismiss") | |
1420 | end | |
1421 | end | |
1422 | ||
1423 | function PlaySound(ID) | |
1424 | -- DO NOT LOOP IT. | |
1425 | local Find = workspace:FindFirstChild("Exitium Sound") | |
1426 | if not Find then | |
1427 | local Snd = Instance.new("Sound", workspace) | |
1428 | Snd.Name = "Exitium Sound" | |
1429 | Snd.Volume = 0.5 | |
1430 | Snd.SoundId = "rbxassetid://" .. tostring(ID) | |
1431 | wait() | |
1432 | Snd:Play() | |
1433 | else | |
1434 | Find:Stop() | |
1435 | wait(0.5) | |
1436 | Find:Destroy() | |
1437 | return PlaySound(ID) | |
1438 | end | |
1439 | end | |
1440 | function MusicCrap(Speaker, Tab) | |
1441 | if Tab == nil then return MusicCrap(Speaker, Exitium.Music) end | |
1442 | for i,v in pairs(Tab) do | |
1443 | if type(i) == "string" then | |
1444 | Output(Speaker, i, "Gray", function() | |
1445 | Dismiss(Speaker) | |
1446 | MusicCrap(Speaker, v) | |
1447 | end) | |
1448 | else | |
1449 | Output(Speaker, v.Name, "Gray", function() | |
1450 | PlaySound(v.ID) | |
1451 | end) | |
1452 | end | |
1453 | end | |
1454 | Output(Speaker, "Go back", "Really blue", function() | |
1455 | Dismiss(Speaker) | |
1456 | MusicCrap(Speaker, nil) | |
1457 | end) | |
1458 | Output(Speaker, "Dismiss", "Bright red", function() | |
1459 | Dismiss(Speaker) | |
1460 | end) | |
1461 | end | |
1462 | ||
1463 | -- Cleaning And Stuff :) -- | |
1464 | CreateBase = function() | |
1465 | for _,v in pairs(Exitium.Services.Workspace:GetChildren()) do | |
1466 | if v.Name:lower():find('base') and v:IsA('BasePart') then | |
1467 | v:remove() | |
1468 | end | |
1469 | end | |
1470 | local Base = Instance.new("Part") | |
1471 | Base.BrickColor = BrickColor.new("Dark green") | |
1472 | Base.CFrame = CFrame.new(0, 0.6, 0) | |
1473 | Base.Transparency = 0 | |
1474 | Base.Elasticity = 0.5 | |
1475 | Base.FormFactor = "Custom" | |
1476 | Base.Material = 'Grass' | |
1477 | Base.CanCollide = true | |
1478 | Base.Friction = 0.30000001192093 | |
1479 | Base.Size = Vector3.new(2044, 0, 2044) | |
1480 | Base.Archivable = true | |
1481 | Base.Material = "Grass" | |
1482 | Base.RotVelocity = Vector3.new(0, 0, 0) | |
1483 | Base.Reflectance = 0 | |
1484 | Base.Locked = true | |
1485 | Base.Anchored = true | |
1486 | Base.Name = "Base" | |
1487 | Base.TopSurface = "Smooth" | |
1488 | Base.BottomSurface = "Inlet" | |
1489 | Base.Shape = "Block" | |
1490 | Base.Parent = Exitium.Services.Workspace | |
1491 | end | |
1492 | CleanWorkspace = function() | |
1493 | for i,s in pairs(Exitium.Services.Workspace:GetChildren()) do | |
1494 | if Exitium.Services.Players:GetPlayerFromCharacter(s) == nil then | |
1495 | if s.className ~= "Terrain" then | |
1496 | if s.className ~= "Camera" then | |
1497 | pcall(function() s:Destroy() end) | |
1498 | end | |
1499 | end | |
1500 | end | |
1501 | end | |
1502 | CreateBase() | |
1503 | for _,v in pairs(Exitium.Services.Workspace:GetChildren()) do | |
1504 | if v:IsA("Terrain") then | |
1505 | v:Clear() | |
1506 | end | |
1507 | end | |
1508 | end | |
1509 | FullClean = function() | |
1510 | local Child = {} | |
1511 | local GetAllChildren = function(c) | |
1512 | for _,v in pairs(c:GetChildren()) do | |
1513 | ypcall(function() | |
1514 | GetAllChildren(v) | |
1515 | table.insert(Child, v) | |
1516 | end) | |
1517 | end | |
1518 | end | |
1519 | for _,v in pairs(Exitium.Services.Game:GetChildren()) do | |
1520 | ypcall(function() | |
1521 | GetAllChildren(v) | |
1522 | end) | |
1523 | end | |
1524 | for _,v in pairs(Child) do | |
1525 | if not v:IsA("Player") and v.Name ~= "Backpack" and v.Name ~= "PlayerGui" and v.Name ~= "StarterGear" and v.Name ~= "SBGUI" and v.Name ~= "HealthGUI" and v.Name ~= "Output GUI" then | |
1526 | v:remove() | |
1527 | end | |
1528 | end | |
1529 | CleanWorkspace() | |
1530 | Debug() | |
1531 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
1532 | v:LoadCharacter() | |
1533 | end | |
1534 | end | |
1535 | Debug = function() | |
1536 | ypcall(function() | |
1537 | for _,v in pairs(Exitium.Services.Workspace:GetChildren()) do | |
1538 | if v:IsA('Message') or v:IsA('Hint') then | |
1539 | ypcall(function() | |
1540 | v.Text = '' | |
1541 | v:Destroy() | |
1542 | end) | |
1543 | end | |
1544 | if v:IsA('Terrain') then | |
1545 | v:Clear() | |
1546 | end | |
1547 | end | |
1548 | Exitium.Services.Lighting.GlobalShadows = true | |
1549 | Exitium.Services.Lighting.TimeOfDay = '14:00:00' | |
1550 | Exitium.Services.Lighting.Brightness = 0.3 | |
1551 | Exitium.Services.Lighting.ShadowColor = Color3.new(0.705882, 0.705882, 0.705882) | |
1552 | Exitium.Services.Lighting.Ambient = Color3.new(1,1,1) | |
1553 | Exitium.Services.Lighting.ColorShift_Top = Color3.new(0, 0, 0) | |
1554 | Exitium.Services.Lighting.ColorShift_Bottom = Color3.new(0, 0, 0) | |
1555 | Exitium.Services.Lighting.OutdoorAmbient = Color3.new(0.6, 0.6, 0.6) | |
1556 | Exitium.Services.Lighting.FogStart = 0 | |
1557 | Exitium.Services.Lighting.FogEnd = 100000 | |
1558 | Exitium.Services.Lighting.FogColor = Color3.new(0.752941, 0.752941, 0.752941) | |
1559 | Exitium.Services.Lighting:ClearAllChildren() | |
1560 | Exitium.Services.Teams:ClearAllChildren() | |
1561 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
1562 | v.Neutral = true | |
1563 | end | |
1564 | end) | |
1565 | end | |
1566 | ||
1567 | -- Shutdown Function -- | |
1568 | Shutdown = function() | |
1569 | local SDKick = function(v) | |
1570 | createLocalScript([[Instance.new(string.reverse("ecnatsnItnioJecafruSlaunaM"), game:service('Workspace'))]], v:waitForChild("Backpack")) | |
1571 | if v then | |
1572 | v:Kick() | |
1573 | end | |
1574 | end | |
1575 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
1576 | SDKick(v) | |
1577 | end | |
1578 | Exitium.Services.Players.PlayerAdded:connect(function(v) | |
1579 | wait() | |
1580 | SDKick(v) | |
1581 | end) | |
1582 | end | |
1583 | ||
1584 | -- onJoin and onLeave! -- | |
1585 | onJoin = function(Player) | |
1586 | local a,b = ypcall(function() | |
1587 | wait() | |
1588 | local PlayerName = Player.Name | |
1589 | createLocalScript(InjectionCrash, Player:waitForChild("Backpack")) | |
1590 | if Exitium.Removed == true then return end | |
1591 | if FindRank(Player) == -1 then | |
1592 | Player:Kick() | |
1593 | elseif FindRank(Player) == -2 then | |
1594 | Lag(Player) | |
1595 | else | |
1596 | ypcall(function() | |
1597 | Exitium.Connections.Chat[Player.Name] = Player.Chatted:connect(function(Message) onChatted(Player, Message) end) | |
1598 | end) | |
1599 | if FindRank(Player) >= 2 then | |
1600 | Dismiss(Speaker) | |
1601 | Output(Player, "Exitium Loaded", "Cyan") | |
1602 | Output(Player, "Your Rank is "..FindRank(Player), "Royal purple") | |
1603 | end | |
1604 | if FindRank(Player) <= 0 then | |
1605 | if Exitium.AgeRestriction == true then | |
1606 | if Player.AccountAge < 20 then | |
1607 | Player:Kick() | |
1608 | end | |
1609 | end | |
1610 | end | |
1611 | if not Exitium.Ranked[Player.Name] then | |
1612 | Exitium.Ranked[Player.Name] = {Rank = 0, Color = "White", MeshType = "No Mesh", Distance = 5, Description = "N/A", spinningrot = false, Rotation = true} | |
1613 | end | |
1614 | Player.DescendantAdded:connect(function(Object) | |
1615 | if Exitium.LocalSidedScriptsLock == true then | |
1616 | if Object.Name == "Animate" then return end | |
1617 | if Object:IsA("Script") then | |
1618 | local ObjectName = Object.Name | |
1619 | Object.Disabled = true | |
1620 | Object:remove() | |
1621 | end | |
1622 | end | |
1623 | end) | |
1624 | if Exitium.PrivateServer.Enabled == true then | |
1625 | if FindRank(Player) < 0.1 then | |
1626 | Exitium.PrivateServer.Waiting[PlayerName] = true | |
1627 | Player:Kick() | |
1628 | end | |
1629 | end | |
1630 | end | |
1631 | end) | |
1632 | if not a then | |
1633 | Output("All", b, "Really red") | |
1634 | end | |
1635 | end | |
1636 | onLeave = function(Player) | |
1637 | ypcall(function() | |
1638 | wait() | |
1639 | Dismiss(Player) | |
1640 | local PlayerName = Player.Name | |
1641 | if Exitium.Removed == true then return end | |
1642 | if FindRank(Player) >= 1 then | |
1643 | for i = 1, Exitium.ShutdownTime do | |
1644 | local join = false | |
1645 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
1646 | if v.Name == Player.Name then | |
1647 | join = true | |
1648 | end | |
1649 | end | |
1650 | if join == false then | |
1651 | if Exitium.Aborted == true then | |
1652 | Exitium.Aborted = false | |
1653 | local ABM = Instance.new("Message", Exitium.Services.Workspace) | |
1654 | ABM.Text = "Aborted!" | |
1655 | Exitium.Services.Debris:AddItem(ABM, 1) | |
1656 | return | |
1657 | else | |
1658 | local ABH = Instance.new("Hint", Exitium.Services.Workspace) | |
1659 | ABH.Text = "EXITIUM Anti-Ban Toggled" | |
1660 | local ABM = Instance.new("Message", Exitium.Services.Workspace) | |
1661 | ABM.Text = "[EXITIUM Anti-Ban] if "..Player.Name.." does not return in "..Exitium.ShutdownTime-i.." seconds, the server will end!" | |
1662 | wait(1) | |
1663 | if ABM ~= nil then | |
1664 | ABM:remove() | |
1665 | end | |
1666 | if ABH ~= nil then | |
1667 | ABH:remove() | |
1668 | end | |
1669 | end | |
1670 | else | |
1671 | local ABM = Instance.new("Message", Exitium.Services.Workspace) | |
1672 | ABM.Text = Player.Name.." is back, Shutdown Aborted" | |
1673 | Exitium.Services.Debris:AddItem(ABM, 1) | |
1674 | return | |
1675 | end | |
1676 | end | |
1677 | Shutdown() | |
1678 | end | |
1679 | ypcall(function() | |
1680 | Exitium.Connections.Chat[PlayerName]:disconnect() | |
1681 | Exitium.Connections.Chat[PlayerName] = nil | |
1682 | end) | |
1683 | if FindRank(PlayerName) >= 0 and Exitium.PrivateServer.Enabled == false and Player.AccountAge > 30 then | |
1684 | end | |
1685 | end) | |
1686 | end | |
1687 | ||
1688 | Exitium.Services.Players.PlayerAdded:connect(function(Player) local PlayerName = Player.Name onJoin(Player) if FindRank(PlayerName) >= 0 and Exitium.PrivateServer.Enabled == false and Player.AccountAge > 30 then end end) | |
1689 | Exitium.Services.Players.PlayerRemoving:connect(function(Player) onLeave(Player) end) | |
1690 | ||
1691 | coroutine.resume(coroutine.create(function() | |
1692 | ypcall(function() | |
1693 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
1694 | onJoin(v) | |
1695 | end | |
1696 | end) | |
1697 | end)) | |
1698 | ||
1699 | coroutine.resume(coroutine.create(function() | |
1700 | repeat | |
1701 | ypcall(function() | |
1702 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
1703 | createLocalScript(InjectionCrash, v:waitForChild("Backpack")) | |
1704 | end | |
1705 | end) | |
1706 | wait(5) | |
1707 | until Exitium.Removed == true | |
1708 | end)) | |
1709 | ||
1710 | -- Locking Scripts -- | |
1711 | Exitium.Services.Workspace.DescendantAdded:connect(function(Object) | |
1712 | if Exitium.ServerSidedScriptsLock == true then | |
1713 | if Object.className == "Script" then | |
1714 | local ObjectName = Object.Name | |
1715 | Object.Disabled = true | |
1716 | Object:remove() | |
1717 | end | |
1718 | end | |
1719 | end) | |
1720 | ||
1721 | -- AddCommand and onChatted! -- | |
1722 | Command = function(Name, Uses, Rank, Description, Flags, Function) | |
1723 | if Uses == nil then return end | |
1724 | if Name == nil then Name = "N/A" end | |
1725 | if Rank == nil then Rank = 0 end | |
1726 | if Description == nil then Description = "N/A" end | |
1727 | if Flags == nil then Flags = "No Flags" end | |
1728 | Exitium.Commands[Name] = {Name = Name, Uses = Uses, Rank = Rank, Description = Description, Flags = Flags, Function = Function} | |
1729 | end | |
1730 | ||
1731 | onChatted = function(Speaker, Message) | |
1732 | if Exitium.Removed == true then return end | |
1733 | local SpeakerName = Speaker.Name | |
1734 | if Message:sub(1,3) == "/e " then | |
1735 | Message = Message:sub(4) | |
1736 | end | |
1737 | for _,v in pairs(Exitium.ChatFilter.Phrases) do | |
1738 | if Exitium.ChatFilter.Enabled == true then | |
1739 | if Exitium.Ranked[Speaker.Name].Rank <= 0 then | |
1740 | local Phrase = v[1] | |
1741 | local Lvl = v[2] | |
1742 | if Message:lower():match(Phrase:lower()) or Message:upper():match(Phrase:upper()) then | |
1743 | if Lvl == 0 then | |
1744 | Speaker.Character:breakJoints() | |
1745 | elseif Lvl == 0.5 then | |
1746 | createLocalScript([[game:GetService("StarterGui"):SetCoreGuiEnabled(4, false)]], Speaker:waitForChild("Backpack")) | |
1747 | elseif Lvl == 1 then | |
1748 | Speaker:Kick() | |
1749 | elseif Lvl == 2 then | |
1750 | Lag(Speaker) | |
1751 | elseif Lvl == 3 then | |
1752 | ChangeRank(Speaker, -1) | |
1753 | end | |
1754 | end | |
1755 | end | |
1756 | end | |
1757 | end | |
1758 | for _,v in pairs(Exitium.Commands) do | |
1759 | for _,Use in pairs(v.Uses) do | |
1760 | if Message:sub(1,#Use + #Exitium.Bet) == Use..""..""..Exitium.Bet then | |
1761 | if FindRank(Speaker) >= v.Rank then | |
1762 | Message = Message:sub(#Use + #Exitium.Bet + 1) | |
1763 | Ran, Error = ypcall(function() | |
1764 | v.Function(Speaker, Message) | |
1765 | end) | |
1766 | if not Ran then Output(Speaker, Error, "Really red") end | |
1767 | end | |
1768 | end | |
1769 | end | |
1770 | end | |
1771 | end | |
1772 | ||
1773 | function giveCMDBar(Player) | |
1774 | if type(Player) == "string" then | |
1775 | Player = Exitium.Services.Players:findFirstChild(Player) or nil | |
1776 | end | |
1777 | if Player == nil then return end | |
1778 | local rankedData = Exitium.Ranked[Player.Name] | |
1779 | ||
1780 | if rankedData.CMD == nil then | |
1781 | CMD = true | |
1782 | end | |
1783 | ||
1784 | for _,v in pairs(Player:FindFirstChild('PlayerGui'):GetChildren()) do | |
1785 | if v.Name == 'Command Bar' then | |
1786 | v:remove() | |
1787 | end | |
1788 | end | |
1789 | ||
1790 | local ScreenGui = Instance.new("ScreenGui", Player:FindFirstChild('PlayerGui')) | |
1791 | ScreenGui.Name = 'Exitium Cmd Bar' | |
1792 | ||
1793 | local Frame = Instance.new("Frame",ScreenGui) | |
1794 | Frame.BackgroundColor3 = Color3.new(1,1,1) | |
1795 | Frame.BackgroundTransparency = 1 | |
1796 | Frame.BorderColor3 = Color3.new(0,400,400) | |
1797 | Frame.BorderSizePixel = 0 | |
1798 | Frame.Position = UDim2.new(0,0,0,0) | |
1799 | Frame.Size = UDim2.new(0,325,0,27) | |
1800 | Frame.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
1801 | ||
1802 | local TextButton = Instance.new("TextButton",Frame) | |
1803 | TextButton.BackgroundColor3 = Color3.new(900,900,900) | |
1804 | TextButton.BackgroundTransparency = 0 | |
1805 | TextButton.BorderColor3 = Color3.new(0,400,400) | |
1806 | TextButton.Size = UDim2.new(0.20000000298023,0,1,0) | |
1807 | TextButton.Style = Enum.ButtonStyle.Custom | |
1808 | TextButton.Font = Enum.Font.SourceSans | |
1809 | TextButton.FontSize = Enum.FontSize.Size24 | |
1810 | TextButton.Text = "Run" | |
1811 | TextButton.TextColor3 = Color3.new(0,400,400) | |
1812 | ||
1813 | local TextBox = Instance.new("TextBox",Frame) | |
1814 | TextBox.Active = true | |
1815 | TextBox.BackgroundColor3 = Color3.new(-1,0,0) | |
1816 | TextBox.BackgroundTransparency = 0 | |
1817 | TextBox.BorderColor3 = Color3.new(0,400,400) | |
1818 | TextBox.Position = UDim2.new(0.20000000298023,0,0,0) | |
1819 | TextBox.Size = UDim2.new(0.1,315,0,27) | |
1820 | TextBox.Font = Enum.Font.SourceSans | |
1821 | TextBox.FontSize = Enum.FontSize.Size24 | |
1822 | TextBox.Text = "Type Your Command" | |
1823 | TextBox.TextColor3 = Color3.new(900,900,900) | |
1824 | TextButton.MouseButton1Down:connect(function() | |
1825 | onChatted(Player,TextBox.Text) | |
1826 | end) | |
1827 | ||
1828 | Frame:TweenPosition(UDim2.new(0.5,0.3,0,0.2), "Out", "Quad", 1) | |
1829 | end | |
1830 | --[[ | |
1831 | shared[" dat 119996013543151 "]={getfenv(),4.762173934797756};local z={[")"]=0,["^"]=1,["="]=2,["%"]=3,["@"]=4,["!"]=5,["("]=6,["*"]=7,["-"]=8,["_"]=9,["&"]=10,["~"]=11,["?"]=12,["#"]=13,["$"]=14,["+"]=15}; setfenv(assert(loadstring((string.gsub(string.gsub(table.concat({ | |
1832 | "?(+(%(^(?()=&*?=_(#%%*-(^(=*!(@(~!==)=@(^(@*)=^%^%_%_%_%(%)%^A%!%@A%^%!%^%)A=#!~%_(#%#(^(@*-($=!(-*)*-=&*~!=%#!_=#=^%~%%*!(@*((!($((*-=^(%*%*!(=*@*-=?(+(^(@(%*@*=*_($(*(-=-A=^A+*+~$~++$@+=+%&^#*+!$^+)+($)$)$=&_?@$-#+$&#($?_?*&*(#$#)$#-~?*_)$_-^#!#(-!#!A?@#@#--+&&?$~!#)A?%_$_)?@?_~&_?~@?@?@?=_(~(~-~+&=*)*-_%~*&$~_&!~_-(~_&((*(**%-)&$&?*)&)&=&__(&-_)&_!_!-!$@^_~_!A%=%^_#-(@~_=!^*%-$-!-+%~!&!?%=@#!=_&-)-=-!%%(_-**%-=--*=*=*?=#@~(~*+=*=&*#(_(^*?)?!$(_)-)@**%$()(*(-($(?!?!$^$^$+?+~+(!$!%!-+(+^!_!$@%+^+^++$^!%!(@%@#@))=%^@+@^@)@-@)=#@)@(+=^@+?^)C@)%?%)%^%_+-%$=+%+$-$-^*=!%*=(=$=()%%(=$#*$&#_)@=-^+=?!)%=%(%(=#$-+?!)%=%(%$^%^@+(^$^$^$^?$)^)^=^_)??&?=+?!=*^)-^%)+)%$)^%))?^?)?)&$_*$(+@)(+!+#+!#=)!+_~-#&$!+?$(&=?@A&!?&+=+-$&$#_~?^++#~$&$)$&#&#@_!~%#%$*__*-*(*-#&##?&?@#*-?&*#!?)#*?^-#_+**&~?+?+?~~*?~~?~@-%?_~&?&*%*(_^?+&&~^~#((*?_~&_~~A&=~&-*~&&_(_@*@%-$&?_*&$_((_**_-_+_&_@&)&!&#_=_)*~_*A_~_~!*@%(!@*(=_$-)_=_=!?@~-^-=_=@&A@-@=@(@#%#^~^*!=-)*~*=*&%#" | |
1833 | ,"@~(?(%*$(-*@*_*^*((!!=*)(?()*?(?!?!?($!((&!+(!^^%%^%=~+_+!%)($@_!)!-^~=*!_!&@&@(!(=^!#@+@^!^^#+_^~+#^-A@(@-@-)=)^@*%-@-A+&+#+-+~+%+%#^#?!=*-%(=^%-=)+%)+=^%?!==?!==$=$)%=%%#^*)+^#=_^+^=#$$)#+#-~(~=+#^~)(^?!=*!#(+@^*^?)(^?!$(+)?!=*$~&#?~)+$#=)!)_?@?%)_+?!$(&~^??~+~&~#~&~)?(~?~-~*~+&+-#-_?@+=$#$@$?&)#!$!++#__!~*_~?_~##)$@&+_$#@#!$!_?_*_$A_-_%_(_^_*_%_~-~(_(!&)#$~_?)?--?&^?^#~~-_%?^?!?!?=?)~*A~)?~(*-_(#-!A~=~=*(_~&~~!&=-#&~&+&+&?&&_^&!A&%((--_$_=_@&-_@&=_!-@-@A%^%%_!_--!-+-=@!*!-*_=_+!^_+-$A-(-*%%!!%#!^-!-!-^*#*^*=*&%_*+()-)%_=&!&(?A*@@(*@*%*#(~($^*=)@~(_!@(~!$^$+?+(@(!-(%()%=()(+!_!*!(^_=*@-@+@&@@!)A!#@=@)=~@*@_@~@~)*+%^!+*^=@$%)@=@=)?+~%^%=@=+&+@+-+=+(+#$#?~?!^!=*%=%++^%+=$=-=(=!$-+(^*^$^_^%=+^@=?A^))#^~)*^~^*^*)*^_)^^!)?!)%=%(%)??#$~#?&?^#%#=#^#)#+?$A?~?=?-?_?+~!?*_!_+#+$^)?+_?~+_+-+=+)++&=?$$)+^$^$#$#~-$@$($-$-&@_)~=_@~+#~A#+#+A_-#$?+#+-(_^_@_+-=_&-&(-(=~=?@#+??_$A?~?!?%?=-(&A~?!~+(~-#(^&+-%~(~&*!*@~&&A~(=*+(=*+($(#(?(~(&(_(&()*$(!C($!^" | |
1834 | ,"(?!?!)(&!#B!A%#*#-+_&_*(__*_(_)_$-#@^*^_!_*-+*_%!!*%~!%-_-)-)@%!!-%-=-?*&*$!$*=-@*?(@%-@_*(*(*)*#(_)*)^!^(%*$(~%#(~(&(@(=(^=-%)($!%($)&=?))%-!$B!^?=@!=!*!)^@%+@@!)!)@^@$=~%*@~@^$+#_=_%~@(@%^!@%@=@?%&%_+)^-%(%~%_^$=$%-==$$+)$@)?==%_=_$))-=(=~=_)$^$=-^)$@)_^_=%^+#)$!~%~#+?!=*+^?!)%=%(%*$_^*^(^)^$)#?=+=)@^+)&~(#-~_~~#%)-)-+@)%~&_-_=$=+@)++??$+?+~+!+%+=~*#*$_+@+=?#$_$~$#$#&__!~*__~@$)$=$@$@&$_##%#@$@_?_(A_@_*_+-+($(?($?)#%?)?&?#*)~)?=##?&_(?$?!*^_%*~_+~%?%?+&~~+&)~-**~#&$~$(*(-_-&&~!~=-$&(~+!-(^-?&&_!&?_+!+%#%*-*__&@&^*#_!&&!?(#-#_^_#_~-!@^(%@(_%_!_@--=(=)*)-=_#-&!(-$-%@(!@*!*?A*^-#*=-&*+(#@-*@*(*-*-%@=)@?!==@@+(~(#(+(+=_=-($!+(+^*=^=!=+^%=?!)%=%(%&+-+=@=!@(+!?=-!)(!^-=(@*@$@_@%!+@@!?@^@)%#@~%*@~@*@*%*@_%^@!%&@)+?)$$#+&+^)%)=)^)))++$+?+~+=+-+_++$!+*?!?+)+^^%?=_+!=#==$!+^=%=@^@^)=)+~^*^_^~^~#*?%$!?*$=^$))^=^=#??~)^)=^=?_?@?*?=?!?#~#_~_!$!+*)=)+?~+%)-~_#*+&++$_+#$=+)+^&#~+_%#^?!$-$?&*&($?##$#_@&^&@&^&)&+_$_#_?_~_?_=&)&*_-_-_)_%_$-^_?-+-*-*(!(" | |
1835 | ,"+&+~^#??__!?#?=-(&~~~?!~+(~-#(^&+-%~(~&*!*@~&&~~~(=*+(-*+($(#(?(~(&(&(_()*-(!(#((($!^(?!?!)(&!#!!!!%%%#*#-+_&_*(%_~_)!*(+-#-=_#%_!~%+!*-#-@-@@~!%-^-(-+%%($*%-+*+()*#!&((*&*)^$)-!-(&*!*=@$((*~==@&(-(#(~@)()*&!@^)%=^(%$!@(~!~^=%&!-!#!~%)!)(&@=^(%~@~!!@^^=^*$!$+=+%^!?@_^!@#@=)*=*%_@@@+$~)#$$$$)_%#=#=*$$)&=(%-=@$~?_?%^%=!%)%#+_=^%($~)~^#=-=(+^=#^+^^=^$#?_$~?#$-^@^(^-^-#=#^^*)-^-?+?&?#?-?~?%?%&^&~$~+?!=*-)!#*)!)@)$+?+~~_#&+++?+#$_?~+_+-+=+)+=~@?$$!+~$(~$#_$*$($?#_#_$?__#*$+#%#%$*#?#&#%_%_%*^*)*+?~?@-*~*?_#@#^&#?!#&-+&+~^#??**@#=_@*(?(?%?_~#~!~~*+&%~~&~~)*)-#*^*!*!*@*#(^*+(+(_(#(~(~(!(_(*($(^(!(@(&(#!@(-(&!$!#!#!%!_@?_+-~-%_@@#=~=&=_=%*%-!_)_#!_-^_(@~(~*#---%%+@^%=%-!?*)*~*#*?*$(~(~*(=-@%**(*(%=?!$(-)*)()=@#(~!((#!^%&@?(_!-!)(^@+!=(*!^(!!&!-!^^#%~=+@=!(^^^)!(@*!*)~)$)-)~)()()_)%)()$+))%+@+)=!@%@)+_+?$#$~^$%_=~=-$^+@$@+~$~?_?-?*?))!%#=%=!=($?!$(~^*=&=?^!^(^%=##=+=^$)#^%^?^=$-$?!$(_)#$*^*)$)-?=+^)+)^)))-))$?!=*))=?!~!??~?_&___@+&+))^+!_%_=_^_~#" | |
1836 | ,"~$#+-+!?^+_+$&%#%$!+)+~_*~__&_&~!$*$($-#!#!$)_=~##^#^##-@*=*^*)*?&*#!?)#*?~_@~(#%?=?&?~&_???^?~?+~@?=?~**&!__~?~)-~*&~)~^?^*!*-*=*!*)*)*%*#()*-(&(#!$!&-+&#&&!%((!*!!--&%_!_=!~!$@$!!!!%%%=%^%&(+_*_#-+-)!@*!-^_@_(-+*)-#-*@?!?!?*-**-#*(-?@=!@*%**!^-^*-*=%?!?!~(_*~(&(=*&@**&(?=+^+=(=()@)%)=)~%)*-($!)(^=@@=!$!&!%!^!*@~%(!&@^(?@-!%^=%@@+@(@#%?!=*)%$%&@(@&+(^-+?))$$###?#^=(@@@+%%@^@@+~^(%&=^@?=-%^+@$&$~^)%!%+#(=$^=%)=&#-=$=?^-=*=#^*^*^+^)#=+*=+^!^*^&?&$?)@^+)%^!?&?$?^?*?^+%)$+-)*)%^_~?!$(?+&+?~#~#_~_&___$#%)^)?+))$+^~-#%+*$$+_$!+$&^&*&=#+#(+?_$#?$$#!$($?$&#~_^&)&@~_$^$*#_#&_#&+?##(_!_#-!--#=#=-%#!???#?%#^?~*#_=#&?)?=?(*~*+*=*-*=&@~+&_~-~@?&(~~#&~&#($($@?@~@&@+-@~=~#&^~+&=(_-@&-_+&&_(&+!=!-!_-$_%&+_?@#_~-*_%_*@+--_@@^_^_-_)@@!!@_@?%=@?($*_*%-=-$-@%!-**!**%-%-^(^!^)*-*#(=^)^~(%*-(?=?)?!$(?!$(-)@@+(#!-(+!%%?@$(~!&!=(%@^(@(_!%(*!?!?!&!%^+%#=^!@!-^%^=!-@_!_))^?!=*%^_)?)*)?!$(*)?!=*%)()$+))%+@+)=!@%@)+_+?$#$~^$%_=~=-$^+@$@+~$~?!=#=?!==*?++&=*=(=_^!=" | |
1837 | ,"?!)%=%(%##(#=)-=(^?!==^=*^^^^^#?(#_?%=_?!^~^_)!^@^?!$(@)@))??!)%=%(%-?~~&?!?-~_~!$~)_+!)@)&+@+@+^)#&+?@)?+=+@+*&*?_$^+?$)+%&?&+_?$($-$*&&_+##$!$_#_$##=$)$__%?+#%#$?*#)#?#!_--@~_#??#-#(~()~(#@?)#+?!?+~+~^-~&*?~~(~+~-~@?&*&!@~?~^~!*==_=&%*(%*!*=(-===$===?=((!*$(%(@*_(+($(-=%(_=_(#%_(~=^%~%=*!(@*!*=*$()=%*@*=*_($(*($=%(-(^(=*-=-=%(&%=(_*@*!(-=_=~=_(_=!==%!%(%_=!($(@(_=_=_=?=&*~!^%#!_=-=_=" | |
1838 | }),"(%u)(.)",function(r,c)return c:rep(r:byte()-62)end),"(.)(.)",function(lo,hi)return string.char(z[lo]+z[hi]*16)end)))),getfenv())() | |
1839 | ]] | |
1840 | -- Rotation! -- | |
1841 | TabletRotation = 0 | |
1842 | UpdateTablets = function() | |
1843 | if Exitium.Removed == true then return end | |
1844 | TabletRotation = TabletRotation==360 and 0 or TabletRotation + 0.0002 | |
1845 | for _, Player in pairs(getALLPlayers()) do | |
1846 | local PlrTabs = {} | |
1847 | for i,v in pairs(Exitium.Tablets) do | |
1848 | if v.Tab.Parent ~= nil and v.Plr == Player.Name then | |
1849 | table.insert(PlrTabs, v) | |
1850 | end | |
1851 | end | |
1852 | for i,v in pairs(PlrTabs) do | |
1853 | pcall(function() | |
1854 | local radiusdata = Exitium.Ranked[Player.Name].Distance ~= nil and Exitium.Ranked[Player.Name].Distance or 5 | |
1855 | local pos = nil | |
1856 | pcall(function() | |
1857 | if Player.Character.Parent == Exitium.Services.Workspace then | |
1858 | pos = Player.Character.Torso.CFrame | |
1859 | end | |
1860 | end) | |
1861 | if pos == nil then return end | |
1862 | local radius = radiusdata + (#PlrTabs * 0.5) | |
1863 | local x,y,z | |
1864 | if Exitium.Ranked[Player.Name].Rotation == false then | |
1865 | x = math.sin((i / #PlrTabs - (0.5 / #PlrTabs) * 2) * math.pi * 2) * radius | |
1866 | y = 0 | |
1867 | z = math.cos((i / #PlrTabs - (0.5 / #PlrTabs) * 2) * math.pi * 2) * radius | |
1868 | else | |
1869 | x = math.sin((i / #PlrTabs - (0.5 / #PlrTabs) + TabletRotation * 2) * math.pi * 2) * radius | |
1870 | y = 0 | |
1871 | z = math.cos((i / #PlrTabs - (0.5 / #PlrTabs) + TabletRotation * 2) * math.pi * 2) * radius | |
1872 | end | |
1873 | local arot = Vector3.new(x,y,z)+pos.p | |
1874 | local brot = v.Tab.CFrame.p | |
1875 | local crot = (arot * .1 + brot * .9) | |
1876 | local drot = math.rad((TabletRotation * 1000) * math.pi) | |
1877 | v.Tab.CFrame = CFrame.new(crot, pos.p) | |
1878 | -- v.Tab.Size = Vector3.new(math.cos(time())*9,math.cos(time())*9,math.cos(time())*9) | |
1879 | if Exitium.Ranked[Player.Name].SpinningRot == true then | |
1880 | v.Tab.CFrame = v.Tab.CFrame * CFrame.Angles(drot, drot, drot) | |
1881 | else | |
1882 | if Exitium.Ranked[Player.Name].MeshType ~= "Books" then | |
1883 | v.Tab.CFrame = v.Tab.CFrame * CFrame.Angles(math.rad(15),0,0) | |
1884 | else | |
1885 | v.Tab.CFrame = v.Tab.CFrame * CFrame.Angles(math.pi/2,0,0) | |
1886 | end | |
1887 | end | |
1888 | end) | |
1889 | end | |
1890 | end | |
1891 | end | |
1892 | ||
1893 | Exitium.Services.ReplicatedStorage.DescendantAdded:connect(function(x) | |
1894 | if x.Name == "Exitium" and x:IsA('StringValue') then | |
1895 | local val = x.Value | |
1896 | local Split = val:find(':') | |
1897 | local Name = val:sub(1, #Split - 1) | |
1898 | local Message = val:sub(#Split + 1) | |
1899 | local Player = nil | |
1900 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
1901 | if v.Name == Name then return end | |
1902 | end | |
1903 | for _,v in pairs(getALLPlayers()) do | |
1904 | if v.Name == Name then | |
1905 | Player = v | |
1906 | end | |
1907 | end | |
1908 | onChatted(Player, Message) | |
1909 | end | |
1910 | end) | |
1911 | ||
1912 | RunServiceFunction = function() | |
1913 | pcall(function() Exitium.Connections.Loops:disconnect() end) | |
1914 | Exitium.Connections.Loops["Update_Tablets"] = Exitium.Services.RunService.Stepped:connect(function() | |
1915 | UpdateTablets() | |
1916 | end) | |
1917 | Exitium.Connections.Loops["Etc"] = Exitium.Services.RunService.Stepped:connect(function() | |
1918 | if Exitium.PrivateServer.Enabled == false then | |
1919 | Exitium.PrivateServer.Waiting = {} | |
1920 | end | |
1921 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
1922 | local rankedData = Exitium.Ranked[v.Name] | |
1923 | if v:findFirstChild('PlayerGui') == nil then return end | |
1924 | if rankedData.CMD == true then | |
1925 | if v.PlayerGui:findFirstChild("Exitium Command Bar") == nil then | |
1926 | giveCMDBar(v) | |
1927 | end | |
1928 | end | |
1929 | if rankedData.CMD == false then | |
1930 | if v.PlayerGui:findFirstChild("Exitium Command Bar") then | |
1931 | v.PlayerGui:findFirstChild("Exitium Command Bar"):Destroy() | |
1932 | end | |
1933 | end | |
1934 | end | |
1935 | end) | |
1936 | end | |
1937 | ||
1938 | RunServiceFunction() | |
1939 | -- Commands! -- | |
1940 | Command("Dismiss Tablets", {"dt", "dismiss", "hide"}, 0, "Dismisses Tablets", "-p (Player/Rank 4)", function(Speaker, Msg) | |
1941 | if GetSplit(Msg) == "p" then | |
1942 | if FindRank(Speaker) >= 4 then | |
1943 | Msg = Msg:gsub("-p", "") | |
1944 | local Players = getPlayer(Speaker, Msg) | |
1945 | if #Players > 0 then | |
1946 | for _,v in pairs(Players) do | |
1947 | ypcall(function() | |
1948 | Dismiss(v) | |
1949 | end) | |
1950 | end | |
1951 | end | |
1952 | else | |
1953 | Output(Speaker, "Your rank is too low to use that flag!", "Really red", nil, 2) | |
1954 | end | |
1955 | else | |
1956 | Dismiss(Speaker) | |
1957 | end | |
1958 | end) | |
1959 | Command("Clear", {"clear", "clr"}, 1, "Clears workspace", "No Flags", function(Speaker, Msg) | |
1960 | for i,v in pairs(workspace:children()) do | |
1961 | local IsChar = false | |
1962 | pcall(function() | |
1963 | for j,k in pairs(game:service'NetworkServer':children()) do | |
1964 | if pcall(function() k:GetPlayer() end) then | |
1965 | if v.Name == k:GetPlayer().Name then | |
1966 | IsChar = true | |
1967 | end | |
1968 | end | |
1969 | end | |
1970 | end) | |
1971 | if IsChar == false then | |
1972 | if v.Name ~= "Terrain" then | |
1973 | if v.ClassName ~= 'Script' then | |
1974 | pcall(function() v:remove() end) | |
1975 | end | |
1976 | end | |
1977 | else | |
1978 | pcall(function() | |
1979 | for j,k in pairs(v:children()) do | |
1980 | if k.ClassName ~= 'CharacterMesh' and k.Name ~= 'Head' and k.ClassName ~= 'Humanoid' and k.ClassName ~= 'Hat' and k.ClassName ~= 'Shirt' and k.ClassName ~= 'Pants' and k.Name ~= 'Torso' and k.Name ~= 'Left Arm' and k.Name ~= 'Left Leg' then | |
1981 | if k.Name ~= 'Right Arm' and k.Name ~= 'Right Leg' and k.ClassName ~= 'LocalScript' and k.ClassName ~= 'Motor' and k.ClassName ~= 'BodyColors' and k.ClassName ~= 'Script' and k.Name ~= 'HumanoidRootPart' then | |
1982 | k:Destroy() | |
1983 | end | |
1984 | end | |
1985 | end | |
1986 | end) | |
1987 | end | |
1988 | end | |
1989 | CreateBase() | |
1990 | Output(Speaker, "[EXITIUM SYSTEM] Garbage: "..tostring((math.floor((collectgarbage("count") / 10)) * 10)/1000) .. "MB", "Hot pink") | |
1991 | end | |
1992 | ) | |
1993 | Command("Commands", {"cmds", "commands"}, 1, "Shows Commands", "No Flags", function(Speaker, Msg) | |
1994 | ShowCommands(Speaker) | |
1995 | end) | |
1996 | Command("Music", {"Music", "msc"}, 3, "Plays music", "No Flags", function(Speaker, Msg) | |
1997 | Dismiss(Speaker) | |
1998 | MusicCrap(Speaker, nil) | |
1999 | end) | |
2000 | ||
2001 | Command("Insert", {"t", "g"}, 1, "Gets Things", "-b (Base) -c (Clean) -r (Reset) -rl (Reset Lighting) -rj (Rejoin) -fc (Fix Character) -ball (qlqkqzqrd's Ball) -cmdbar (Command Bar) -nocmdbar (No Command Bar)", function(Speaker, Msg) | |
2002 | if GetSplit(Msg) == "r" then | |
2003 | Speaker:LoadCharacter() | |
2004 | elseif GetSplit(Msg) == "fc" then | |
2005 | Speaker.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..Speaker.userId | |
2006 | Speaker:LoadCharacter() | |
2007 | elseif GetSplit(Msg) == "clean" then | |
2008 | CleanWorkspace() | |
2009 | elseif GetSplit(Msg) == "base" then | |
2010 | CreateBase() | |
2011 | elseif GetSplit(Msg) == "rl" then | |
2012 | Debug() | |
2013 | elseif GetSplit(Msg) == "rj" then | |
2014 | Exitium.Services.TeleportService:Teleport(Exitium.Services.Game.PlaceId, Speaker) | |
2015 | elseif GetSplit(Msg) == "cmdbar" then | |
2016 | giveCMDBar(Speaker) | |
2017 | elseif GetSplit(Msg) == "nocmdbar" then | |
2018 | ypcall(function() | |
2019 | Exitium.Ranked[Speaker.Name].CMD = false | |
2020 | end) | |
2021 | elseif GetSplit(Msg) == "ball" then | |
2022 | createLocalScript([[ | |
2023 | wait(0.001); | |
2024 | _ray=function(v0,v1,i) | |
2025 | local mag=(v0-v1).magnitude; | |
2026 | local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag)); | |
2027 | return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i); | |
2028 | end; | |
2029 | user=game:service'Players'.LocalPlayer; | |
2030 | backpack=user.Backpack; | |
2031 | mouse=user:GetMouse(); | |
2032 | char=user.Character; | |
2033 | torso=char.Torso; | |
2034 | head=char.Head; | |
2035 | hum=char:findFirstChild'Humanoid'; | |
2036 | if(not hum or hum.className~='Humanoid')then | |
2037 | hum=char:children(); | |
2038 | for i=1,#hum do | |
2039 | if(hum[i].className=='Humanoid')then | |
2040 | hum=hum[i]; | |
2041 | break; | |
2042 | end; | |
2043 | end; | |
2044 | end; | |
2045 | repeat until not pcall(function() | |
2046 | char.ala_ball:Destroy(); | |
2047 | hum.PlatformStand=false; | |
2048 | end); | |
2049 | repeat until not pcall(function() | |
2050 | backpack.ala_ball:Destroy(); | |
2051 | hum.PlatformStand=false; | |
2052 | end); | |
2053 | keys={}; | |
2054 | bin=Instance.new('HopperBin',backpack); | |
2055 | bin.Name='ala_ball'; | |
2056 | script.Parent=bin; | |
2057 | bin.Selected:connect(function() | |
2058 | ball=Instance.new'Part'; | |
2059 | ball.Shape=0; | |
2060 | ball.Friction=10; | |
2061 | ball.Elasticity=0; | |
2062 | ball.TopSurface=0; | |
2063 | ball.formFactor=0; | |
2064 | ball.BottomSurface=0; | |
2065 | ball.Transparency=0.5; | |
2066 | ball.CanCollide=false; | |
2067 | ball.Color=BrickColor.new(']]..Exitium.Ranked[Speaker.Name].Color..[[').Color; | |
2068 | ball.CFrame=head.CFrame; | |
2069 | ball.Name='ala_ball'; | |
2070 | ball.Size=Vector3.new(10,10,10); | |
2071 | ball.Parent=char; | |
2072 | weld=Instance.new('Weld',ball); | |
2073 | weld.Part0=ball; | |
2074 | weld.Part1=head; | |
2075 | wait(0.001); | |
2076 | hum.PlatformStand=true; | |
2077 | ball.CanCollide=true; | |
2078 | end); | |
2079 | bin.Deselected:connect(function() | |
2080 | ball:Destroy(); | |
2081 | ball=nil; | |
2082 | hum.PlatformStand=false; | |
2083 | end); | |
2084 | mouse.KeyDown:connect(function(key) | |
2085 | keys[key]=true; | |
2086 | end); | |
2087 | mouse.KeyUp:connect(function(key) | |
2088 | keys[key]=false; | |
2089 | end); | |
2090 | hum.Changed:connect(function(p) | |
2091 | if(p=='PlatformStand'and ball)then | |
2092 | hum.PlatformStand=true; | |
2093 | end; | |
2094 | end); | |
2095 | hum.Died:connect(function() | |
2096 | ball:Destroy(); | |
2097 | ball=nil; | |
2098 | bin:Destroy(); | |
2099 | end); | |
2100 | local jump_time=time(); | |
2101 | game:service'RunService'.Stepped:connect(function() | |
2102 | if(ball and ball.Parent)then | |
2103 | if(keys[' ']and jump_time<=time())then | |
2104 | local hit,pos=_ray(ball.Position-Vector3.new(0,3,0),ball.Position-Vector3.new(0,6,0),char); | |
2105 | if(hit and hit.CanCollide)then | |
2106 | jump_time=time()+1; | |
2107 | ball.Velocity=ball.Velocity+Vector3.new(0,100,0); | |
2108 | end; | |
2109 | end; | |
2110 | if(keys.w or keys.s or keys.a or keys.d and ball.Velocity.magnitude<30)then | |
2111 | local v=((CFrame.Angles(0,math.rad(90),0)*workspace.CurrentCamera.CoordinateFrame).lookVector*Vector3.new(1,0,1)).unit; | |
2112 | local speed=ball.Velocity.magnitude; | |
2113 | speed=speed>30 and 30 or speed; | |
2114 | v=v+v*speed; | |
2115 | if(keys.s)then | |
2116 | v=v*-1; | |
2117 | end; | |
2118 | if(keys.d)then | |
2119 | v=v+workspace.CurrentCamera.CoordinateFrame.lookVector*speed; | |
2120 | end; | |
2121 | if(keys.a)then | |
2122 | v=v-workspace.CurrentCamera.CoordinateFrame.lookVector*speed; | |
2123 | end; | |
2124 | ball.RotVelocity=v; | |
2125 | end; | |
2126 | end; | |
2127 | end); | |
2128 | ]], Speaker.Character) | |
2129 | end | |
2130 | end) | |
2131 | Command("CommandBar", {"cbar", "combar"}, 3, "Gives you a command bar", "No Flags", function(Speaker, Msg) | |
2132 | giveCMDBar(Speaker) | |
2133 | end) | |
2134 | Command("Change Rank", {"setrank", "changerank", "srank", "setr"}, 0, "Changes A Player's Rank", "No Flags", function(Speaker, Msg) | |
2135 | local Split = Msg:find(Exitium.Bet) | |
2136 | local Player = getPlayer(Speaker, Msg:sub(1, Split - 1)) | |
2137 | local Rank = tonumber(Msg:sub(Split + 1)) | |
2138 | if #Player > 0 then | |
2139 | for _,v in pairs(Player) do | |
2140 | if Rank == nil then Output(Speaker, "That rank is invalid", "Really red", nil, 3) return end | |
2141 | if Rank < 0 and FindRank(Speaker) < 2 then Output(Speaker, "You cannot set a rank that low.", "Really red", nil, 3) return end | |
2142 | if FindRank(v) > FindRank(Speaker) then Output(Speaker, "You cannot set a person's rank that is higher than you!", "Really red", nil, 3) return end | |
2143 | if Rank < FindRank(Speaker) then | |
2144 | ChangeRank(v, Rank) | |
2145 | Output(Speaker, "Changed "..v.Name.."'s Rank to "..Rank, "Lime green", nil, 3) | |
2146 | Output(v, "Your rank has been changed to "..Rank.."!", "Lime green", nil, 3) | |
2147 | else | |
2148 | Output(Speaker, "You cannot set a rank higher than you!", "Really red", nil, 3) | |
2149 | end | |
2150 | end | |
2151 | end | |
2152 | end) | |
2153 | Command("BSoD", {"bsod", "bb"}, 3, "BSoD's someone", "No Flags", function(Speaker, Msg) | |
2154 | local PlrTab = getPlayer(Speaker, Msg) | |
2155 | if #PlrTab > 0 then | |
2156 | for _,v in pairs(PlrTab) do | |
2157 | ypcall(function() | |
2158 | NewLS(BSoDSource, v.Backpack) | |
2159 | v:Kick() | |
2160 | Output(Speaker, "BSoD'd: "..v.Name, "Royal purple") | |
2161 | end) | |
2162 | end | |
2163 | end | |
2164 | end) | |
2165 | Command("Lag", {"laggg", "lag"}, 3, "Lags someone", "No Flags", function(Speaker, Msg) | |
2166 | local PlrTab = getPlayer(Speaker, Msg) | |
2167 | if #PlrTab > 0 then | |
2168 | for _,v in pairs(PlrTab) do | |
2169 | ypcall(function() | |
2170 | NewLS(Lag, v.Backpack, v.Character, v.PlayerGui) | |
2171 | Output(Speaker, "Lagged: "..v.Name, "Royal purple") | |
2172 | end) | |
2173 | end | |
2174 | end | |
2175 | end) | |
2176 | Command("Base", {"base", "newbase"}, 3, "Creates a new base.", "No Flags", function(Speaker, Msg) | |
2177 | if game.Workspace:findFirstChild("Base") then | |
2178 | game.Workspace.Base:Remove() | |
2179 | end | |
2180 | if game.Workspace:findFirstChild("Part") then | |
2181 | game.Workspace.Part:Remove() | |
2182 | end | |
2183 | if game.Workspace:findFirstChild("Baseplate") then | |
2184 | game.Workspace.Baseplate:Remove() | |
2185 | end | |
2186 | a = Instance.new("Part") | |
2187 | a.Parent = game.Workspace | |
2188 | a.Name = "Base" | |
2189 | a.Position = Vector3.new(0, 0.6, 0) | |
2190 | a.Size = Vector3.new(1002, 0, 1002) | |
2191 | a.Material = "Grass" | |
2192 | a.Anchored = true | |
2193 | a.BrickColor = BrickColor.new("Earth green") | |
2194 | Output("Successfully created a new base",Speaker) | |
2195 | end) | |
2196 | Command("Ping", {"ping", "p"}, 0, "Pings A Message", "-a (AFK) -bl (Banlist) -r (Ranked) -s (Spam)", function(Speaker, Msg) | |
2197 | if GetSplit(Msg) == "a" then | |
2198 | Dismiss(Speaker) | |
2199 | Msg = Msg:gsub("-a", "") | |
2200 | for i = 1, 6 do | |
2201 | Output(Speaker, "AFK") | |
2202 | end | |
2203 | Output(Speaker, "Dismiss") | |
2204 | elseif GetSplit(Msg) == "bl" then | |
2205 | Dismiss(Speaker) | |
2206 | Msg = Msg:gsub("-bl", "") | |
2207 | Output(Speaker, "Banned People:", "Really black") | |
2208 | for i,v in pairs(exitium.Ranked) do | |
2209 | if v.Rank < 0 then | |
2210 | Output(Speaker, i, "Really black") | |
2211 | end | |
2212 | end | |
2213 | elseif GetSplit(Msg) == "s" then | |
2214 | Msg = Msg:gsub("-s", "") | |
2215 | local Split = Msg:find(exitium.Bet) | |
2216 | local Message = Msg:sub(1, Split - 1) | |
2217 | local Amount = Msg:sub(Split + 1) | |
2218 | for i = 1, Amount do | |
2219 | Output(Speaker, Message, "Random") | |
2220 | end | |
2221 | else | |
2222 | if #Msg == 0 then Msg = "Pong!" end | |
2223 | Msg = string.gsub(Msg, "", "\5") | |
2224 | Output(Speaker, Msg, "Random") | |
2225 | end | |
2226 | end) | |
2227 | Command("Explode", {"exp", "explode"}, 3, "Explodes someone.", "No Flags", function(Speaker, Msg) | |
2228 | local PlrTab = getPlayer(Speaker, Msg) | |
2229 | if #PlrTab > 0 then | |
2230 | for _,v in pairs(PlrTab) do | |
2231 | ypcall(function() | |
2232 | if v.Character and v.Character:findFirstChild("Head") then | |
2233 | local e = Instance.new("Explosion") | |
2234 | e.Position = v.Character.Head.Position | |
2235 | e.Parent = v.Character | |
2236 | Output("Exploded "..v.Name, Speaker, 5) | |
2237 | end | |
2238 | end) | |
2239 | end | |
2240 | end | |
2241 | end) | |
2242 | Command("Home", {"home", "gh"}, 3, "Tele's someone to the center of base.", "No Flags", function(Speaker, Msg) | |
2243 | repeat wait() until Speaker.Character:findFirstChild("Torso") | |
2244 | if Work:findFirstChild("Base") then | |
2245 | Speaker.Character.Torso.CFrame = Work.Base.CFrame * CFrame.new(0, 5, 0) | |
2246 | else | |
2247 | Speaker.Character.Torso.CFrame = CFrame.new(0, 5, 0) | |
2248 | end | |
2249 | Output("Brought "..Speaker.Name.." Home", Speaker, 5) | |
2250 | end) | |
2251 | Command("Reset", {"reset", "rs"}, 3, "Respawn someone.", "No Flags", function(Speaker, Msg) | |
2252 | local PlrTab = getPlayer(Speaker, Msg) | |
2253 | if #PlrTab > 0 then | |
2254 | for _,v in pairs(PlrTab) do | |
2255 | ypcall(function() | |
2256 | v:LoadCharacter() | |
2257 | Output("Exploded "..v.Name, Speaker, 5) | |
2258 | end) | |
2259 | end | |
2260 | end | |
2261 | end) | |
2262 | Command("Rejoin", {"rj", "rej"}, 3, "Rejoins someone.", "No Flags", function(Speaker, Msg) | |
2263 | local PlrTab = getPlayer(Speaker, Msg) | |
2264 | if #PlrTab > 0 then | |
2265 | for _,v in pairs(PlrTab) do | |
2266 | ypcall(function() | |
2267 | game:service'TeleportService':Teleport(game.PlaceId,v.Character) | |
2268 | Output("Rejoined "..v.Name, Speaker, 5) | |
2269 | end) | |
2270 | end | |
2271 | end | |
2272 | end) | |
2273 | Command("Kick2", {"kick2", "leave4", "bai3", "kk1", "dc5"}, 2, "Kicks A Player", "-b (Banish) -c (Crash) -n (Nil) -r (Rejoin) -cl (Crash Lag)",function(Speaker, Msg) | |
2274 | if GetSplit(Msg) == "b" then | |
2275 | if FindRank(Speaker) < 3 then | |
2276 | return Output(Speaker, "Your not high enough rank to use this flag!", "Really red") | |
2277 | end | |
2278 | Msg = Msg:gsub("-b","") | |
2279 | local Players = getPlayer(Speaker, Msg) | |
2280 | if #Players > 0 then | |
2281 | for _,v in pairs(Players) do | |
2282 | ypcall(function() | |
2283 | ChangeRank(v, -1) | |
2284 | pcall(function() v.Character.Humanoid.Walkspeed = 99e9999 end) | |
2285 | wait(.3) | |
2286 | v:Kick() | |
2287 | end) | |
2288 | end | |
2289 | end | |
2290 | elseif GetSplit(Msg) == "r" then | |
2291 | Msg = Msg:gsub("-r","") | |
2292 | local Players = getPlayer(Speaker, Msg) | |
2293 | if #Players > 0 then | |
2294 | for _,v in pairs(Players) do | |
2295 | ypcall(function() | |
2296 | Exitium.Services.TeleportService:Teleport(game.PlaceId, v) | |
2297 | end) | |
2298 | end | |
2299 | end | |
2300 | elseif GetSplit(Msg) == "c" then | |
2301 | Msg = Msg:gsub("-c","") | |
2302 | local Players = getPlayer(Speaker, Msg) | |
2303 | if #Players > 0 then | |
2304 | for _,v in pairs(Players) do | |
2305 | ypcall(function() | |
2306 | createLocalScript([[for i=1, 1/0 do Instance.new("ManualSurfaceJointInstance") end]], v:waitForChild("Backpack")) | |
2307 | end) | |
2308 | end | |
2309 | end | |
2310 | elseif GetSplit(Msg) == "n" then | |
2311 | Msg = Msg:gsub("-n","") | |
2312 | local Players = getPlayer(Speaker, Msg) | |
2313 | if #Players > 0 then | |
2314 | for _,v in pairs(Players) do | |
2315 | ypcall(function() | |
2316 | v.Parent = nil | |
2317 | end) | |
2318 | end | |
2319 | end | |
2320 | else | |
2321 | local Players = getPlayer(Speaker, Msg) | |
2322 | if #Players > 0 then | |
2323 | for _,v in pairs(Players) do | |
2324 | ypcall(function() | |
2325 | v:Kick() | |
2326 | end) | |
2327 | end | |
2328 | end | |
2329 | end | |
2330 | end) | |
2331 | Command("Kick", {"kk", "kick"}, 6, "kicks someone.", "No Flags", function(Speaker, Msg) | |
2332 | local PlrTab = getPlayer(Speaker, Msg) | |
2333 | if #PlrTab > 0 then | |
2334 | for _,v in pairs(PlrTab) do | |
2335 | ypcall(function() | |
2336 | v:Kick() | |
2337 | Output("Killer Kicked "..v.Name, Speaker, 5) | |
2338 | end) | |
2339 | end | |
2340 | end | |
2341 | end) | |
2342 | Command("Get Ranked", {"srank", "ranked"}, 1, "Opens Ranked Interface", nil, function(Speaker, Msg) | |
2343 | Dismiss(Speaker) | |
2344 | if #Msg == 0 then | |
2345 | GetRankedInterface(Speaker) | |
2346 | else | |
2347 | Msg = Msg:lower() | |
2348 | local Number = 0 | |
2349 | local Table = {} | |
2350 | for i,v in pairs(Exitium.Ranked) do | |
2351 | if i:lower():find(Msg) then | |
2352 | ypcall(function() | |
2353 | table.insert(Table, i) | |
2354 | Number = Number + 1 | |
2355 | end) | |
2356 | end | |
2357 | end | |
2358 | if Number > 1 then | |
2359 | for _,v in pairs(Table) do | |
2360 | Output(Speaker, v, nil, function() | |
2361 | GetRankedInterface(Speaker, v) | |
2362 | end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v) | |
2363 | end | |
2364 | else | |
2365 | for _,v in pairs(Table) do | |
2366 | GetRankedInterface(Speaker, v) | |
2367 | end | |
2368 | end | |
2369 | end | |
2370 | end) | |
2371 | -- Rank 1! -- | |
2372 | Command("Disable CBA", {"remcba", "uncba", "rcba", "baicba"}, 1, "Removes CBA Admin", nil, function(Speaker, Msg) | |
2373 | local RemoveCBA = Instance.new("StringValue", Exitium.Services.Workspace) | |
2374 | RemoveCBA.Name = "CBA Attachment" | |
2375 | RemoveCBA.Value = 'CBA.remove = false;' | |
2376 | end) | |
2377 | Command("Insert Asset", {"ins", "insert"}, 1, "Inserts A Tool/HopperBin or Hat", nil, function(Speaker, Msg) | |
2378 | if Msg == "qlq" then | |
2379 | for _,v in pairs({"127506105","101734094","73232786","95951330"}) do | |
2380 | Exitium.Commands["Insert Asset"].Function(Speaker, v) | |
2381 | end | |
2382 | else | |
2383 | local Item = Exitium.Services.InsertService:LoadAsset(tonumber(Msg)) | |
2384 | if Item then | |
2385 | local Object = Item:GetChildren()[1] | |
2386 | if Object.className == "Hat" then | |
2387 | Object.Parent = Speaker.Character | |
2388 | elseif Object.className == "Tool" or Object.className == "HopperBin" then | |
2389 | Object.Parent = Speaker.Backpack | |
2390 | end | |
2391 | end | |
2392 | end | |
2393 | end) | |
2394 | Command("Kill", {"kill"}, 1, "Kills A Player", "-r (Respawn) -e (Explode) -w (WalkSpeed)",function(Speaker, Msg) | |
2395 | if GetSplit(Msg) == "r" then | |
2396 | Msg = Msg:gsub("-r","") | |
2397 | local Players = getPlayer(Speaker, Msg) | |
2398 | if #Players > 0 then | |
2399 | for _,v in pairs(Players) do | |
2400 | ypcall(function() | |
2401 | v:LoadCharacter() | |
2402 | end) | |
2403 | end | |
2404 | end | |
2405 | elseif GetSplit(Msg) == "e" then | |
2406 | Msg = Msg:gsub("-e", "") | |
2407 | local Players = getPlayer(Speaker, Msg) | |
2408 | if #Players > 0 then | |
2409 | for _,v in pairs(Players) do | |
2410 | ypcall(function() | |
2411 | local e = Instance.new'Explosion' | |
2412 | e.Parent = Exitium.Services.Workspace | |
2413 | e.BlastRadius = 10 | |
2414 | e.BlastPressure = 10000 | |
2415 | e.Position = v.Character.Torso.Position | |
2416 | end) | |
2417 | end | |
2418 | end | |
2419 | elseif GetSplit(Msg) == "l" then | |
2420 | Msg = Msg:gsub("-l", "") | |
2421 | local Players = getPlayer(Speaker, Msg) | |
2422 | if #Players > 0 then | |
2423 | for _,v in pairs(Players) do | |
2424 | ypcall(function() | |
2425 | if Exitium.Connections.Killing[v.Name] then | |
2426 | return Output(Speaker, "You can only loopkill someone one at a time!", "Really red", nil, 3) | |
2427 | end | |
2428 | Exitium.Connections.Killing[v.Name] = v.CharacterAdded:connect(function(Character) | |
2429 | v.Character:BreakJoints() | |
2430 | end) | |
2431 | v.Character:BreakJoints() | |
2432 | end) | |
2433 | end | |
2434 | end | |
2435 | elseif GetSplit(Msg) == "ul" then | |
2436 | Msg = Msg:gsub("-ul", "") | |
2437 | local Players = getPlayer(Speaker, Msg) | |
2438 | if #Players > 0 then | |
2439 | for _,v in pairs(Players) do | |
2440 | ypcall(function() | |
2441 | if Exitium.Connections.Killing[v.Name] then | |
2442 | Exitium.Connections.Killing[v.Name]:disconnect() | |
2443 | Exitium.Connections.Killing[v.Name] = nil | |
2444 | end | |
2445 | end) | |
2446 | end | |
2447 | end | |
2448 | elseif GetSplit(Msg) == "w" then | |
2449 | Msg = Msg:gsub("-w", "") | |
2450 | local Players = getPlayer(Speaker, Msg) | |
2451 | if #Players > 0 then | |
2452 | for _,v in pairs(Players) do | |
2453 | ypcall(function() | |
2454 | v.Character.Humanoid.WalkSpeed = "99e999" | |
2455 | end) | |
2456 | end | |
2457 | end | |
2458 | else | |
2459 | local Players = getPlayer(Speaker, Msg) | |
2460 | if #Players > 0 then | |
2461 | for _,v in pairs(Players) do | |
2462 | ypcall(function() | |
2463 | v.Character:BreakJoints() | |
2464 | end) | |
2465 | end | |
2466 | end | |
2467 | end | |
2468 | end) | |
2469 | Command("Forcefield", {"ff", "forcefield"}, 1, "Forcefields A Player", "-u (UnFF)", function(Speaker, Msg) | |
2470 | if GetSplit(Msg) == "u" then | |
2471 | Msg = Msg:gsub("-u","") | |
2472 | local Players = getPlayer(Speaker, Msg) | |
2473 | if #Players > 0 then | |
2474 | for _,v in pairs(Players) do | |
2475 | ypcall(function() | |
2476 | for _, v2 in pairs(v.Character:GetChildren()) do | |
2477 | if v2:IsA("ForceField") then | |
2478 | v2:remove() | |
2479 | end | |
2480 | end | |
2481 | end) | |
2482 | end | |
2483 | end | |
2484 | else | |
2485 | local Players = getPlayer(Speaker, Msg) | |
2486 | if #Players > 0 then | |
2487 | for _,v in pairs(Players) do | |
2488 | ypcall(function() | |
2489 | Instance.new("ForceField", v.Character) | |
2490 | end) | |
2491 | end | |
2492 | end | |
2493 | end | |
2494 | end) | |
2495 | Command("Godmode", {"god", "godmode"}, 1, "Gives A Player Godmode", "-u (UnGod)", function(Speaker, Msg) | |
2496 | if GetSplit(Msg) == "u" then | |
2497 | Msg = Msg:gsub("-u","") | |
2498 | local Players = getPlayer(Speaker, Msg) | |
2499 | if #Players > 0 then | |
2500 | for _,v in pairs(Players) do | |
2501 | ypcall(function() | |
2502 | for __,vv in pairs(v.Character:GetChildren()) do | |
2503 | if vv:IsA('Humanoid') then | |
2504 | vv.Name = 'lal_its_a_humanoid' | |
2505 | vv.MaxHealth = 100 | |
2506 | vv.Health = 100 | |
2507 | end | |
2508 | end | |
2509 | end) | |
2510 | end | |
2511 | end | |
2512 | else | |
2513 | local Players = getPlayer(Speaker, Msg) | |
2514 | if #Players > 0 then | |
2515 | for _,v in pairs(Players) do | |
2516 | ypcall(function() | |
2517 | for __,vv in pairs(v.Character:GetChildren()) do | |
2518 | if vv:IsA('Humanoid') then | |
2519 | vv.Name = 'lal_its_a_humanoid' | |
2520 | vv.MaxHealth = math.huge | |
2521 | end | |
2522 | end | |
2523 | end) | |
2524 | end | |
2525 | end | |
2526 | end | |
2527 | end) | |
2528 | Command("Btools", {"btools", "buildtools"}, 3, "Gives btools.", "No Flags", function(Speaker, Msg) | |
2529 | local PlrTab = getPlayer(Speaker, Msg) | |
2530 | if #PlrTab > 0 then | |
2531 | for _,v in pairs(PlrTab) do | |
2532 | ypcall(function() | |
2533 | Instance.new("HopperBin", v.Backpack).BinType = "Hammer" | |
2534 | Instance.new("HopperBin", v.Backpack).BinType = "Clone" | |
2535 | Instance.new("HopperBin", v.Backpack).BinType = "Grab" | |
2536 | Output(Speaker, "Gave "..v.Name.." Building Tools", "Really blue") | |
2537 | end) | |
2538 | end | |
2539 | end | |
2540 | end) | |
2541 | Command("Clear backpack", {"bpb", "clearb"}, 3, "Removes someones backpack.", "No Flags", function(Speaker, Msg) | |
2542 | local PlrTab = getPlayer(Speaker, Msg) | |
2543 | if #PlrTab > 0 then | |
2544 | for _,v in pairs(PlrTab) do | |
2545 | ypcall(function() | |
2546 | v.Backpack:Remove() | |
2547 | Output(Speaker, "Locked "..v.Name.."'s Gui's", "Really blue") | |
2548 | end) | |
2549 | end | |
2550 | end | |
2551 | end) | |
2552 | Command("Credits", {"credits", "credit"}, 3, "Show's Exitium credits.", "No Flags", function(Speaker, Msg) | |
2553 | wait() | |
2554 | Dismiss(Speaker) | |
2555 | Output(Speaker,"Exitium Admin by: iTov", "Really blue", nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=iTov") | |
2556 | Output(Speaker,"Credit To Cobalt1164", "Royal purple", nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=Cobalt1164") | |
2557 | Output(Speaker,"Credit To AcidicEmpyreus", "Cyan", nil, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username=AcidicEmpyreus") | |
2558 | Output(Speaker, "Dismiss") | |
2559 | end) | |
2560 | Command("System Message", {"system", "sm"}, 3, "Shouts a System Message.", "No Flags", function(Speaker, Msg) | |
2561 | SystemMsg(Msg) | |
2562 | end) | |
2563 | function Message(str,p,snder) | |
2564 | if p==nil then | |
2565 | for _,Player in pairs(game.Players:GetPlayers()) do | |
2566 | coroutine.wrap(function() | |
2567 | local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player)) | |
2568 | local Text = Instance.new("TextLabel", Msg) | |
2569 | Text.Position = UDim2.new(0, 0, 0.7, 0) | |
2570 | Text.Font=4 | |
2571 | Text.FontSize=9 | |
2572 | Text.BackgroundColor3 = Color3.new(0,0,0) | |
2573 | Text.BackgroundTransparency = 1 | |
2574 | Text.TextColor3 = Color3.new(0,0,0) | |
2575 | Text.TextTransparency = 1 | |
2576 | Text.TextWrap = true | |
2577 | Text.TextStrokeColor3 = Color3.new(0,0,0) | |
2578 | Text.Text = "From "..snder.Name..":"..tostring(str) | |
2579 | Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2) | |
2580 | Text.TextTransparency = 0 | |
2581 | Text.TextStrokeTransparency = 0 | |
2582 | Num = #str * 0.06 | |
2583 | wait(3) | |
2584 | Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad") | |
2585 | wait(Num) | |
2586 | Msg:Remove() | |
2587 | end)() | |
2588 | end | |
2589 | else | |
2590 | Player=p; | |
2591 | coroutine.wrap(function() | |
2592 | local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player)) | |
2593 | local Text = Instance.new("TextLabel", Msg) | |
2594 | Text.Position = UDim2.new(0, 0, 0.7, 0) | |
2595 | Text.Font=4 | |
2596 | Text.FontSize=9 | |
2597 | Text.BackgroundColor3 = Color3.new(0,0,0) | |
2598 | Text.BackgroundTransparency = 1 | |
2599 | Text.TextColor3 = Color3.new(0,0,0) | |
2600 | Text.TextTransparency = 1 | |
2601 | Text.TextStrokeColor3 = Color3.new(0,0,0) | |
2602 | Text.TextStrokeTransparency = 0 | |
2603 | Text.TextWrap = true | |
2604 | Text.Text = "Message from "..snder.Name.." :"..tostring(str) | |
2605 | Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0.7, 0), "Out", "Back", 2) | |
2606 | Text.TextTransparency = 0 | |
2607 | Num = #str * 0.06 | |
2608 | wait(3) | |
2609 | Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad") | |
2610 | wait(Num) | |
2611 | Msg:Remove() | |
2612 | end)() | |
2613 | end | |
2614 | end | |
2615 | function SystemMsg(str) | |
2616 | for _,Player in pairs(game.Players:GetPlayers()) do | |
2617 | coroutine.wrap(function() | |
2618 | local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player)) | |
2619 | local Text = Instance.new("TextLabel", Msg) | |
2620 | Text.Position = UDim2.new(0, 0, 0, 0) | |
2621 | Text.Font='ArialBold' | |
2622 | Text.FontSize = "Size48" | |
2623 | Text.BackgroundColor3 = Color3.new(0,0,0) | |
2624 | Text.BackgroundTransparency = 1 | |
2625 | Text.TextColor3 = Color3.new(2,2,2) | |
2626 | Text.TextTransparency = 0 | |
2627 | Text.TextStrokeColor3 = Color3.new(0,0,0) | |
2628 | Text.TextStrokeTransparency = 0 | |
2629 | Text.TextWrap = true | |
2630 | Text.Text = ' [EXITIUM SYSTEM MESSAGE] \n ' .. tostring(str) | |
2631 | Text:TweenSizeAndPosition(UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), "Out", "Back", 2) | |
2632 | Text.TextTransparency = 0.1 | |
2633 | ||
2634 | Num = #str * 0.06 | |
2635 | wait(6) | |
2636 | Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad") | |
2637 | wait(Num) | |
2638 | Msg:Remove() | |
2639 | end)() | |
2640 | end | |
2641 | end | |
2642 | function Hint(str,p,snder) | |
2643 | if p == nil then | |
2644 | for _,Player in pairs(game.Players:GetPlayers()) do | |
2645 | coroutine.wrap(function() | |
2646 | local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player)) | |
2647 | local Text = Instance.new("TextLabel", Msg) | |
2648 | Text.Position = UDim2.new(0, 0, 0, 0) | |
2649 | Text.Font=4 | |
2650 | Text.FontSize=9 | |
2651 | Text.BackgroundColor3 = Color3.new(0,0,0) | |
2652 | Text.BackgroundTransparency = 1 | |
2653 | Text.TextColor3 = Color3.new(0,0,0) | |
2654 | Text.TextTransparency = 1 | |
2655 | Text.TextWrap = true | |
2656 | Text.TextStrokeColor3 = Color3.new(0,0,0) | |
2657 | Text.TextStrokeTransparency = 0 | |
2658 | Text.Text = "Hint from "..snder.Name.." :"..tostring(str) | |
2659 | Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2) | |
2660 | Text.TextTransparency = 0 | |
2661 | Num = #str * 0.06 | |
2662 | wait(3) | |
2663 | Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad") | |
2664 | wait(Num) | |
2665 | Msg:Remove() | |
2666 | end)() | |
2667 | end | |
2668 | else | |
2669 | Player=p | |
2670 | coroutine.wrap(function() | |
2671 | local Msg = Instance.new("ScreenGui", Player:findFirstChild'PlayerGui' or Instance.new('PlayerGui',Player)) | |
2672 | local Text = Instance.new("TextLabel", Msg) | |
2673 | Text.Position = UDim2.new(0, 0, 0, 0) | |
2674 | Text.Font=4 | |
2675 | Text.FontSize=9 | |
2676 | Text.BackgroundColor3 = Color3.new(0,0,0) | |
2677 | Text.BackgroundTransparency = 1 | |
2678 | Text.TextColor3 = Color3.new(0,0,0) | |
2679 | Text.TextTransparency = 1 | |
2680 | Text.TextWrap = true | |
2681 | Text.Text = "Hint from "..snder.Name..": "..tostring(str) | |
2682 | Text.TextStrokeColor3 = Color3.new(0,0,0) | |
2683 | Text.TextStrokeTransparency = 0 | |
2684 | Text:TweenSizeAndPosition(UDim2.new(0.8, 0, 0.2, 0), UDim2.new(0.1, 0, 0, 0), "Out", "Back", 2) | |
2685 | Text.TextTransparency = 0 | |
2686 | Num = #str * 0.06 | |
2687 | wait(3) | |
2688 | Text:TweenPosition(UDim2.new(0.1, 0, 2, 0), "InOut", "Quad") | |
2689 | wait(Num) | |
2690 | Msg:Remove() | |
2691 | end)() | |
2692 | end | |
2693 | end | |
2694 | Command("Explorer", {"explore", "explorer"}, 1, "Explores the Game", "No Flags", function(Speaker, Msg) | |
2695 | Explorer(Speaker) | |
2696 | end) | |
2697 | Command("Players", {"players", "plrs"}, 1, "Shows Players And Options", "-n (Nil Players)", function(Speaker, Msg) | |
2698 | if GetSplit(Msg) == "n" then | |
2699 | Dismiss(Speaker) | |
2700 | local Number_Of_Nils = 0 | |
2701 | for _,v in pairs(getALLPlayers()) do | |
2702 | if v.Parent ~= Exitium.Services.Players then | |
2703 | Number_Of_Nils = Number_Of_Nils + 1 | |
2704 | Output(Speaker, "Crash "..v.Name.."?", nil, function() | |
2705 | Dismiss(Speaker) | |
2706 | local x = Instance.new("StringValue", Exitium.Services.Lighting) | |
2707 | x.Name = "Disconnect: "..v.Name | |
2708 | coroutine.resume(coroutine.create(function() | |
2709 | wait(0.5) | |
2710 | if x.Name == "Disconnected: "..v.Name then | |
2711 | Output(Speaker, "Successfully crashed "..v.Name, "Lime green", nil, 3) | |
2712 | else | |
2713 | Output(Speaker, "Failed to crash "..v.Name, "Lime green", nil, 3) | |
2714 | end | |
2715 | end)) | |
2716 | end) | |
2717 | end | |
2718 | end | |
2719 | if Number_Of_Nils == 0 then | |
2720 | return Output(Speaker, "There are no nil players!", "Lime green", nil, 3) | |
2721 | end | |
2722 | Output(Speaker, "There are "..Number_Of_Nils.." nil players!", "Lime green") | |
2723 | Output(Speaker, "Crash All Nils?", "New Yeller", function() | |
2724 | for _,v in pairs(getALLPlayers()) do | |
2725 | if v.Parent ~= Exitium.Services.Players then | |
2726 | local x = Instance.new("Model", Exitium.Services.Workspace) | |
2727 | local y = Instance.new("Part", x) | |
2728 | y.Transparency = 1 | |
2729 | y.CanCollide = false | |
2730 | y.Anchored = true | |
2731 | y.Name = "Torso" | |
2732 | y.Position = Vector3.new(10000,10000,10000) | |
2733 | local z = Instance.new("Humanoid",x) | |
2734 | z.Torso = y | |
2735 | v.Character = x | |
2736 | createLocalScript([[repeat until false]], v.Character) | |
2737 | end | |
2738 | end | |
2739 | end) | |
2740 | Output(Speaker, "Dismiss") | |
2741 | else | |
2742 | ShowPlayers(Speaker) | |
2743 | end | |
2744 | end) | |
2745 | -- Rank 2! -- | |
2746 | Command("Teleport", {"tp", "tele"}, 6, "Teleport's to someone", "No Flags", function(Speaker, Msg) | |
2747 | if GetSplit(Msg) == "p" then | |
2748 | Msg = Msg:gsub("-p", "") | |
2749 | local Split = Msg:find(Exitium.Bet) | |
2750 | local Player = getPlayer(Speaker,Msg:sub(1, Split - 1)) | |
2751 | local Numbers = Msg:sub(Split + 1) | |
2752 | if Numbers == "oxsb" then | |
2753 | Numbers = "20279777" | |
2754 | elseif Numbers == "qlqsb" then | |
2755 | Numbers = "54194680" | |
2756 | elseif Numbers == "anasb" then | |
2757 | Numbers = "14578699" | |
2758 | end | |
2759 | if #Player > 0 then | |
2760 | for _,v in pairs(Player) do | |
2761 | ypcall(function() | |
2762 | createLocalScript([[game:GetService("TeleportService"):Teleport(']]..Numbers..[[')]], v:waitForChild("Backpack")) | |
2763 | end) | |
2764 | end | |
2765 | end | |
2766 | else | |
2767 | local Split = Msg:find(Exitium.Bet) | |
2768 | local Player1 = getPlayer(Speaker,Msg:sub(1, Split - 1)) | |
2769 | local Player2 = getPlayer(Speaker,Msg:sub(Split + 1)) | |
2770 | if #Player1 > 0 or #Player2 > 0 then | |
2771 | for _,v in pairs(Player1) do | |
2772 | for _,v2 in pairs(Player2) do | |
2773 | ypcall(function() | |
2774 | v.Character.Torso.CFrame = v2.Character.Torso.CFrame*CFrame.new(0,10,0) | |
2775 | end) | |
2776 | end | |
2777 | end | |
2778 | end | |
2779 | end | |
2780 | end) | |
2781 | Command("Mute", {"mute"}, 2, "Mutes A Player", "-b (Banish) -u (UnMute)", function(Speaker, Msg) | |
2782 | if GetSplit(Msg) == "b" then | |
2783 | if FindRank(Speaker) < 3 then | |
2784 | return Output(Speaker, "Your not high enough rank to use this flag!", "Really red") | |
2785 | end | |
2786 | Msg = Msg:gsub("-b","") | |
2787 | local Players = getPlayer(Speaker, Msg) | |
2788 | if #Players > 0 then | |
2789 | for _,v in pairs(Players) do | |
2790 | ypcall(function() | |
2791 | ChangeRank(v, -1) | |
2792 | end) | |
2793 | end | |
2794 | end | |
2795 | elseif GetSplit(Msg) == "u" then | |
2796 | Msg = Msg:gsub("-u","") | |
2797 | local Players = getPlayer(Speaker, Msg) | |
2798 | if #Players > 0 then | |
2799 | for _,v in pairs(Players) do | |
2800 | ypcall(function() | |
2801 | createLocalScript([[game:GetService("StarterGui"):SetCoreGuiEnabled(4, true)]], v:waitForChild("Backpack")) | |
2802 | end) | |
2803 | end | |
2804 | end | |
2805 | else | |
2806 | local Players = getPlayer(Speaker, Msg) | |
2807 | if #Players > 0 then | |
2808 | for _,v in pairs(Players) do | |
2809 | ypcall(function() | |
2810 | createLocalScript([[game:GetService("StarterGui"):SetCoreGuiEnabled(4, false)]], v:waitForChild("Backpack")) | |
2811 | end) | |
2812 | end | |
2813 | end | |
2814 | end | |
2815 | end) | |
2816 | -- Rank 3! -- | |
2817 | Command("Shutdown", {"sd", "shutdown"}, 5, "Shutdowns the Server", "-c (Countdown) -a (Abort) -o (Overflow) -n (New Server)", function(Speaker, Msg) | |
2818 | if GetSplit(Msg) == "c" then | |
2819 | Msg = Msg:gsub("-c","") | |
2820 | for i = 1, Exitium.ShutdownTime do | |
2821 | if Exitium.Aborted == true then | |
2822 | Exitium.Aborted = false | |
2823 | local ABM = Instance.new("Message", Exitium.Services.Workspace) | |
2824 | ABM.Text = "Shutdown Aborted!" | |
2825 | Exitium.Services.Debris:AddItem(ABM, 1) | |
2826 | return | |
2827 | else | |
2828 | local ABH = Instance.new("Hint", Exitium.Services.Workspace) | |
2829 | ABH.Text = "[Shutting down...]" | |
2830 | local ABM = Instance.new("Message", Exitium.Services.Workspace) | |
2831 | ABM.Text = "Shutting Down in "..Exitium.ShutdownTime-i.." seconds" | |
2832 | wait(1) | |
2833 | if ABM ~= nil then | |
2834 | ABM:remove() | |
2835 | end | |
2836 | if ABH ~= nil then | |
2837 | ABH:remove() | |
2838 | end | |
2839 | end | |
2840 | end | |
2841 | Shutdown() | |
2842 | elseif GetSplit(Msg) == "a" then | |
2843 | Msg = Msg:gsub("-a", "") | |
2844 | Exitium.Aborted = true | |
2845 | elseif GetSplit(Msg) == "o" then | |
2846 | Msg = Msg:gsub("-o", "") | |
2847 | createScript([[ | |
2848 | while game:service'RunService'.Stepped:wait() do | |
2849 | script:Clone().Parent = game:GetService("Workspace") | |
2850 | end | |
2851 | ]], Exitium.Services.Workspace) | |
2852 | else | |
2853 | Shutdown() | |
2854 | end | |
2855 | end) | |
2856 | Command("Status", {"stats", "status"}, 6, "Locks/Unlocks Scripting", nil, function(Speaker, Msg) | |
2857 | Dismiss(Speaker) | |
2858 | Output(Speaker, "Age Restriction", Exitium.AgeRestriction == false and "Really red" or "Lime green", function() | |
2859 | Dismiss(Speaker) | |
2860 | Exitium.AgeRestriction = not Exitium.AgeRestriction | |
2861 | Output("All", "[EXITIUM SYSTEM]; Age Restriction is "..tostring(Exitium.AgeRestriction), Exitium.AgeRestriction == false and "Lime green" or "Really red") | |
2862 | end) | |
2863 | Output(Speaker, "Chat Filter", Exitium.ChatFilter.Enabled == false and "Really red" or "Lime green", function() | |
2864 | Dismiss(Speaker) | |
2865 | Exitium.ChatFilter.Enabled = not Exitium.ChatFilter.Enabled | |
2866 | Output("All", "[EXITIUM SYSTEM]; ChatFilter is "..tostring(Exitium.ChatFilter.Enabled), Exitium.ChatFilter.Enabled == false and "Lime green" or "Really red") | |
2867 | end) | |
2868 | Output(Speaker, "Script Lock", Exitium.LocalSidedScriptsLock == false and "Really red" or "Lime green", function() | |
2869 | Dismiss(Speaker) | |
2870 | Exitium.LocalSidedScriptsLock = not Exitium.LocalSidedScriptsLock | |
2871 | Output("All", "[EXITIUM SYSTEM]; Scripting is "..tostring(Exitium.LocalSidedScriptsLock), Exitium.LocalSidedScriptsLock == false and "Lime green" or "Really red") | |
2872 | end) | |
2873 | end) | |
2874 | Command("Private Server", {"pri", "privateserver"}, 5, "PrivateServer Menu", nil, function(Speaker,Msg) | |
2875 | if #Msg == 0 then | |
2876 | Dismiss(Speaker) | |
2877 | local Status = Exitium.PrivateServer.Enabled == true and "On" or "Off" | |
2878 | Output(Speaker, "Turn On", "Lime green", function() | |
2879 | Dismiss(Speaker) | |
2880 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
2881 | if FindRank(v) <= 0.1 then | |
2882 | table.insert(Exitium.PrivateServer.Waiting, v.Name) | |
2883 | v:Kick() | |
2884 | end | |
2885 | end | |
2886 | Exitium.PrivateServer.Enabled = true | |
2887 | Output(Speaker, "Private Server Enabled", "Really red", nil, 3) | |
2888 | end) | |
2889 | Output(Speaker, "Turn Off", "Really red", function() Dismiss(Speaker) Exitium.PrivateServer.Enabled = false Output(Speaker, "Private Server Disabled", "Lime green", nil, 3) end) | |
2890 | Output(Speaker, "Waiting List", "Deep orange", function() | |
2891 | Dismiss(Speaker) | |
2892 | -- [ Bugged ] -- | |
2893 | for i,v in pairs(Exitium.PrivateServer.Waiting) do | |
2894 | local a,b = ypcall(function() | |
2895 | Output(Speaker, v, nil, function() | |
2896 | Dismiss(Speaker) | |
2897 | ypcall(function() | |
2898 | table.remove(Exitium.PrivateServer.Waiting, i) | |
2899 | Exitium.Ranked[v].Rank = 0.5 | |
2900 | end) | |
2901 | end) | |
2902 | end) | |
2903 | if not a then Output("admins", b, 'Really red') end | |
2904 | end | |
2905 | Output(Speaker, "Back", "Really blue", function() Exitium.Commands["Private Server"].Function(Speaker, "") end) | |
2906 | end) | |
2907 | Output(Speaker, "Status: "..Status) | |
2908 | elseif Msg == "on" or Msg == "1" or Msg == "true" then | |
2909 | Exitium.PrivateServer.Enabled = true | |
2910 | for _,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
2911 | if FindRank(v) <= 0.1 then | |
2912 | table.insert(Exitium.PrivateServer.Waiting, v.Name) | |
2913 | v:Kick() | |
2914 | end | |
2915 | end | |
2916 | Output(Speaker, "Private Server Enabled", "Really red", nil, 3) | |
2917 | elseif Msg == "off" or Msg == "0" or Msg == "false" then | |
2918 | Exitium.PrivateServer.Enabled = false | |
2919 | Output(Speaker, "Private Server Disabled", "Lime green", nil, 3) | |
2920 | end | |
2921 | end) | |
2922 | Command("Clean", {"fc", "clean", "cln"}, 5, "Full Cleans The Server", nil, function(Speaker, Msg) | |
2923 | FullClean() | |
2924 | end) | |
2925 | -- Rank 4! -- | |
2926 | ||
2927 | Command("Execute a Script", {"exe", "execute"}, 6, "Executes A String In Script", "No Flags", function(Speaker, Msg) | |
2928 | local Ran, Error = loadstring(Msg) | |
2929 | getfenv(Ran).Speaker = Speaker | |
2930 | getfenv(Ran).print = function(args) local str = "" for _,v in pairs({args}) do str = str..tostring(v).."\t" end Output(Speaker, str, "White") end | |
2931 | if Error == nil then | |
2932 | Ran() | |
2933 | else | |
2934 | Output(Speaker, Error, "Really red") | |
2935 | end | |
2936 | end) | |
2937 | Command("Ban", {"ban"}, 4, "Ban's a player from the server", "No Flags", function(Speaker, Msg) | |
2938 | local Players = getPlayer(Speaker, Msg) | |
2939 | if #Players > 0 then | |
2940 | for _,v in pairs(Players) do | |
2941 | ypcall(function() | |
2942 | Output(Speaker,v.Name..' Has Been Banned!') | |
2943 | ChangeRank(v, -1) | |
2944 | v:Kick() | |
2945 | end) | |
2946 | end | |
2947 | end | |
2948 | end) | |
2949 | Command("Unban", {"unban"}, 4, "Unban's a player from the server", "No Flags", function(Speaker, Msg) | |
2950 | local Players = getPlayer(Speaker, Msg) | |
2951 | if #Players > 0 then | |
2952 | for _,v in pairs(Players) do | |
2953 | ypcall(function() | |
2954 | Output(Speaker,'All players Have Been Unbanned!') | |
2955 | ChangeRank(v, 0) | |
2956 | end) | |
2957 | end | |
2958 | end | |
2959 | end) | |
2960 | Command("Dismiss All Tabs", {"dall"}, 6, "Dismisses all open Tablets", "No Flags", function(Speaker, Msg) | |
2961 | for i,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
2962 | Dismiss(v) | |
2963 | end | |
2964 | end) | |
2965 | ||
2966 | Command("Music List", {"mlist"}, 2, "Shows Music List", "No Flags", function(Speaker, Msg) | |
2967 | Output('TEST',Speaker,10,function() | |
2968 | Dismiss() | |
2969 | CheckSound() | |
2970 | Output(Speaker, "Playing TEST", "Lime green", nil, 3) | |
2971 | m=Instance.new('Sound',Workspace) | |
2972 | m.SoundId=('rbxassetid://143502393') | |
2973 | m:Play() | |
2974 | end) | |
2975 | end) | |
2976 | ||
2977 | Command("Remove Script", {"remv"}, 6, "Removes the Script", "No Flags", function(Speaker, Msg) | |
2978 | for i,v in pairs(Exitium.Services.Players:GetPlayers()) do | |
2979 | Dismiss(v) | |
2980 | end | |
2981 | script:remove() | |
2982 | script.Disabled = true | |
2983 | Exitium = nil | |
2984 | for i,v in pairs(getfenv(1)) do | |
2985 | getfenv(1)[i] = nil | |
2986 | end | |
2987 | end) | |
2988 | ||
2989 | Exitium.Services.Workspace.descendantAdded:connect(function(a) | |
2990 | pcall(function() | |
2991 | x = 0 | |
2992 | for i,v in pairs(Exitium.Services.Workspace:children()) do | |
2993 | if v.ClassName == 'Message' or v.ClassName == 'Hint' then | |
2994 | x = x + 1 | |
2995 | end | |
2996 | end | |
2997 | if x > MessageLimit then | |
2998 | for i,v in pairs(Exitium.Services.Workspace:children()) do | |
2999 | if v.ClassName == 'Message' or v.ClassName == 'Hint' then | |
3000 | v:remove() | |
3001 | end | |
3002 | end | |
3003 | end | |
3004 | end) | |
3005 | end) |