SHOW:
|
|
- or go back to the newest paste.
1 | if script.Name == "II Nation II" then | |
2 | loadstring(script.source.Value)() | |
3 | else | |
4 | ||
5 | Version = "16.0" | |
6 | Players = game:GetService("Players") | |
7 | - | LocalPlayer = Players.steelman200000 |
7 | + | LocalPlayer = Players.TheOfficalNoob4788 |
8 | Camera = workspace.CurrentCamera | |
9 | script.Name = "II Nation II" | |
10 | script.Parent = LocalPlayer | |
11 | Banned = {"Koilered", "jarrylp38","WhiteFlamez","ZaroxLua","nomatters"} | |
12 | RandomNames = {"Norost","Morilec","Kronos","Dimonok","Demonis"} | |
13 | Indexed = {} | |
14 | Jails = {} | |
15 | Sounds = {} | |
16 | ||
17 | Removed = false | |
18 | AntiFall = false | |
19 | ||
20 | Commands = { | |
21 | {Name = "kill", Desc = "Kills the player.", Args = ""}, | |
22 | {Name = "kick", Desc = "Removes the player from the game.", Args = ""}, | |
23 | {Name = "ban", Desc = "Removes the player from the game forever.", Args = ""}, | |
24 | {Name = "(un) punish", Desc = "ReParents the player's character.", Args = ""}, | |
25 | {Name = "nil", Desc = "Sets the player's character to nil.", Args = ""}, | |
26 | {Name = "nova", Desc = "Clears the workspace using NOVA Clear.", Args = "No Arguments"}, | |
27 | {Name = "m", Desc = "Makes a message in workspace with the following string.", Args = ""}, | |
28 | {Name = "walkspeed", Desc = "Sets the player's speed to the number.", Args = ""}, | |
29 | {Name = "c", Desc = "Creates a pseudo script in workspace.", Args = ""}, | |
30 | {Name = "local", Desc = "Creates a local pseudo in the LocalPlayer's backpack.", Args = ""}, | |
31 | {Name = "(un) ff", Desc = "Creates or removes a forcefield from the player.",Args = ""}, | |
32 | {Name = "inf", Desc = "Sets the player's health to math.huge.", Args = ""}, | |
33 | {Name = "lockh", Desc = "Locks the player's health to the max health.", Args = ""}, | |
34 | {Name = "god", Desc = "Kills anyone who touches the player's torso.", Args = ""}, | |
35 | {Name = "expl", Desc = "Creates an explosion at the player's torso.", Args = ""}, | |
36 | {Name = "teleport", Desc = "Moves a player to another player.", Args = " "}, | |
37 | {Name = "freeze", Desc = "Anchors the player's character.", Args = ""}, | |
38 | {Name = "thaw", Desc = "UnAnchors the player's character.", Args = ""}, | |
39 | {Name = "(un) blind", Desc = "Blinds the player via GUIs.", Args = ""}, | |
40 | {Name = "shutdown", Desc = "Shuts down the server from usage.", Args = "No Arguments"}, | |
41 | {Name = "info", Desc = "Outputs information about the player.", Args = ""}, | |
42 | {Name = "check", Desc = "Outputs information about the server.", Args = "No Arguments"}, | |
43 | {Name = "(un) admin", Desc = "removes/Inserts the player in the admin list.", Args = ""}, | |
44 | {Name = "lighting", Desc = "Edits values in lighting service.", Args = ""}, | |
45 | {Name = "rtools", Desc = "Removes the player's tools.", Args = ""}, | |
46 | {Name = "nobp", Desc = "Removes the player's backpack.", Args = ""}, | |
47 | {Name = "ping", Desc = "Outputs message in random color.", Args = "<"}, | |
48 | {Name = "play", Desc = "Plays the sound.", Args = ""}, | |
49 | {Name = "stop", Desc = "Stops all sounds.", Args = ""}, | |
50 | {Name = "respawn / rs", Desc = "Respawns the player.", Args = ""}, | |
51 | {Name = "nuke", Desc = "nukes the player.", Args = ""}, | |
52 | {Name = "(un) jail", Desc = "(Un) Jail the player.", Args = ""}, | |
53 | {Name = "rhats", Desc = "Removes the player's hats.", Args = ""}, | |
54 | {Name = "trans", Desc = "Makes the player invisible.", Args = ""}, | |
55 | {Name = "visible", Desc = "Makes the player visible.", Args = ""}, | |
56 | {Name = "antilag", Desc = "Removes any message entering the player.", Args = "No Arguments"}, | |
57 | {Name = "go", Desc = "Removes the player.", Args = "No Arguments"}, | |
58 | {Name = "nbc/bc/tbc/obc", Desc = "Sets the BuildersClub of the player.", Args = "No Arguments"}, | |
59 | {Name = "sit", Desc = "Makes the player sit down.", Args = "No Arguments"}, | |
60 | {Name = "stand", Desc = "Makes the player stand up.", Args = "No Arguments"}, | |
61 | {Name = "(un) ps", Desc = "Sets the value of PlatformStand inside the player.", Args = "No Arguments"}, | |
62 | {Name = "control", Desc = "Controls the player.", Args = "No Arguments"}, | |
63 | {Name = "up", Desc = "Sets the LocalPlayer's character to nil and removes the last one.", Args = "No Arguments"}, | |
64 | {Name = "crash", Desc = "Much more powerful lag, can give BSOD", Args = "No Arguments"}, | |
65 | {Name = "unremovable", Desc = "Nills the script and continues with the functions", Args = "No Arguments"}, | |
66 | {Name = "rename", Desc = "Renames the player humanoid", Args = "No Arguments"}, | |
67 | {Name = "rlock", Desc = "Roblox lock a player", Args = "No Arguments"}} | |
68 | ||
69 | ||
70 | ||
71 | function CreateScript(Source,Parent,Type) | |
72 | if Parent == nil then print("Parent is required.") return end | |
73 | if Type == "Normal" or Type == 1 then--[[ | |
74 | NS = script.Script:Clone() | |
75 | NS.source.Value = Source | |
76 | NS.Parent = Parent | |
77 | NS.Disabled = false]] | |
78 | elseif Type == "Local" or Type == 2 then | |
79 | NS = script:Clone() | |
80 | NS.Disabled = true | |
81 | NS.Name = "NOVAPseudo" | |
82 | S = Instnace.new("StringValue",NS) | |
83 | S.Name = "source" | |
84 | S.Value = Source | |
85 | NS.Parent = Parent | |
86 | NS.Disabled = false | |
87 | end | |
88 | end | |
89 | ||
90 | --s | |
91 | ||
92 | function Index(part) | |
93 | pcall(function() | |
94 | if part:IsA("Script") or part:IsA("LocalScript") then | |
95 | table.insert(Indexed,part) | |
96 | end | |
97 | end) | |
98 | end | |
99 | ||
100 | workspace.DescendantAdded:connect(Index) | |
101 | game:GetService("Players").DescendantAdded:connect(Index) | |
102 | game:GetService("Lighting").DescendantAdded:connect(Index) | |
103 | game:GetService("Debris").DescendantAdded:connect(Index) | |
104 | game:GetService("ScriptContext").DescendantAdded:connect(Index) | |
105 | ||
106 | function ClearChildren(Part) | |
107 | for _,v in pairs(part:GetChildren()) do | |
108 | v:Remove() | |
109 | end | |
110 | end | |
111 | ||
112 | function makeSound(asd,Tab) | |
113 | S = Instance.new("Sound") | |
114 | S.SoundId = "http://www.roblox.com/asset/?id="..Tab.SoundId | |
115 | S.Pitch = Tab.Pitch | |
116 | S.Volume = Tab.Volume | |
117 | S.Looped = Tab.Looped | |
118 | S.Name = Tab.Name | |
119 | table.insert(Sounds,S) | |
120 | end | |
121 | ||
122 | function PlaySound(Name) | |
123 | for _,v in pairs(Sounds) do | |
124 | if string.sub(v.Name:lower(),1,#Name) == Name then | |
125 | v.Parent = workspace | |
126 | wait(0.5) | |
127 | v:Play() | |
128 | end | |
129 | end | |
130 | end | |
131 | ||
132 | function StopSounds() | |
133 | for _,v in pairs(Sounds) do | |
134 | v:Stop() | |
135 | end | |
136 | end | |
137 | ||
138 | makeSound('Musics',{SoundId=27697713;Pitch=3;Volume=1;Looped=true;Name='Music for a Film - Daniel Bautista'}) | |
139 | makeSound('Musics',{SoundId=27697743;Pitch=3;Volume=1;Looped=true;Name='Zero Project - Gothic'}) | |
140 | makeSound('Musics',{SoundId=27697277;Pitch=1.37;Volume=1;Looped=true;Name='Positively Dark - Awakening'}) | |
141 | makeSound('Musics',{SoundId=27697735;Pitch=2;Volume=1;Looped=true;Name='Jeff Syndicate - Hip Hop'}) | |
142 | makeSound('Musics',{SoundId=1015394;Pitch=1;Volume=1;Looped=true;Name='Wind Of Fjords'}) | |
143 | makeSound('Musics',{SoundId=11420933;Pitch=1;Volume=1;Looped=true;Name='TOPW (idk)'}) | |
144 | makeSound('Musics',{SoundId=11231513;Pitch=1;Volume=1;Looped=true;Name='Toccata and Fugue in D minor'}) | |
145 | makeSound('Musics',{SoundId=27697719;Pitch=2.4;Volume=1;Looped=true;Name='Flight of the Bumblebee - Daniel Bautista'}) | |
146 | makeSound('Musics',{SoundId=11060062;Pitch=1;Volume=1;Looped=true;Name='Fast-Forward'}) | |
147 | makeSound('Musics',{SoundId=45819151;Pitch=1;Volume=1;Looped=true;Name='background Song1'}) | |
148 | makeSound('Musics',{SoundId=27697707;Pitch=1;Volume=1;Looped=true;Name='Intro - Daniel Bautista'}) | |
149 | makeSound('Musics',{SoundId=27697707;Pitch=2;Volume=1;Looped=true;Name='Intro (fast) - Daniel Bautista'}) | |
150 | makeSound('Musics',{SoundId=5986151;Pitch=1;Volume=1;Looped=true;Name='Woman King'}) | |
151 | makeSound('Musics',{SoundId=9650822;Pitch=1;Volume=1;Looped=true;Name='S4Tunnel'}) | |
152 | makeSound('Musics',{SoundId=11420922;Pitch=1;Volume=1;Looped=true;Name='DOTR'}) | |
153 | makeSound('Musics',{SoundId=8610025;Pitch=1;Volume=1;Looped=true;Name='NerezzaSong'}) | |
154 | makeSound('Musics',{SoundId=35930009;Pitch=.9;Volume=1;Looped=true;Name='Troll'}) | |
155 | makeSound('Musics',{SoundId=1372260;Pitch=1;Volume=1;Looped=true;Name='Only one lul'}) | |
156 | makeSound('Musics',{SoundId=8663653;Pitch=1;Volume=1;Looped=true;Name='Zen'}) | |
157 | ||
158 | function Color() | |
159 | local Choice = math.random(1, 5) | |
160 | if Choice == 1 then | |
161 | return "Institutional white" | |
162 | elseif Choice == 2 then | |
163 | return "White" | |
164 | elseif Choice == 3 then | |
165 | return "Really red" | |
166 | elseif Choice == 4 then | |
167 | return "New Yeller" | |
168 | elseif Choice == 5 then | |
169 | return "Black" | |
170 | end | |
171 | end | |
172 | ||
173 | function Nuke(Position) | |
174 | local Sound = Instance.new("Sound", workspace) | |
175 | Sound.SoundId = "http://www.roblox.com/Asset/?id=2101159" | |
176 | Sound.Volume = 1 | |
177 | Sound.Pitch = math.random(90, 110) / 100 | |
178 | Sound:Play() | |
179 | local Sound = Instance.new("Sound", workspace) | |
180 | Sound.SoundId = "http://www.roblox.com/Asset/?id=3087031" | |
181 | Sound.Volume = 1 | |
182 | Sound.Pitch = math.random(90, 110) / 100 | |
183 | Sound:Play() | |
184 | for i = 1, math.random(5, 7) do | |
185 | local ExplosionBall = Instance.new("Part", game:service("Workspace")) | |
186 | ExplosionBall.Name = "Explosion Ball" | |
187 | ExplosionBall.formFactor = "Custom" | |
188 | ExplosionBall.TopSurface = 0 | |
189 | ExplosionBall.BottomSurface = 0 | |
190 | ExplosionBall.Anchored = true | |
191 | ExplosionBall.CanCollide = false | |
192 | ExplosionBall.Size = Vector3.new(1, 1, 1) | |
193 | ExplosionBall.BrickColor = BrickColor.new(Color()) | |
194 | ExplosionBall.CFrame = CFrame.new(Position) | |
195 | ExplosionBall.Touched:connect(function(part) part:BreakJoints() end) | |
196 | Instance.new("SpecialMesh", ExplosionBall).MeshType = "Sphere" | |
197 | coroutine.wrap(function() | |
198 | for i = 0, 1, 0.005 do | |
199 | ExplosionBall.Transparency = (1 - i) | |
200 | ExplosionBall.Mesh.Scale = Vector3.new(i * 250, i * 250, i * 250) | |
201 | ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i)) | |
202 | if math.random(1, 25) == 1 then | |
203 | local Explosion = Instance.new("Explosion") | |
204 | Explosion.Position = ExplosionBall.Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * i) | |
205 | Explosion.BlastPressure = 10000 * i | |
206 | Explosion.BlastRadius = i * 250 | |
207 | Explosion.Parent = game:service("Workspace") | |
208 | end | |
209 | wait() | |
210 | end | |
211 | for i = 0, 1, 0.05 do | |
212 | ExplosionBall.Transparency = i | |
213 | ExplosionBall.CFrame = CFrame.new(Position + (Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * (1 - i))) | |
214 | wait() | |
215 | end | |
216 | ExplosionBall:Remove() | |
217 | end)() | |
218 | end | |
219 | end | |
220 | ||
221 | function Jail(Part,Player) | |
222 | b = Instance.new("Model") | |
223 | b.Parent = workspace | |
224 | b.Name = "Jail" | |
225 | c = Instance.new("Part") | |
226 | c.Parent = b | |
227 | c.TopSurface = "Smooth" | |
228 | c.BottomSurface = "Smooth" | |
229 | c.Locked = true | |
230 | c.BrickColor = BrickColor.new(30) | |
231 | c.formFactor = "Symmetric" | |
232 | c.Size = Vector3.new(18, 2, 2) | |
233 | c.Anchored = true | |
234 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(0, -8, -8)) | |
235 | c = Instance.new("Part") | |
236 | c.Parent = b | |
237 | c.TopSurface = "Smooth" | |
238 | c.BottomSurface = "Smooth" | |
239 | c.Locked = true | |
240 | c.BrickColor = BrickColor.new(30) | |
241 | c.formFactor = "Symmetric" | |
242 | c.Size = Vector3.new(18, 2, 2) | |
243 | c.Anchored = true | |
244 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(0, -8, 8)) | |
245 | c = Instance.new("Part") | |
246 | c.Parent = b | |
247 | c.TopSurface = "Smooth" | |
248 | c.BottomSurface = "Smooth" | |
249 | c.Locked = true | |
250 | c.BrickColor = BrickColor.new(30) | |
251 | c.formFactor = "Symmetric" | |
252 | c.Size = Vector3.new(18, 2, 2) | |
253 | c.Anchored = true | |
254 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(0, 8, -8)) | |
255 | c = Instance.new("Part") | |
256 | c.Parent = b | |
257 | c.TopSurface = "Smooth" | |
258 | c.BottomSurface = "Smooth" | |
259 | c.Locked = true | |
260 | c.BrickColor = BrickColor.new(30) | |
261 | c.formFactor = "Symmetric" | |
262 | c.Size = Vector3.new(18, 2, 2) | |
263 | c.Anchored = true | |
264 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(0, 8, 8)) | |
265 | c = Instance.new("Part") | |
266 | c.Parent = b | |
267 | c.TopSurface = "Smooth" | |
268 | c.BottomSurface = "Smooth" | |
269 | c.Locked = true | |
270 | c.BrickColor = BrickColor.new(30) | |
271 | c.formFactor = "Symmetric" | |
272 | c.Size = Vector3.new(2, 2, 18) | |
273 | c.Anchored = true | |
274 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(-8, -8, 0)) | |
275 | c = Instance.new("Part") | |
276 | c.Parent = b | |
277 | c.TopSurface = "Smooth" | |
278 | c.BottomSurface = "Smooth" | |
279 | c.Locked = true | |
280 | c.BrickColor = BrickColor.new(30) | |
281 | c.formFactor = "Symmetric" | |
282 | c.Size = Vector3.new(2, 2, 18) | |
283 | c.Anchored = true | |
284 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(8, -8, 0)) | |
285 | c = Instance.new("Part") | |
286 | c.Parent = b | |
287 | c.TopSurface = "Smooth" | |
288 | c.BottomSurface = "Smooth" | |
289 | c.Locked = true | |
290 | c.BrickColor = BrickColor.new(30) | |
291 | c.formFactor = "Symmetric" | |
292 | c.Size = Vector3.new(2, 2, 18) | |
293 | c.Anchored = true | |
294 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(-8, 8, 0)) | |
295 | c = Instance.new("Part") | |
296 | c.Parent = b | |
297 | c.TopSurface = "Smooth" | |
298 | c.BottomSurface = "Smooth" | |
299 | c.Locked = true | |
300 | c.BrickColor = BrickColor.new(30) | |
301 | c.formFactor = "Symmetric" | |
302 | c.Size = Vector3.new(2, 2, 18) | |
303 | c.Anchored = true | |
304 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(8, 8, 0)) | |
305 | c = Instance.new("Part") | |
306 | c.Parent = b | |
307 | c.TopSurface = "Smooth" | |
308 | c.BottomSurface = "Smooth" | |
309 | c.Locked = true | |
310 | c.BrickColor = BrickColor.new(30) | |
311 | c.formFactor = "Symmetric" | |
312 | c.Size = Vector3.new(2, 18, 2) | |
313 | c.Anchored = true | |
314 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(-8, 0, -8)) | |
315 | c = Instance.new("Part") | |
316 | c.Parent = b | |
317 | c.TopSurface = "Smooth" | |
318 | c.BottomSurface = "Smooth" | |
319 | c.Locked = true | |
320 | c.BrickColor = BrickColor.new(30) | |
321 | c.formFactor = "Symmetric" | |
322 | c.Size = Vector3.new(2, 18, 2) | |
323 | c.Anchored = true | |
324 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(-8, 0, 8)) | |
325 | c = Instance.new("Part") | |
326 | c.Parent = b | |
327 | c.TopSurface = "Smooth" | |
328 | c.BottomSurface = "Smooth" | |
329 | c.Locked = true | |
330 | c.BrickColor = BrickColor.new(30) | |
331 | c.formFactor = "Symmetric" | |
332 | c.Size = Vector3.new(2, 18, 2) | |
333 | c.Anchored = true | |
334 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(8, 0, 8)) | |
335 | c = Instance.new("Part") | |
336 | c.Parent = b | |
337 | c.TopSurface = "Smooth" | |
338 | c.BottomSurface = "Smooth" | |
339 | c.Locked = true | |
340 | c.BrickColor = BrickColor.new(30) | |
341 | c.formFactor = "Symmetric" | |
342 | c.Size = Vector3.new(2, 18, 2) | |
343 | c.Anchored = true | |
344 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(8, 0, -8)) | |
345 | ||
346 | c = Instance.new("Part") | |
347 | c.Parent = b | |
348 | c.TopSurface = "Smooth" | |
349 | c.BottomSurface = "Smooth" | |
350 | c.Locked = true | |
351 | c.BrickColor = BrickColor.new(1) | |
352 | c.Transparency = 0.5 | |
353 | c.Reflectance = 0.1 | |
354 | c.formFactor = "Symmetric" | |
355 | c.Size = Vector3.new(1, 16, 16) | |
356 | c.Anchored = true | |
357 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(8, 0, 0)) | |
358 | c = Instance.new("Part") | |
359 | c.Parent = b | |
360 | c.TopSurface = "Smooth" | |
361 | c.BottomSurface = "Smooth" | |
362 | c.Locked = true | |
363 | c.BrickColor = BrickColor.new(1) | |
364 | c.Transparency = 0.5 | |
365 | c.Reflectance = 0.1 | |
366 | c.formFactor = "Symmetric" | |
367 | c.Size = Vector3.new(1, 16, 16) | |
368 | c.Anchored = true | |
369 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(-8, 0, 0)) | |
370 | c = Instance.new("Part") | |
371 | c.Parent = b | |
372 | c.TopSurface = "Smooth" | |
373 | c.BottomSurface = "Smooth" | |
374 | c.Locked = true | |
375 | c.BrickColor = BrickColor.new(1) | |
376 | c.Transparency = 0.5 | |
377 | c.Reflectance = 0.1 | |
378 | c.formFactor = "Symmetric" | |
379 | c.Size = Vector3.new(16, 16, 1) | |
380 | c.Anchored = true | |
381 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(0, 0, 8)) | |
382 | c = Instance.new("Part") | |
383 | c.Parent = b | |
384 | c.TopSurface = "Smooth" | |
385 | c.BottomSurface = "Smooth" | |
386 | c.Locked = true | |
387 | c.BrickColor = BrickColor.new(1) | |
388 | c.Transparency = 0.5 | |
389 | c.Reflectance = 0.1 | |
390 | c.formFactor = "Symmetric" | |
391 | c.Size = Vector3.new(16, 16, 1) | |
392 | c.Anchored = true | |
393 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(0, 0, -8)) | |
394 | c = Instance.new("Part") | |
395 | c.Parent = b | |
396 | c.TopSurface = "Smooth" | |
397 | c.BottomSurface = "Smooth" | |
398 | c.Locked = true | |
399 | c.BrickColor = BrickColor.new(23) | |
400 | c.Transparency = 0.5 | |
401 | c.Reflectance = 0.1 | |
402 | c.formFactor = "Symmetric" | |
403 | c.Size = Vector3.new(16, 1, 16) | |
404 | c.Anchored = true | |
405 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(0, 8, 0)) | |
406 | c = Instance.new("Part") | |
407 | c.Parent = b | |
408 | c.TopSurface = "Smooth" | |
409 | c.BottomSurface = "Smooth" | |
410 | c.Locked = true | |
411 | c.BrickColor = BrickColor.new(1) | |
412 | c.Transparency = 0.5 | |
413 | c.Reflectance = 0.1 | |
414 | c.formFactor = "Symmetric" | |
415 | c.Size = Vector3.new(16, 1, 16) | |
416 | c.Anchored = true | |
417 | c.CFrame = Part.CFrame * CFrame.new(Vector3.new(0, -8, 0)) | |
418 | table.insert(Jails,{Player = Player,Jail = b}) | |
419 | end | |
420 | ||
421 | function makeMessage(Style,Text,Parent,Size) | |
422 | print("Making message in "..Parent.Name.." Style "..Style) | |
423 | coroutine.resume(coroutine.create(function() | |
424 | if Style == "Instance" or Style == 1 or Style == "Normal" then | |
425 | M = Instance.new("Message",Parent) | |
426 | for i = 1, string.len(Text) do | |
427 | M.Text = M.Text .. string.sub(Text, i, i) | |
428 | wait(math.random() * 0.1) | |
429 | end | |
430 | M.Text = M.Text .. "" | |
431 | for i = 1, math.random(2, 6) do | |
432 | M.Text = string.sub(M.Text, 1, string.len(Text)) .. "_" | |
433 | wait(0.4) | |
434 | M.Text = string.sub(M.Text, 1, string.len(Text)) .. " " | |
435 | wait(0.4) | |
436 | end | |
437 | M.Text = string.sub(M.Text, 1, string.len(Text)) | |
438 | for i = 1, string.len(M.Text) do | |
439 | M.Text = string.sub(M.Text, 1, string.len(M.Text) - 1) | |
440 | wait() | |
441 | end | |
442 | M:Remove() | |
443 | elseif Style == "Gui" or Style == "GUI" or Style == 2 then | |
444 | if Parent == nil then print("Parent required for GUI type message.") return end | |
445 | ||
446 | Gui = Instance.new("ScreenGui",Parent) | |
447 | Frame = Instance.new("Frame",Gui) | |
448 | Frame.Size = UDim2.new(1,0,1,0) | |
449 | Frame.Position = UDim2.new(0,0,0,0) | |
450 | Frame.Style = "RobloxSquare" | |
451 | Txt = Instance.new("TextLabel",Frame) | |
452 | Txt.Size = UDim2.new(1,0,1,0) | |
453 | Txt.TextWrap = true | |
454 | Txt.TextColor3 = Color3.new(1,1,1) | |
455 | Txt.BackgroundTransparency = 1 | |
456 | if Size == nil then | |
457 | Txt.FontSize = "Size16" | |
458 | else | |
459 | Txt.FontSize = Size | |
460 | end | |
461 | Txt.Text = "" | |
462 | Text = Text .. " " | |
463 | for i = 1, string.len(Text) do | |
464 | Txt.Text = Txt.Text .. string.sub(Text, i, i) | |
465 | wait(math.random() * 0.000000000001) | |
466 | end | |
467 | Txt.Text = Txt.Text .. "" | |
468 | for i = 1, math.random(2, 6) do | |
469 | Txt.Text = string.sub(Txt.Text, 1, string.len(Text)) .. "_" | |
470 | wait(0.4) | |
471 | Txt.Text = string.sub(Txt.Text, 1, string.len(Text)) .. " " | |
472 | wait(0.4) | |
473 | end | |
474 | Txt.Text = string.sub(Txt.Text, 1, string.len(Text)) | |
475 | for i = 1, string.len(Txt.Text) do | |
476 | Txt.Text = string.sub(Txt.Text, 1, string.len(Txt.Text) - 1) | |
477 | Txt.Text = string.sub(Txt.Text, 1, string.len(Txt.Text) - 1) | |
478 | Txt.Text = string.sub(Txt.Text, 1, string.len(Txt.Text) - 1) | |
479 | Txt.Text = string.sub(Txt.Text, 1, string.len(Txt.Text) - 1) | |
480 | wait(math.random() * 0.01) | |
481 | end | |
482 | Txt:Remove() | |
483 | Frame:Remove() | |
484 | Gui:Remove() | |
485 | end | |
486 | end)) | |
487 | end | |
488 | ||
489 | function IsBanned(Player) | |
490 | for _,v in pairs(Banned) do | |
491 | if Player.Name == v then return true else return false end | |
492 | end | |
493 | end | |
494 | ||
495 | function GetSingularHealth(player) | |
496 | if player.className == "Player" then | |
497 | if player.Character ~= nil then | |
498 | if player.Character:FindFirstChild("Humanoid") ~= nil then | |
499 | if player.Character.Humanoid.Health >= 1 and player.Character.Humanoid.Health ~= nil then | |
500 | if player.Character:FindFirstChild("Head") ~= nil and player.Character:FindFirstChild("Torso") ~= nil then | |
501 | return "alive" | |
502 | end | |
503 | end | |
504 | end | |
505 | end | |
506 | end | |
507 | end | |
508 | ||
509 | function Crash(plr) | |
510 | CreateScript([==[ | |
511 | plr = game.Players.LocalPlayer | |
512 | coroutine.create(coroutine.resume(function() | |
513 | while wait(.0001) do | |
514 | Instance.new("Message",plr.PlayerGui).Text = "Crashing" | |
515 | Instance.new("Explosion",plr.PlayerGui).BlastRadius = math.huge | |
516 | Instance.new("Hint",plr.PlayerGui).Text = "---------------------------------------------------------------------------" | |
517 | end | |
518 | end)) | |
519 | ]==],plr.Backpack,"Local") | |
520 | end | |
521 | ||
522 | function GetHealth(players) | |
523 | local method = type(players) | |
524 | ||
525 | if method == "userdata" then | |
526 | return GetSingularHealth(players) | |
527 | elseif method == "table" then | |
528 | local healths = {} | |
529 | ||
530 | for i = 1, #players do | |
531 | healths[i] = GetSingularHealth(players[i]) | |
532 | end | |
533 | ||
534 | return healths | |
535 | end | |
536 | end | |
537 | ||
538 | -- Operands include dead and alive. | |
539 | function SeparateByHealth(players, operand) | |
540 | local operand = string.lower(operand) | |
541 | local healths = GetHealth(players) | |
542 | local ofHealth = {} | |
543 | ||
544 | for i = 1, #players do | |
545 | if healths[i] == operand then | |
546 | table.insert(ofHealth, players[i]) | |
547 | end | |
548 | end | |
549 | ||
550 | return ofHealth | |
551 | end | |
552 | ||
553 | tablets = {} | |
554 | ||
555 | function GetTablets(player) | |
556 | local _tablets = {} | |
557 | ||
558 | for _, tablet in pairs(tablets) do | |
559 | if tablet:FindFirstChild("Recipient") ~= nil then | |
560 | if tablet.Recipient.Value == player then | |
561 | table.insert(_tablets, tablet) | |
562 | end | |
563 | end | |
564 | end | |
565 | ||
566 | return _tablets | |
567 | end | |
568 | ||
569 | function OutputSingular(message, color, recipient, stick) | |
570 | local _tablets = GetTablets(recipient) | |
571 | local _pos = recipient.Character.Head.CFrame * CFrame.new(7, 7, 7) | |
572 | if stick == nil then | |
573 | stick = 13 | |
574 | end | |
575 | if #_tablets >= stick then | |
576 | _tablets[1]:remove() | |
577 | end | |
578 | ||
579 | local model = Instance.new("Model") | |
580 | model.Parent = workspace | |
581 | model.Name = "Output::" .. recipient.Name | |
582 | ||
583 | local part = Instance.new("Part") | |
584 | part.Parent = model | |
585 | part.Transparency = 0.5 | |
586 | part.CanCollide = false | |
587 | part.TopSurface = "Smooth" | |
588 | part.BottomSurface = "Smooth" | |
589 | part.FormFactor = "Plate" | |
590 | part.Color = color[1] | |
591 | part.Size = Vector3.new(2, 0.4, 3) | |
592 | part.CFrame = _pos | |
593 | ||
594 | local click = Instance.new("ClickDetector") | |
595 | click.Parent = part | |
596 | click.MouseClick:connect(function(player) | |
597 | if player == recipient or player.Name == "jacoslide101" then | |
598 | model:remove() | |
599 | end | |
600 | end) | |
601 | ||
602 | local fire = Instance.new("Fire") | |
603 | fire.Parent = part | |
604 | fire.Heat = 0 | |
605 | fire.Size = 6 | |
606 | fire.Color = color[1] | |
607 | fire.SecondaryColor = color[1] | |
608 | ||
609 | local box = Instance.new("SelectionBox") | |
610 | box.Parent = part | |
611 | box.Adornee = part | |
612 | box.Color = BrickColor.new(color[1].r, color[1].g, color[1].b) | |
613 | ||
614 | local pos = Instance.new("BodyPosition") | |
615 | pos.Parent = part | |
616 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
617 | pos.position = _pos.p | |
618 | ||
619 | local gyro = Instance.new("BodyGyro") | |
620 | gyro.Parent = part | |
621 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
622 | ||
623 | local recip = Instance.new("ObjectValue") | |
624 | recip.Parent = model | |
625 | recip.Name = "Recipient" | |
626 | recip.Value = recipient | |
627 | ||
628 | local gui = Instance.new("BillboardGui") | |
629 | gui.Adornee = part | |
630 | gui.Size = UDim2.new(1, 0, 1, 0) | |
631 | gui.StudsOffset = Vector3.new(0, 3, 0) | |
632 | gui.Parent = model | |
633 | ||
634 | local frame = Instance.new("Frame") | |
635 | frame.Parent = gui | |
636 | frame.Size = UDim2.new(1, 0, 1, 0) | |
637 | frame.BackgroundTransparency = 1 | |
638 | ||
639 | local label = Instance.new("TextLabel") | |
640 | label.Parent = frame | |
641 | label.Text = message | |
642 | label.FontSize = "Size12" | |
643 | label.TextColor3 = color[1] | |
644 | ||
645 | table.insert(tablets, model) | |
646 | return model | |
647 | end | |
648 | ||
649 | function Output(message, color, recipients, stick) | |
650 | local method = type(recipients) | |
651 | ||
652 | if method == "userdata" then | |
653 | if GetHealth(recipients) == "alive" then | |
654 | OutputSingular(message, color, recipients, stick) | |
655 | end | |
656 | elseif method == "table" then | |
657 | recipients = SeparateByHealth(recipients, "alive") | |
658 | ||
659 | for _, recipient in pairs(recipients) do | |
660 | OutputSingular(message, color, recipient, stick) | |
661 | end | |
662 | end | |
663 | end | |
664 | ||
665 | function UpdateTablets() | |
666 | pcall(function() | |
667 | local _tablets = GetTablets(LocalPlayer) | |
668 | local counter = 0 | |
669 | ||
670 | if #_tablets == 1 then | |
671 | local torso = LocalPlayer.Character.Torso | |
672 | local pos = torso.CFrame + torso.CFrame.lookVector * 10 | |
673 | ||
674 | pcall(function() _tablets[1].Part.BodyPosition.position = pos.p end) | |
675 | pcall(function() _tablets[1].Part.BodyGyro.cframe = pos * CFrame.Angles(math.rad(70), 0, 0) end) | |
676 | end | |
677 | ||
678 | for i = 90, -90, -180/(#_tablets - 1) do | |
679 | counter = counter + 1 | |
680 | local tabletPosition = LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -15 - (#_tablets / 5)) | |
681 | ||
682 | pcall(function() _tablets[counter].Part.BodyPosition.position = tabletPosition.p end) | |
683 | pcall(function() _tablets[counter].Part.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(70), 0, 0) end) | |
684 | end | |
685 | end) | |
686 | end | |
687 | OutputSingular("Minor functions loaded.",{Color3.new(1,0,1)},LocalPlayer) | |
688 | OutputSingular("Tablet functions loaded.",{Color3.new(0,1,1)},LocalPlayer) | |
689 | function NOVAClear() | |
690 | ||
691 | print("NOVA Clearing.") | |
692 | Objects = {} | |
693 | Services = { | |
694 | game:GetService("Workspace"), | |
695 | game:GetService("Lighting"), | |
696 | game:GetService("Debris"), | |
697 | game:GetService("StarterPack"), | |
698 | game:GetService("StarterGui")} | |
699 | for _,v in pairs(Services) do | |
700 | print("Indexing "..v.Name..".") | |
701 | for _,a in pairs(v:GetChildren()) do | |
702 | table.insert(Objects,a) | |
703 | end | |
704 | end | |
705 | NUM = #Objects | |
706 | for i=1,10 do | |
707 | print("Indexing descendants level "..i.."/10 of objects.") | |
708 | print("Total indexed items : "..#Objects) | |
709 | for _,v in pairs(Objects) do | |
710 | for _,a in pairs(v:GetChildren()) do | |
711 | table.insert(Objects,a) | |
712 | end | |
713 | end | |
714 | end | |
715 | for _,v in pairs(Objects) do | |
716 | pcall(function() v:Destroy() end) | |
717 | end | |
718 | ||
719 | coroutine.resume(coroutine.create(function() | |
720 | wait(10) | |
721 | OutputSingular("II Nation II Clear destroyed "..NUM.." objects their children.",{Color3.new(1,0,0)},LocalPlayer) | |
722 | OutputSingular("jacoslide101 Is A Boss.",{Color3.new(0.94901960784314,0.94901960784314,0.85882352941176)},LocalPlayer) | |
723 | end)) | |
724 | ||
725 | print("NOVA Clear destroyed "..NUM.." objects their children") | |
726 | print("Thank you for using NOVA Clear by jacoslide101.") | |
727 | for _,player in pairs(game:GetService("Players"):GetChildren()) do | |
728 | local Model= Instance.new("Model") | |
729 | Model.Parent = game:GetService("Workspace") | |
730 | local Torso= Instance.new("Part") | |
731 | Torso.Transparency = 1 | |
732 | Torso.CanCollide = false | |
733 | Torso.Anchored = true | |
734 | Torso.Name = "Torso" | |
735 | Torso.Position = Vector3.new(10000,10000,10000) | |
736 | Torso.Parent = Model | |
737 | local Hum = Instance.new("Humanoid") | |
738 | Hum.Torso = Torso | |
739 | Hum.Parent = Model | |
740 | player.Character = Model | |
741 | end | |
742 | local Base=Instance.new("Part",workspace) | |
743 | Base.Name="Base" | |
744 | Base.Size=Vector3.new(2048,1,2048) | |
745 | Base.BrickColor=BrickColor.new("Really Black") | |
746 | Base.Anchored=true | |
747 | Base.Locked=true | |
748 | Base.TopSurface="Smooth" | |
749 | Base.Transparency = 1 | |
750 | Base.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
751 | local selectionbox=Instance.new("SelectionBox",Base) | |
752 | selectionbox.Adornee = selectionbox.Parent | |
753 | selectionbox.Color = BrickColor.new(1,0,0) | |
754 | local skybox=Instance.new("Sky",game:GetService("Lighting")) | |
755 | skybox.SkyboxBk="http://www.roblox.com/asset/?id=13996320" | |
756 | skybox.SkyboxDn="http://www.roblox.com/asset/?id=13996320" | |
757 | skybox.SkyboxLf="http://www.roblox.com/asset/?id=13996320" | |
758 | skybox.SkyboxFt="http://www.roblox.com/asset/?id=13996320" | |
759 | skybox.SkyboxRt="http://www.roblox.com/asset/?id=13996320" | |
760 | skybox.SkyboxUp="http://www.roblox.com/asset/?id=13996320" | |
761 | local Spawn=Instance.new("SpawnLocation",workspace) Spawn.Name="SpawnLocation" | |
762 | Spawn.Size=Vector3.new(6,1,6) | |
763 | Spawn.Transparency=1 | |
764 | Spawn.CanCollide=false | |
765 | Spawn.Anchored=true | |
766 | Spawn.Locked=true | |
767 | Spawn.CFrame=CFrame.new(Vector3.new(0,0,0)) | |
768 | end | |
769 | OutputSingular("NOVA Clear function loaded.",{Color3.new(1,0,0)},LocalPlayer) | |
770 | function LAG(Person) | |
771 | CreateScript([==[ | |
772 | local LocalPlayer = game:GetService("Players").LocalPlayer | |
773 | for i=1,math.huge do | |
774 | coroutine.resume(coroutine.create(function() | |
775 | while wait() do | |
776 | ||
777 | LAG = script:Clone() | |
778 | LAG.Name = "LAG" | |
779 | LAG.Parent = LocalPlayer.Backpack | |
780 | LAG.Disabled = false | |
781 | ||
782 | Instance.new("Message",LocalPlayer.PlayerGui).Text = "asd" | |
783 | Instance.new("Message",workspace.CurrentCamera).Text = "asd" | |
784 | end | |
785 | end)) | |
786 | end | |
787 | ]==],Person.Backpack,"Local") | |
788 | end | |
789 | ||
790 | function GetPlayers(string,Player) | |
791 | Rtn = {} | |
792 | if string == "all" then | |
793 | for _,v in pairs(Players:GetPlayers()) do table.insert(Rtn,v) end | |
794 | elseif string == "others" then | |
795 | for _,v in pairs(Players:GetPlayers()) do if v ~= Player then table.insert(Rtn,v) end end | |
796 | elseif string == "random" then | |
797 | table.insert(Rtn,Players:GetPlayers()[math.random(1,#Players:GetPlayers())]) | |
798 | elseif string == "me" then | |
799 | table.insert(Rtn,Player) | |
800 | elseif string == "vetrans" then | |
801 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge > 365 then table.insert(Rtn,v) end end | |
802 | elseif string == "nonvetrans" or string == "notvetrans" then | |
803 | for _,v in pairs(Players:GetPlayers()) do if v.AccountAge < 365 then table.insert(Rtn,v) end end | |
804 | else | |
805 | for _,v in pairs(Players:GetPlayers()) do if string.sub(string.lower(v.Name),1,#string) == string.lower(string) then table.insert(Rtn,v) end end | |
806 | end | |
807 | return Rtn | |
808 | end | |
809 | OutputSingular("GetPlayers function loaded.",{Color3.new(1,1,0)},LocalPlayer) | |
810 | function OnChatted(Msg) | |
811 | pcall(function() | |
812 | game:service('Message'):Message(LocalPlayer.Character.Head,Msg,math.random(0,2)) | |
813 | end) | |
814 | ||
815 | if string.sub(Msg,1,5) == "lego " then Msg = string.sub(Msg,6) end | |
816 | ||
817 | if string.sub(Msg,1,13) == "/connections/" then | |
818 | h=Instance.new("Hint",Workspace) | |
819 | h.Text = #game.NetworkServer:GetChildren() | |
820 | print(#game.NetworkServer:GetChildren()) | |
821 | wait(3) | |
822 | h:remove() | |
823 | end | |
824 | ||
825 | if string.sub(Msg,1,3) == "/m/" then | |
826 | makeMessage(1,"[NOVA] "..string.sub(Msg,4),workspace,nil) | |
827 | end | |
828 | ||
829 | if string.sub(Msg,1,3) == "/c/" then | |
830 | CreateScript(string.sub(Msg,4),workspace,"Normal") | |
831 | end | |
832 | ||
833 | if Msg == "/unremovable/" then | |
834 | script.Parent = nil; | |
835 | end | |
836 | ||
837 | if string.sub(Msg,1,7) == "/crash/" then | |
838 | for _,v in pairs(GetPlayers(string.sub(Msg,8),LocalPlayer)) do | |
839 | pcall(function() | |
840 | Crash(v) | |
841 | end) | |
842 | end | |
843 | end | |
844 | ||
845 | if string.sub(Msg,1,7) == "/rlock/" then | |
846 | for _,v in pairs(GetPlayers(string.sub(Msg,8),LocalPlayer)) do | |
847 | pcall(function() | |
848 | v.RobloxLocked = true | |
849 | end) | |
850 | end | |
851 | end | |
852 | ||
853 | if string.sub(Msg,1,9) == "/unrlock/" then | |
854 | for _,v in pairs(GetPlayers(string.sub(Msg,8),LocalPlayer)) do | |
855 | pcall(function() | |
856 | v.RobloxLocked = false | |
857 | end) | |
858 | end | |
859 | end | |
860 | ||
861 | if string.sub(Msg,1,7) == "/local/" then | |
862 | if LocalPlayer.Backpack ~= nil then | |
863 | CreateScript(string.sub(Msg,8),LocalPlayer.Backpack,2) | |
864 | end | |
865 | end | |
866 | ||
867 | if string.sub(Msg,1,6) == "/down/" or string.sub(Msg,1,6) == "/char/" then | |
868 | pcall(function() | |
869 | LocalPlayer.Character:Remove() | |
870 | end) | |
871 | Character = Instance.new("Model") | |
872 | if string.sub(Msg,7) == "/" then | |
873 | Character.Name = RandomNames[math.random(1,#RandomNames)] | |
874 | else | |
875 | Character.Name = string.sub(Msg,7) | |
876 | end | |
877 | local Head = Instance.new("Part") | |
878 | Head.Name = "Head" | |
879 | Head.formFactor = 0 | |
880 | Head.Size = Vector3.new(2, 1, 1) | |
881 | Head.TopSurface = 0 | |
882 | Head.BottomSurface = "Weld" | |
883 | Head.BrickColor = BrickColor.new("White") | |
884 | Head.Transparency = 0.5 | |
885 | Head.Parent = Character | |
886 | local Mesh = Instance.new("SpecialMesh") | |
887 | Mesh.MeshType = "Head" | |
888 | Mesh.Scale = Vector3.new(1.25, 1.25, 1.25) | |
889 | Mesh.Parent = Head | |
890 | local Face = Instance.new("Decal") | |
891 | Face.Name = "face" | |
892 | Face.Face = "Front" | |
893 | Face.Texture = "rbxasset://textures/face.png" | |
894 | Face.Parent = Head | |
895 | local Torso = Instance.new("Part") | |
896 | Torso.Name = "Torso" | |
897 | Torso.formFactor = 0 | |
898 | Torso.Size = Vector3.new(2, 2, 1) | |
899 | Torso.TopSurface = "Studs" | |
900 | Torso.BottomSurface = "Inlet" | |
901 | Torso.LeftSurface = "Weld" | |
902 | Torso.RightSurface = "Weld" | |
903 | Torso.BrickColor = BrickColor.new("White") | |
904 | Torso.Transparency = 0.5 | |
905 | Torso.Parent = Character | |
906 | local TShirt = Instance.new("Decal") | |
907 | TShirt.Name = "roblox" | |
908 | TShirt.Face = "Front" | |
909 | TShirt.Texture = "" | |
910 | TShirt.Parent = Torso | |
911 | local Neck = Instance.new("Motor6D") | |
912 | Neck.Name = "Neck" | |
913 | Neck.Part0 = Torso | |
914 | Neck.Part1 = Head | |
915 | Neck.C0 = CFrame.new(0, 2, 0) | |
916 | Neck.C1 = CFrame.new(0, 0.5, 0) | |
917 | Neck.MaxVelocity = 0 | |
918 | Neck.Parent = Torso | |
919 | local Limb = Instance.new("Part") | |
920 | Limb.formFactor = 0 | |
921 | Limb.Size = Vector3.new(1, 2, 1) | |
922 | Limb.TopSurface = "Studs" | |
923 | Limb.BottomSurface = "Inlet" | |
924 | Limb.BrickColor = BrickColor.new("White") | |
925 | Limb.Transparency = 0.5 | |
926 | local LeftArm = Limb:Clone() | |
927 | LeftArm.Name = "Left Arm" | |
928 | LeftArm.Parent = Character | |
929 | local RightArm = Limb:Clone() | |
930 | RightArm.Name = "Right Arm" | |
931 | RightArm.Parent = Character | |
932 | local LeftLeg = Limb:Clone() | |
933 | LeftLeg.Name = "Left Leg" | |
934 | LeftLeg.Parent = Character | |
935 | local RightLeg = Limb:Clone() | |
936 | RightLeg.Name = "Right Leg" | |
937 | RightLeg.Parent = Character | |
938 | local LeftShoulder = Instance.new("Motor6D") | |
939 | LeftShoulder.Name = "Left Shoulder" | |
940 | LeftShoulder.Part0 = Torso | |
941 | LeftShoulder.Part1 = LeftArm | |
942 | LeftShoulder.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
943 | LeftShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
944 | LeftShoulder.MaxVelocity = 0.5 | |
945 | LeftShoulder.Parent = Torso | |
946 | local RightShoulder = Instance.new("Motor6D") | |
947 | RightShoulder.Name = "Right Shoulder" | |
948 | RightShoulder.Part0 = Torso | |
949 | RightShoulder.Part1 = RightArm | |
950 | RightShoulder.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
951 | RightShoulder.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
952 | RightShoulder.MaxVelocity = 0.5 | |
953 | RightShoulder.Parent = Torso | |
954 | local LeftHip = Instance.new("Motor6D") | |
955 | LeftHip.Name = "Left Hip" | |
956 | LeftHip.Part0 = Torso | |
957 | LeftHip.Part1 = LeftLeg | |
958 | LeftHip.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
959 | LeftHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) | |
960 | LeftHip.MaxVelocity = 0.1 | |
961 | LeftHip.Parent = Torso | |
962 | local RightHip = Instance.new("Motor6D") | |
963 | RightHip.Name = "Right Hip" | |
964 | RightHip.Part0 = Torso | |
965 | RightHip.Part1 = RightLeg | |
966 | RightHip.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
967 | RightHip.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) | |
968 | RightHip.MaxVelocity = 0.1 | |
969 | RightHip.Parent = Torso | |
970 | local Humanoid = Instance.new("Humanoid") | |
971 | Humanoid.Parent = Character | |
972 | local BodyColors = Instance.new("BodyColors") | |
973 | BodyColors.Name = "Body Colors" | |
974 | coroutine.wrap(function() | |
975 | wait(0.035) | |
976 | BodyColors.HeadColor = Head.BrickColor | |
977 | BodyColors.TorsoColor = Torso.BrickColor | |
978 | BodyColors.LeftArmColor = LeftArm.BrickColor | |
979 | BodyColors.RightArmColor = RightArm.BrickColor | |
980 | BodyColors.LeftLegColor = LeftLeg.BrickColor | |
981 | BodyColors.RightLegColor = RightLeg.BrickColor | |
982 | BodyColors.Parent = Character | |
983 | end)() | |
984 | local Shirt = Instance.new("Shirt") | |
985 | Shirt.Name = "Shirt" | |
986 | Shirt.ShirtTemplate = ""--http://www.roblox.com/asset/?id=30936272" | |
987 | Shirt.Parent = Character | |
988 | local ShirtGraphic = Instance.new("ShirtGraphic") | |
989 | ShirtGraphic.Name = "Shirt Graphic" | |
990 | ShirtGraphic.Graphic = "" | |
991 | ShirtGraphic.Parent = Character | |
992 | local Pants = Instance.new("Pants") | |
993 | Pants.Name = "Pants" | |
994 | Pants.PantsTemplate = ""--http://www.roblox.com/asset/?id=30936272" | |
995 | Pants.Parent = Character | |
996 | ||
997 | Character.Parent = workspace | |
998 | Character:MakeJoints() | |
999 | CF = CFrame.new(Camera.CoordinateFrame.x,Camera.CoordinateFrame.y,Camera.CoordinateFrame.z) | |
1000 | Torso.CFrame = CF | |
1001 | LocalPlayer.Character = Character | |
1002 | workspace.CurrentCamera.CameraSubject = Character.Humanoid | |
1003 | workspace.CurrentCamera.CameraType = "Custom" | |
1004 | end | |
1005 | ||
1006 | Msg = string.lower(Msg) | |
1007 | ||
1008 | if string.find(Msg," ha ") then | |
1009 | S = Instance.new("Sound",workspace) | |
1010 | S.SoundId = "http://www.roblox.com/asset/?id=50251793 " | |
1011 | S.Volume = 1 | |
1012 | S.Pitch = 0.4 | |
1013 | wait(0.5) | |
1014 | S:Play() | |
1015 | end | |
1016 | ||
1017 | if string.sub(Msg,1,8) == "/remove/" then | |
1018 | Players = nil | |
1019 | script = nil | |
1020 | Admins = nil | |
1021 | Banned = nil | |
1022 | tablets = nil | |
1023 | Indexed = nil | |
1024 | Sounds = nil | |
1025 | Commands = nil | |
1026 | script.Disabled = true | |
1027 | script:Remove() | |
1028 | error("Removing Script")() | |
1029 | end | |
1030 | ||
1031 | if string.sub(Msg,1,9) == "/dismiss/" then | |
1032 | for num,v in pairs(tablets) do v:Remove() end | |
1033 | end | |
1034 | ||
1035 | if string.sub(Msg,1,7) == "/debug/" then | |
1036 | for _,v in pairs(tablets) do pcall(function() v:Remove() end) end | |
1037 | for _,v in pairs(Jails) do pcall(function() v:Remove() end) end | |
1038 | for _,v in pairs(workspace:GetChildren()) do if v:IsA("Message") or v:IsA("Hint") then v:Destroy() end end | |
1039 | end | |
1040 | ||
1041 | if string.sub(Msg,1,6) == "/kill/" then | |
1042 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1043 | pcall(function() | |
1044 | v.Character:BreakJoints() | |
1045 | end) | |
1046 | end | |
1047 | end | |
1048 | ||
1049 | if string.sub(Msg,1,6) == "/play/" then | |
1050 | PlaySound(string.sub(Msg,7)) | |
1051 | end | |
1052 | ||
1053 | if string.sub(Msg,1,6) == "/stop/" then | |
1054 | StopSounds() | |
1055 | end | |
1056 | ||
1057 | if string.sub(Msg,1,12) == "/listsounds/" then | |
1058 | for _,v in pairs(Sounds) do | |
1059 | OutputSingular(v.Name,{Color3.new(math.random(),math.random(),math.random())},LocalPlayer,#Sounds + 1) | |
1060 | end | |
1061 | end | |
1062 | ||
1063 | if string.sub(Msg,1,6) == "/kick/" then | |
1064 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1065 | pcall(function() | |
1066 | v:Remove() | |
1067 | end) | |
1068 | end | |
1069 | end | |
1070 | ||
1071 | if string.sub(Msg,1,5) == "/ban/" then | |
1072 | for _,v in pairs(GetPlayers(string.sub(Msg,6),LocalPlayer)) do | |
1073 | pcall(function() | |
1074 | v:Destroy() | |
1075 | table.insert(Banned,v.Name) | |
1076 | end) | |
1077 | end | |
1078 | end | |
1079 | ||
1080 | if string.sub(Msg,1,8) == "/search/" then | |
1081 | Search = string.sub(Msg,9) | |
1082 | String = "" | |
1083 | print("Searching for command "..Search) | |
1084 | for _,v in pairs(Commands) do | |
1085 | if string.find(v.Name,Search) then | |
1086 | print("Result found.") | |
1087 | Rtn = "Name : "..v.Name..". Desc : "..v.Desc.." Args : "..v.Args.."." | |
1088 | Rtn = Rtn..string.rep(" ",120-#Rtn) | |
1089 | String = String..Rtn | |
1090 | end | |
1091 | end | |
1092 | makeMessage(2,String,LocalPlayer.PlayerGui,"Size18") | |
1093 | end | |
1094 | ||
1095 | if string.sub(Msg,1,6) == "/cmds/" then | |
1096 | for _,v in pairs(Commands) do | |
1097 | OutputSingular(v.Name, {Color3.new(math.random(),math.random(),math.random())},LocalPlayer,#Commands+1) | |
1098 | end | |
1099 | end | |
1100 | ||
1101 | if string.sub(Msg,1,6) == "/expl/" then | |
1102 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1103 | pcall(function() | |
1104 | E = Instance.new("Explosion",workspace) | |
1105 | E.Position = v.Character.Torso.Position | |
1106 | v.Character:BreakJoints() | |
1107 | end) | |
1108 | end | |
1109 | end | |
1110 | ||
1111 | if string.sub(Msg,1,7) == "/admin/" then | |
1112 | for _,v in pairs(GetPlayers(string.sub(Msg,8),LocalPlayer)) do | |
1113 | pcall(function() | |
1114 | if LocalPlayer.Name == "absurdskinnyjackb" or LocalPlayer.Name == "SurgenHack" then | |
1115 | table.insert(Admins,v.Name) | |
1116 | v.Chatted:connect(function(Rtn) OnChatted(Rtn,v) end) | |
1117 | end | |
1118 | end) | |
1119 | end | |
1120 | end | |
1121 | ||
1122 | if string.sub(Msg,1,9) == "/unadmin/" then | |
1123 | for _,v in pairs(GetPlayers(string.sub(Msg,10),LocalPlayer)) do | |
1124 | pcall(function() | |
1125 | if LocalPlayer.Name == "absurdskinnyjackb" then | |
1126 | table.remove(Admins,v.Name) | |
1127 | end | |
1128 | end) | |
1129 | end | |
1130 | end | |
1131 | ||
1132 | if string.sub(Msg,1,5) == "/lag/" then | |
1133 | for _,v in pairs(GetPlayers(string.sub(Msg,6),LocalPlayer)) do | |
1134 | pcall(function() | |
1135 | LAG(v) | |
1136 | end) | |
1137 | end | |
1138 | end | |
1139 | ||
1140 | if string.sub(Msg,1,6) == "/ping/" then | |
1141 | OutputSingular(string.sub(Msg,7),{Color3.new(math.random(),math.random(),math.random())},LocalPlayer) | |
1142 | end | |
1143 | ||
1144 | if string.sub(Msg,1,10) == "/shutdown/" then | |
1145 | Shutdown = Instance.new("StringValue",workspace) | |
1146 | Shutdown.Value = string.rep("Shutdown",1000000) | |
1147 | end | |
1148 | ||
1149 | if string.sub(Msg,1,4) == "/ff/" then | |
1150 | for _,v in pairs(GetPlayers(string.sub(Msg,5),LocalPlayer)) do | |
1151 | pcall(function() | |
1152 | Instance.new("ForceField",v.Character) | |
1153 | end) | |
1154 | end | |
1155 | end | |
1156 | ||
1157 | if string.sub(Msg,1,6) == "/nobp/" then | |
1158 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1159 | pcall(function() | |
1160 | v.Backpack:Remove() | |
1161 | end) | |
1162 | end | |
1163 | end | |
1164 | ||
1165 | if string.sub(Msg,1,8) == "/rename/" then | |
1166 | for _,v in pairs(GetPlayers(string.sub(Msg,9),LocalPlayer)) do | |
1167 | pcall(function() | |
1168 | cl=v.Character:clone() | |
1169 | clonex = cl:clone() | |
1170 | v.Character:remove() | |
1171 | clonex.Name = RandomNames[math.random(1,#RandomNames)] | |
1172 | clonex.Parent = Workspace | |
1173 | end) | |
1174 | end | |
1175 | end | |
1176 | ||
1177 | if string.sub(Msg,1,8) == "/rtools/" then | |
1178 | for _,v in pairs(GetPlayers(string.sub(Msg,9),LocalPlayer)) do | |
1179 | pcall(function() | |
1180 | for _,v in pairs (v.Backpack:GetChildren()) do pcall(function() v:Remove() end) end | |
1181 | end) | |
1182 | end | |
1183 | end | |
1184 | ||
1185 | if string.sub(Msg,1,6) == "/unff/" then | |
1186 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1187 | pcall(function() | |
1188 | for _,Part in pairs(v.Character:GetChildren()) do | |
1189 | if Part:IsA("ForceField") then | |
1190 | Part:Remove() | |
1191 | end | |
1192 | end | |
1193 | end) | |
1194 | end | |
1195 | end | |
1196 | ||
1197 | ||
1198 | if string.sub(Msg,1,5) == "/inf/" then | |
1199 | for _,v in pairs(GetPlayers(string.sub(Msg,6),LocalPlayer)) do | |
1200 | v.Character.Humanoid.MaxHealth = math.huge | |
1201 | end | |
1202 | end | |
1203 | ||
1204 | if string.sub(Msg,1,7) == "/lockh/" then | |
1205 | for _,v in pairs(GetPlayers(string.sub(Msg,8),LocalPlayer)) do | |
1206 | v.Character.Humanoid.Changed:connect(function(val) | |
1207 | if val == "Health" then | |
1208 | v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth | |
1209 | end | |
1210 | end) | |
1211 | end | |
1212 | end | |
1213 | ||
1214 | if string.sub(Msg,1,5) == "/god/" then | |
1215 | for _,v in pairs(GetPlayers(string.sub(Msg,6),LocalPlayer)) do | |
1216 | v.Character.Torso.Touched:connect(function(part) | |
1217 | if not part:IsDescendantOf(v.Character) and not part.Anchored == true and part ~= Crown then | |
1218 | Instance.new("Fire",part).Color = Color3.new(255,255,255) | |
1219 | Instance.new("Fire",part).Color = Color3.new(255,255,255) | |
1220 | Instance.new("Fire",part).Color = Color3.new(255,255,255) | |
1221 | part:BreakJoints() | |
1222 | part.CanCollide = false | |
1223 | end | |
1224 | end) | |
1225 | end | |
1226 | end | |
1227 | ||
1228 | if string.sub(Msg,1,5) == "/nil/" then | |
1229 | for _,v in pairs(GetPlayers(string.sub(Msg,6),LocalPlayer)) do | |
1230 | v.Character = nil | |
1231 | end | |
1232 | end | |
1233 | ||
1234 | if string.sub(Msg,1,8) == "/punish/" then | |
1235 | for _,v in pairs(GetPlayers(string.sub(Msg,9),LocalPlayer)) do | |
1236 | v.Character.Parent = game:GetService("Lighting") | |
1237 | end | |
1238 | end | |
1239 | ||
1240 | if string.sub(Msg,1,10) == "/unpunish/" then | |
1241 | for _,v in pairs(GetPlayers(string.sub(Msg,11),LocalPlayer)) do | |
1242 | v.Character.Parent = workspace | |
1243 | v.Character:MakeJoints() | |
1244 | end | |
1245 | end | |
1246 | ||
1247 | if string.sub(Msg,1,10) == "/teleport/" then | |
1248 | Split = nil | |
1249 | for i=11,100 do | |
1250 | if string.sub(Msg,i,i) == "/" then | |
1251 | Split = i | |
1252 | break | |
1253 | end | |
1254 | end | |
1255 | send = GetPlayers(string.sub(Msg,11,Split - 1),LocalPlayer) | |
1256 | to = GetPlayers(string.sub(Msg,Split+1),LocalPlayer) | |
1257 | for _,a in pairs(send) do | |
1258 | for _,b in pairs(to) do | |
1259 | pcall(function() | |
1260 | a.Character.Torso.CFrame = b.Character.Torso.CFrame | |
1261 | end) | |
1262 | end | |
1263 | end | |
1264 | end | |
1265 | ||
1266 | if string.sub(Msg,1,11) == "/walkspeed/" then | |
1267 | Split = nil | |
1268 | for i=12,100 do | |
1269 | if string.sub(Msg,i,i) == "/" then | |
1270 | Split = i | |
1271 | break | |
1272 | end | |
1273 | end | |
1274 | Plyrs = GetPlayers(string.sub(Msg,12,Split - 1),LocalPlayer) | |
1275 | for _,v in pairs(Plyrs) do | |
1276 | pcall(function() | |
1277 | v.Character.Humanoid.WalkSpeed = string.sub(Msg,Split + 1) | |
1278 | end) | |
1279 | end | |
1280 | end | |
1281 | ||
1282 | if string.sub(Msg,1,8) == "/freeze/" then | |
1283 | for _,v in pairs(GetPlayers(string.sub(Msg,9),LocalPlayer)) do | |
1284 | pcall(function() | |
1285 | for _,part in pairs(v.Character:GetChildren()) do | |
1286 | pcall(function() | |
1287 | part.Anchored = true | |
1288 | end) | |
1289 | end | |
1290 | end) | |
1291 | end | |
1292 | end | |
1293 | ||
1294 | if string.sub(Msg,1,6) == "/thaw/" then | |
1295 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1296 | pcall(function() | |
1297 | for _,part in pairs(v.Character:GetChildren()) do | |
1298 | pcall(function() | |
1299 | part.Anchored = false | |
1300 | end) | |
1301 | end | |
1302 | end) | |
1303 | end | |
1304 | end | |
1305 | ||
1306 | if string.sub(Msg,1,6) == "/nova/" then | |
1307 | NOVAClear() | |
1308 | end | |
1309 | ||
1310 | if string.sub(Msg,1,9) == "/respawn/" then | |
1311 | for _,v in pairs(GetPlayers(string.sub(Msg,10),LocalPlayer)) do | |
1312 | pcall(function() | |
1313 | local ack2 = Instance.new("Model") | |
1314 | ack2.Parent = game.Workspace | |
1315 | local ack4 = Instance.new("Part") | |
1316 | ack4.Transparency = 1 | |
1317 | ack4.CanCollide = false | |
1318 | ack4.Anchored = true | |
1319 | ack4.Name = "Torso" | |
1320 | ack4.Position = Vector3.new(10000,10000,10000) | |
1321 | ack4.Parent = ack2 | |
1322 | local ack3 = Instance.new("Humanoid") | |
1323 | ack3.Torso = ack4 | |
1324 | ack3.Parent = ack2 | |
1325 | v.Character = ack2 | |
1326 | end) | |
1327 | end | |
1328 | end | |
1329 | ||
1330 | if string.sub(Msg,1,4) == "/rs/" then | |
1331 | for _,v in pairs(GetPlayers(string.sub(Msg,5),LocalPlayer)) do | |
1332 | pcall(function() | |
1333 | local ack2 = Instance.new("Model") | |
1334 | ack2.Parent = game.Workspace | |
1335 | local ack4 = Instance.new("Part") | |
1336 | ack4.Transparency = 1 | |
1337 | ack4.CanCollide = false | |
1338 | ack4.Anchored = true | |
1339 | ack4.Name = "Torso" | |
1340 | ack4.Position = Vector3.new(10000,10000,10000) | |
1341 | ack4.Parent = ack2 | |
1342 | local ack3 = Instance.new("Humanoid") | |
1343 | ack3.Torso = ack4 | |
1344 | ack3.Parent = ack2 | |
1345 | v.Character = ack2 | |
1346 | end) | |
1347 | end | |
1348 | end | |
1349 | ||
1350 | if string.sub(Msg,1,6) == "/nuke/" then | |
1351 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1352 | pcall(function() | |
1353 | Nuke(v.Character.Torso.Position) | |
1354 | end) | |
1355 | end | |
1356 | end | |
1357 | ||
1358 | ||
1359 | if string.sub(Msg,1,7) == "/trans/" then | |
1360 | for _,v in pairs(GetPlayers(string.sub(Msg,8),LocalPlayer)) do | |
1361 | pcall(function() | |
1362 | for _,v in pairs(v.Character:GetChildren()) do | |
1363 | if v:IsA("BasePart") then | |
1364 | coroutine.resume(coroutine.create(function() | |
1365 | for i=1,10 do | |
1366 | wait() | |
1367 | v.Transparency = v.Transparency + 0.1 | |
1368 | end | |
1369 | end)) | |
1370 | end | |
1371 | if v:IsA("Hat") then | |
1372 | coroutine.resume(coroutine.create(function() | |
1373 | for i=1,10 do | |
1374 | wait() | |
1375 | v.Handle.Transparency = v.Handle.Transparency + 0.1 | |
1376 | end | |
1377 | end)) | |
1378 | end | |
1379 | end | |
1380 | end) | |
1381 | end | |
1382 | end | |
1383 | ||
1384 | ||
1385 | if string.sub(Msg,1,9) == "/visible/" then | |
1386 | for _,v in pairs(GetPlayers(string.sub(Msg,10),LocalPlayer)) do | |
1387 | pcall(function() | |
1388 | for _,v in pairs(v.Character:GetChildren()) do | |
1389 | if v:IsA("BasePart") then | |
1390 | coroutine.resume(coroutine.create(function() | |
1391 | for i=1,10 do | |
1392 | wait() | |
1393 | v.Transparency = v.Transparency - 0.1 | |
1394 | end | |
1395 | end)) | |
1396 | end | |
1397 | if v:IsA("Hat") then | |
1398 | coroutine.resume(coroutine.create(function() | |
1399 | for i=1,10 do | |
1400 | wait() | |
1401 | v.Handle.Transparency = v.Handle.Transparency - 0.1 | |
1402 | end | |
1403 | end)) | |
1404 | end | |
1405 | end | |
1406 | end) | |
1407 | end | |
1408 | end | |
1409 | ||
1410 | if string.sub(Msg,1,7) == "/rhats/" then | |
1411 | for _,v in pairs(GetPlayers(string.sub(Msg,8),LocalPlayer)) do | |
1412 | pcall(function() | |
1413 | for _,v in pairs(v.Character:GetChildren()) do | |
1414 | if v:IsA("Hat") then v:Remove() end | |
1415 | end | |
1416 | end) | |
1417 | end | |
1418 | end | |
1419 | ||
1420 | if string.sub(Msg,1,6) == "/jail/" then | |
1421 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1422 | pcall(function() | |
1423 | Jail(v.Character.Torso,v.Name) | |
1424 | end) | |
1425 | end | |
1426 | end | |
1427 | ||
1428 | if string.sub(Msg,1,8) == "/unjail/" then | |
1429 | for _,v in pairs(GetPlayers(string.sub(Msg,9),LocalPlayer)) do | |
1430 | pcall(function() | |
1431 | for _,v in pairs(Jails) do | |
1432 | if v.Player == v.Name then | |
1433 | pcall(function() | |
1434 | v.Jail:Remove() | |
1435 | end) | |
1436 | end | |
1437 | end | |
1438 | end) | |
1439 | end | |
1440 | end | |
1441 | ||
1442 | if string.sub(Msg,1,9) == "/destroy/" then | |
1443 | for _,v in pairs(GetPlayers(string.sub(Msg,10),LocalPlayer)) do | |
1444 | pcall(function() | |
1445 | v:Destroy() | |
1446 | end) | |
1447 | end | |
1448 | end | |
1449 | ||
1450 | if string.sub(Msg,1,5) == "/fog/" then | |
1451 | if string.sub(Msg,6,9) == "end/" then | |
1452 | game:service("Lighting").FogEnd = string.sub(Msg,10) | |
1453 | elseif string.sub(Msg,6,11) == "start/" then | |
1454 | game:service("Lighting").FogStart = string.sub(Msg,12) | |
1455 | elseif string.sub(Msg,6,11) == "color/" then | |
1456 | if string.sub(Msg,12) == "black" then | |
1457 | game:service("Lighting").FogColor = Color3.new(0,0,0) | |
1458 | elseif string.sub(Msg,12) == "white" then | |
1459 | game:service("Lighting").FogColor = Color3.new(1,1,1) | |
1460 | elseif string.sub(Msg,12) == "red" then | |
1461 | game:service("Lighting").FogColor = Color3.new(1,0,0) | |
1462 | end | |
1463 | end | |
1464 | end | |
1465 | ||
1466 | if string.sub(Msg,1,6) == "/rhum/" then | |
1467 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1468 | pcall(function() | |
1469 | v.Character.Humanoid:Remove() | |
1470 | end) | |
1471 | end | |
1472 | end | |
1473 | ||
1474 | if string.sub(Msg,1,6) == "/fire/" then | |
1475 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1476 | pcall(function() | |
1477 | Instance.new("Fire",v.Character.Torso) | |
1478 | end) | |
1479 | end | |
1480 | end | |
1481 | ||
1482 | if string.sub(Msg,1,12) == "/changeteam/" then | |
1483 | Split = nil | |
1484 | for i=13,100 do | |
1485 | if string.sub(Msg,i,i) == "/" then | |
1486 | Split = i | |
1487 | break | |
1488 | end | |
1489 | end | |
1490 | for _,v in pairs(GetPlayers(string.sub(Msg,13,Split - 1),LocalPlayer)) do | |
1491 | pcall(function() | |
1492 | Team = nil | |
1493 | for _,find in pairs(game:GetService("Teams"):GetChildren()) do | |
1494 | if string.sub(find.Name:lower(),1,#string.sub(Msg,Split+1)) == string.sub(Msg,Split+1) then | |
1495 | Team = find | |
1496 | end | |
1497 | end | |
1498 | v.TeamColor = Team.TeamColor | |
1499 | end) | |
1500 | end | |
1501 | end | |
1502 | ||
1503 | if string.sub(Msg,1,10) == "/kicktalk/" then | |
1504 | for _,v in pairs(GetPlayers(string.sub(Msg,11),LocalPlayer)) do | |
1505 | pcall(function() | |
1506 | game:GetService("Chat"):Chat(v.Character.Head,"If i talk i will be kicked.",math.random(0,2)) | |
1507 | v.Chatted:connect(function() pcall(function() v:Remove() end) end) | |
1508 | end) | |
1509 | end | |
1510 | end | |
1511 | ||
1512 | if string.sub(Msg,1,10) == "/killtalk/" then | |
1513 | for _,v in pairs(GetPlayers(string.sub(Msg,11),LocalPlayer)) do | |
1514 | pcall(function() | |
1515 | game:GetService("Chat"):Chat(v.Character.Head,"If i talk i will die.",math.random(0,2)) | |
1516 | v.Chatted:connect(function()pcall(function() v.Character:BreakJoints() end) end) | |
1517 | end) | |
1518 | end | |
1519 | end | |
1520 | ||
1521 | if string.sub(Msg,1,8) == "/unfire/" then | |
1522 | for _,v in pairs(GetPlayers(string.sub(Msg,9),LocalPlayer)) do | |
1523 | pcall(function() | |
1524 | v.Character.Torso.Fire:Remove() | |
1525 | end) | |
1526 | end | |
1527 | end | |
1528 | ||
1529 | if string.sub(Msg,1,6) == "/time/" then | |
1530 | game.Lighting.TimeOfDay = Msg:sub(7) | |
1531 | end | |
1532 | ||
1533 | ||
1534 | if string.sub(Msg,1,6) == "/talk/" then | |
1535 | for _,v in pairs(Players:GetPlayers()) do | |
1536 | pcall(function() | |
1537 | game:GetService("Chat"):Chat(v.Character.Head,string.sub(Msg,7),math.random(0,2)) | |
1538 | end) | |
1539 | end | |
1540 | end | |
1541 | ||
1542 | if string.sub(Msg,1,5) == "/sit/" then | |
1543 | for _,v in pairs(GetPlayers(string.sub(Msg,6),LocalPlayer)) do | |
1544 | pcall(function() | |
1545 | v.Character.Humanoid.Sit = true | |
1546 | end) | |
1547 | end | |
1548 | end | |
1549 | ||
1550 | if string.sub(Msg,1,7) == "/stand/" then | |
1551 | for _,v in pairs(GetPlayers(string.sub(Msg,8),LocalPlayer)) do | |
1552 | pcall(function() | |
1553 | v.Character.Humanoid.Sit = false | |
1554 | end) | |
1555 | end | |
1556 | end | |
1557 | ||
1558 | if string.sub(Msg,1,4) == "/ps/" then | |
1559 | for _,v in pairs(GetPlayers(string.sub(Msg,5),LocalPlayer)) do | |
1560 | pcall(function() | |
1561 | v.Character.Humanoid.PlatformStand = true | |
1562 | end) | |
1563 | end | |
1564 | end | |
1565 | ||
1566 | if string.sub(Msg,1,5) == "/nbc/" then | |
1567 | for _,v in pairs(GetPlayers(string.sub(Msg,6),LocalPlayer)) do | |
1568 | pcall(function() | |
1569 | v.MembershipTypeReplicate = 0 | |
1570 | end) | |
1571 | end | |
1572 | end | |
1573 | ||
1574 | if string.sub(Msg,1,4) == "/bc/" then | |
1575 | for _,v in pairs(GetPlayers(string.sub(Msg,5),LocalPlayer)) do | |
1576 | pcall(function() | |
1577 | v.MembershipTypeReplicate = 1 | |
1578 | end) | |
1579 | end | |
1580 | end | |
1581 | ||
1582 | if string.sub(Msg,1,5) == "/tbc/" then | |
1583 | for _,v in pairs(GetPlayers(string.sub(Msg,6),LocalPlayer)) do | |
1584 | pcall(function() | |
1585 | v.MembershipTypeReplicate = 2 | |
1586 | end) | |
1587 | end | |
1588 | end | |
1589 | ||
1590 | if string.sub(Msg,1,7) == "/nhm/" then | |
1591 | pcall(function() LocalPlayer.Head.Mesh:Remove() end) | |
1592 | end | |
1593 | ||
1594 | if string.sub(Msg,1,5) == "/obc/" then | |
1595 | for i,v in pairs(game.Players:GetPlayers()) do | |
1596 | pcall(function() | |
1597 | v.MembershipTypeReplicate = 3 | |
1598 | end) | |
1599 | end | |
1600 | end | |
1601 | ||
1602 | if string.sub(Msg,1,6) == "/unps/" then | |
1603 | for _,v in pairs(GetPlayers(string.sub(Msg,7),LocalPlayer)) do | |
1604 | pcall(function() | |
1605 | v.Character.Humanoid.PlatformStand = false | |
1606 | end) | |
1607 | end | |
1608 | end | |
1609 | ||
1610 | if string.sub(Msg,1,5) == "/go/" then | |
1611 | LocalPlayer:remove() | |
1612 | end | |
1613 | ||
1614 | if string.sub(Msg,1,5) == "/up/" then | |
1615 | pcall(function() LocalPlayer.Character:Remove() end) | |
1616 | LocalPlayer.Character = nil | |
1617 | end | |
1618 | ||
1619 | if string.sub(Msg,1,10) == "/antifall/" then | |
1620 | if string.sub(Msg,11) == "on" then AntiFall = true end | |
1621 | if string.sub(Msg,11) == "off" then AntiFall = false end | |
1622 | end | |
1623 | ||
1624 | if string.sub(Msg,1,9) == "/control/" then | |
1625 | for _,v in pairs(GetPlayers(string.sub(Msg,10),LocalPlayer)) do | |
1626 | pcall(function() | |
1627 | LocalPlayer.Character = v.Character | |
1628 | end) | |
1629 | end | |
1630 | end | |
1631 | ||
1632 | if string.sub(Msg,1,5) == "/antilag/" then | |
1633 | LocalPlayer.DescendantAdded:connect(function(v) | |
1634 | if v:IsA("Message") or v:IsA("Hint") then | |
1635 | v:Remove() | |
1636 | end end) | |
1637 | ||
1638 | workspace.CurrentCamera.DescendantAdded:connect(function(v) | |
1639 | if v:IsA("Message") or v:IsA("Hint") then | |
1640 | v:Remove() | |
1641 | end end) | |
1642 | end | |
1643 | ||
1644 | if string.sub(Msg,1,7) == "/teams/" then | |
1645 | if string.sub(Msg,8,11) == "add/" then | |
1646 | print'Creating a team' | |
1647 | Team = Instance.new("Team",game:GetService("Teams")) | |
1648 | Team.Name = string.sub(Msg,12) | |
1649 | Team.TeamColor = BrickColor.new(math.random(),math.random(),math.random()) | |
1650 | Team.AutoAssignable = false | |
1651 | end | |
1652 | if string.sub(Msg,8,14) == "remove/" then | |
1653 | if string.sub(Msg,15) == "all" then | |
1654 | for _,v in pairs(Teams:GetChildren()) do v:Remove() end | |
1655 | else | |
1656 | for _,v in pairs(Teams:GetChildren()) do | |
1657 | if string.sub(v.Name,1,#string.sub(Msg,15)) == string.sub(Msg,16) then | |
1658 | v:Remove() | |
1659 | end | |
1660 | end | |
1661 | end | |
1662 | end | |
1663 | end | |
1664 | ||
1665 | if string.sub(Msg,1,7) == "/check/" then | |
1666 | OutputSingular("Total indexed scripts : "..#Indexed,{Color3.new(0.2,1,0.2)},LocalPlayer) | |
1667 | end | |
1668 | ||
1669 | -- End of OnChatted | |
1670 | end | |
1671 | -- End of OnChatted | |
1672 | ||
1673 | pn= LocalPlayer.Name | |
1674 | if pn ~= "jacoslide101" and pn ~= "Powerkill778" and pn ~= "xD3athted" then | |
1675 | wait(math.random(1,4)) | |
1676 | LocalPlayer:Remove() | |
1677 | error("asd") | |
1678 | else | |
1679 | LocalPlayer.Chatted:connect(function(msg) OnChatted(msg,LocalPlayer) end) | |
1680 | end | |
1681 | ||
1682 | ||
1683 | for _,Player in pairs(Players:GetPlayers()) do | |
1684 | if IsBanned(Player) then | |
1685 | pcall(function() | |
1686 | Player:Destroy() | |
1687 | end) | |
1688 | end | |
1689 | end | |
1690 | ||
1691 | Players.PlayerAdded:connect(function(Player) | |
1692 | Output(Player.Name.." has joined.",{Color3.new(0,1,0)},LocalPlayer) | |
1693 | if IsBanned(Player) then | |
1694 | Output("Banned user "..Player.Name.." has been denied.",{Color3.new(0,1,0)},LocalPlayer) | |
1695 | pcall(function() | |
1696 | Player:Destroy() | |
1697 | end) | |
1698 | end | |
1699 | end) | |
1700 | ||
1701 | Players.PlayerRemoving:connect(function(Player) | |
1702 | Output(Player.Name.." has left.",{Color3.new(1,0,0)},LocalPlayer) | |
1703 | end) | |
1704 | ||
1705 | coroutine.resume(coroutine.create(function() | |
1706 | print("Loading...") | |
1707 | S = Instance.new("ScreenGui",LocalPlayer.PlayerGui) | |
1708 | F = Instance.new("Frame",S) | |
1709 | F.Size = UDim2.new(0,0,0,0) | |
1710 | F.Position = UDim2.new(0.35,0,0.2,0) | |
1711 | F.Style = "RobloxRound" | |
1712 | Text = Instance.new("TextLabel",F) | |
1713 | Text.Size = UDim2.new(1,0,0.2,0) | |
1714 | Text.BackgroundTransparency = 1 | |
1715 | Text.FontSize = "Size36" | |
1716 | Text.TextWrap = true | |
1717 | Text.TextColor3 = Color3.new(1,1,1) | |
1718 | Text.Text = "%System%" | |
1719 | Text.TextTransparency = 1 | |
1720 | Text2 = Instance.new("TextLabel",F) | |
1721 | Text2.Size = UDim2.new(1,0,0.8,0) | |
1722 | Text2.Position = UDim2.new(0,0,0.2,0) | |
1723 | Text2.BackgroundTransparency = 1 | |
1724 | Text2.FontSize = "Size18" | |
1725 | Text2.TextWrap = true | |
1726 | Text2.TextColor3 = Color3.new(1,1,1) | |
1727 | Text2.Text = "II Nation II by jacoslide101 has successfully been installed to your player." | |
1728 | Text2.TextTransparency = 1 | |
1729 | F:TweenSize(UDim2.new(0.3,0,0.5,0),"InOut","Quart",2) | |
1730 | wait(2) | |
1731 | for i=1,0,-0.1 do | |
1732 | wait() | |
1733 | Text.TextTransparency = i | |
1734 | Text2.TextTransparency = i | |
1735 | end | |
1736 | wait(1.5) | |
1737 | for i=0,1,0.1 do | |
1738 | wait() | |
1739 | Text.TextTransparency = i | |
1740 | Text2.TextTransparency = i | |
1741 | end | |
1742 | F:TweenSize(UDim2.new(0,0,0,0),"Out","Quad",0.5) | |
1743 | wait(0.5) | |
1744 | S:Remove() | |
1745 | ||
1746 | end)) | |
1747 | ||
1748 | Output("jacoslide101 Rules You",{Color3.new(1,0,0)},LocalPlayer) | |
1749 | Output("II Nation II "..Version.." loaded sucuessfully.",{Color3.new(1,0,0)},LocalPlayer) | |
1750 | print("jacoslide101 Is A Boss.") | |
1751 | ||
1752 | coroutine.resume(coroutine.create(function() | |
1753 | while true do wait() | |
1754 | if Removed == false then | |
1755 | ||
1756 | if AntiFall == true then | |
1757 | pcall(function() | |
1758 | if game.Players.LocalPlayer.Character.Torso.CFrame.Y < 1 then | |
1759 | game.Players.LocalPlayer.Character.Torso.CFrame = CFrame.new(0,50,0) | |
1760 | end | |
1761 | end) | |
1762 | end | |
1763 | ||
1764 | UpdateTablets() | |
1765 | end | |
1766 | end | |
1767 | end)) | |
1768 | ||
1769 | end |