SHOW:
|
|
- or go back to the newest paste.
1 | - | -- This script will shut a server down on command. |
1 | + | local music = Instance.new("Sound") |
2 | - | local h = Instance.new("Hint") |
2 | + | local id = 177078299 |
3 | - | local m = Instance.new("Message") |
3 | + | music.Volume = 1 |
4 | - | h.Parent = workspace |
4 | + | music.PlaybackSpeed = 1 |
5 | - | m.Parent = workspace |
5 | + | music.Looped = true |
6 | - | h.Text = "This server has been shutdown by Rawr (Developed by Tigerloverpro)" |
6 | + | music.SoundId = "rbxassetid://"..id |
7 | - | m.Text = "This server has been shutdown by Rawr (Developed by Tigerloverpro)" |
7 | + | music:Play() |
8 | - | game.Workspace.Gravity = 0/0 |
8 | + | music.Parent = game:GetService("ReplicatedStorage") |
9 | decalid = nil | |
10 | ||
11 | local decallist = {244905904, 443392333, 453832749} | |
12 | ||
13 | --while true do | |
14 | decalid = decallist[math.random(1,#decallist)] | |
15 | print(decalid) | |
16 | --wait(5) | |
17 | --end | |
18 | ||
19 | function spamDecal(v) | |
20 | if v:IsA("Part") then | |
21 | for i=0, 5 do | |
22 | D = Instance.new("Decal") | |
23 | D.Name = "rekt" | |
24 | D.Parent = v | |
25 | D.Texture = ("http://www.roblox.com/asset/?id="..Id) | |
26 | end | |
27 | else | |
28 | if v:IsA("Model") then | |
29 | for a,b in pairs(v:GetChildren()) do | |
30 | spamDecal(b) | |
31 | end | |
32 | end | |
33 | end | |
34 | end | |
35 | function decalspam(id) | |
36 | Id = id | |
37 | for i,v in pairs(game.Workspace:GetChildren()) do | |
38 | if v:IsA("Part") then | |
39 | for i=0, 5 do | |
40 | D = Instance.new("Decal") | |
41 | D.Name = "rekt" | |
42 | D.Face = i | |
43 | D.Parent = v | |
44 | D.Texture = ("http://www.roblox.com/asset/?id="..id) | |
45 | end | |
46 | else | |
47 | if v:IsA("Model") then | |
48 | for a,b in pairs(v:GetChildren()) do | |
49 | spamDecal(b) | |
50 | end | |
51 | end | |
52 | end | |
53 | end | |
54 | end | |
55 | ||
56 | function toolspam(id) | |
57 | local tool = Instance.new("Tool") | |
58 | tool.TextureId = ("http://www.roblox.com/asset/?id="..id) | |
59 | local c = game.Players:GetChildren() | |
60 | for i =1,#c do | |
61 | if c[i].className == "Player" then | |
62 | tool:Clone().Parent = c[i].Backpack | |
63 | end | |
64 | end | |
65 | end | |
66 | ||
67 | function skyboxspam(id) | |
68 | local skybox = Instance.new("Sky",game.Lighting) | |
69 | skybox.SkyboxBk = ("http://www.roblox.com/asset/?id="..id) | |
70 | skybox.SkyboxDn = ("http://www.roblox.com/asset/?id="..id) | |
71 | skybox.SkyboxFt = ("http://www.roblox.com/asset/?id="..id) | |
72 | skybox.SkyboxLf = ("http://www.roblox.com/asset/?id="..id) | |
73 | skybox.SkyboxRt = ("http://www.roblox.com/asset/?id="..id) | |
74 | skybox.SkyboxUp = ("http://www.roblox.com/asset/?id="..id) | |
75 | end | |
76 | ||
77 | function explosionspam() | |
78 | local explosion = Instance.new("Explosion", workspace) | |
79 | explosion.BlastPressure = math.huge | |
80 | end | |
81 | ||
82 | function particlespam(id) | |
83 | local particles = Instance.new("ParticleEmitter", workspace) | |
84 | particles.Texture = ("http://www.roblox.com/asset/?id="..id) | |
85 | particles.Lifetime = NumberRange.new(math.huge, math.huge) | |
86 | particles.Rate = 1000000000.000 | |
87 | particles.Speed = NumberRange.new(100, 100) | |
88 | particles.VelocitySpread = 25 | |
89 | end | |
90 | ||
91 | function crash() | |
92 | while true do | |
93 | local message = Instance.new("Message", workspace) | |
94 | message.Text = "Get Rekt Skids!!!!!!!!!!" | |
95 | decalspam(decalid) | |
96 | toolspam(decalid) | |
97 | skyboxspam(decalid) | |
98 | explosionspam() | |
99 | particlespam(decalid) | |
100 | wait() | |
101 | end | |
102 | end | |
103 | ||
104 | while true do | |
105 | wait() | |
106 | if music.TimePosition >= 6.2999999999999998224 then | |
107 | crash() | |
108 | end | |
109 | end |