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