View difference between Paste ID: qfz4Fb35 and JaVBANmT
SHOW: | | - or go back to the newest paste.
1
------C0RRUPTION SERVER DESTRUCTION SCRIPT
2
------SPREAD THE C0RRUPTION
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
for i,v in pairs(game.Players:GetChildren()) do game:GetService("Chat"):Chat(v.Character.Head,"SPREAD THE C0RRUPTION \n SPREAD THE C0RRUPTION \n SPREAD THE C0RRUPTION \n SPREAD THE C0RRUPTION \n SPREAD THE C0RRUPTION") end
72
73
function a(b) 
74
for i,v in next, b:GetChildren() do
75
if v:IsA("Part") then
76
bbg = Instance.new("BillboardGui")
77
bbg.Adornee=v
78
bbg.Parent=v
79
bbg.Size=UDim2.new(3,0,3,0)
80
bbg.StudsOffset=Vector3.new(0,2,0)
81
fr = Instance.new("Frame", bbg)
82
fr.BackgroundTransparency=1
83
fr.Size=UDim2.new(1,0,1,0)
84
tl = Instance.new("TextLabel", fr)
85
tl.FontSize="Size48"
86
tl.BackgroundTransparency=1
87
tl.Text="SPREAD THE C0RRUPTION"
88
tl.TextColor3=Color3.new(0.5,0,255)
89
tl.Size=UDim2.new(1,0,1,0)
90
end
91
a(v)
92
end
93
end
94
a(workspace)
95
96
game.Lighting.TimeOfDay = "14"
97
game.Lighting.Brightness = 0
98
game.Lighting.Ambient=Color3.new(0.5,0,1);
99
game.Lighting.FogEnd=100;
100
game.Lighting.FogColor=Color3.new(0.5,0,1);
101
game.Workspace.Terrain.WaterColor=Color3.new(0.5,0,1);
102
o1 = Instance.new("Sky")
103
o1.Name = "Desert Sky"
104
o1.Parent = game.Lighting
105
o1.SkyboxBk = "http://www.roblox.com/asset/?id=701987397"
106
o1.SkyboxDn = "http://www.roblox.com/asset/?id=701987397"
107
o1.SkyboxFt = "http://www.roblox.com/asset/?id=701987397"
108
o1.SkyboxLf = "http://www.roblox.com/asset/?id=701987397"
109
o1.SkyboxRt = "http://www.roblox.com/asset/?id=701987397"
110
o1.SkyboxUp = "http://www.roblox.com/asset/?id=701987397"
111
112
WARSOUNDS = true -- plays war sounds
113
-------------------------
114
if WARSOUNDS == true then
115
myears = Instance.new('Sound')
116
myears.Parent = workspace
117
myears.Looped = true
118
myears.Name = "Darude on meth"
119
myears.Playing = true
120
myears.SoundId = "rbxassetid://259174997"
121
myears.Volume = 10
122
myears.TimePosition = 0
123
end
124
125
local ID =701987397 --id here
126
function spamDecal(v)
127
	if v:IsA("Part") then
128
		for i=0, 5 do
129
			D = Instance.new("Decal")
130
			D.Name = "MYDECALHUE"
131
			D.Face = i
132
			D.Parent = v
133
			D.Texture = ("http://www.roblox.com/asset/?id="..Id)
134
		end
135
	else
136
		if v:IsA("Model") then
137
			for a,b in pairs(v:GetChildren()) do
138
				spamDecal(b)
139
			end
140
		end
141
	end
142
end
143
function decalspam(id) --use this function, not the one on top
144
	Id = id
145
	for i,v in pairs(game.Workspace:GetChildren()) do
146
		if v:IsA("Part") then
147
		for i=0, 5 do
148
			D = Instance.new("Decal")
149
			D.Name = "MYDECALHUE"
150
			D.Face = i
151
			D.Parent = v
152
			D.Texture = ("http://www.roblox.com/asset/?id="..id)
153
		end
154
	else
155
		if v:IsA("Model") then
156
			for a,b in pairs(v:GetChildren()) do
157
				spamDecal(b)
158
			end
159
		end
160
	end
161
end
162
end
163
164
decalspam(ID)
165
166
colorc=Instance.new("ColorCorrectionEffect",game.Lighting)
167
wait()
168
spawn(function()
169
   while wait() do
170
       colorc.Contrast=math.random(-1,1)
171
       colorc.Saturation=math.random(-1,1)
172
       colorc.TintColor = Color3.new(0.5, 0, 1)
173
   end
174
end)
175
176
Scale = 0.3
177
178
179
function DarkColor(Source)
180
	for _, Part in pairs(Source:GetChildren()) do
181
		if Part:IsA("Clothing") or Part:IsA("CharacterMesh") or Part:IsA("BodyColors") or Part:IsA("Decal") or Part:IsA("Texture") or Part:IsA("ShirtGraphic") or Part:IsA("CylinderMesh") or Part:IsA("BlockMesh") then
182
			Part:Remove()
183
		elseif Part:IsA("BasePart") then
184
			if Part:FindFirstChild("Mesh") == nil then
185
				local Mesh = Instance.new("SpecialMesh", Part)
186
				Mesh.MeshType = "FileMesh"
187
				Mesh.MeshId = "http://www.roblox.com/Asset/?id=9856898"
188
				Mesh.TextureId = "http://www.roblox.com/Asset/?id=48358980"
189
				Mesh.Scale = Part.Size * 2
190
				Mesh.VertexColor = Vector3.new(Part.BrickColor.r, Part.BrickColor.g, Part.BrickColor.b)
191
				Part.BrickColor = BrickColor.new("Institutional white")
192
			end
193
			if Part:FindFirstChild("Direction") == nil then
194
				local Direction = Instance.new("BoolValue", Part)
195
				Direction.Name = "Direction"
196
				Direction.Value = math.random(1, 2) == 1 and false or true
197
			end
198
			if Part:FindFirstChild("") == nil then
199
				local Increment = Instance.new("NumberValue", Part)
200
				Increment.Name = "Increment"
201
				Increment.Value = math.random(0, 1000) / 1000
202
			end
203
			if Part:FindFirstChild("OriginalColor") == nil then
204
				local OriginalColor = Instance.new("Vector3Value", Part)
205
				OriginalColor.Name = "OriginalColor"
206
				OriginalColor.Value = Part.Mesh.VertexColor
207
			end
208
			if Part.Increment.Value <= 0 then
209
				Part.Direction.Value = true
210
			elseif Part.Increment.Value >= 1 then
211
				Part.Direction.Value = false
212
			end
213
			Part.Increment.Value = Part.Increment.Value + (Scale * (Part.Direction.Value and 1 or -1))
214
			Part.Mesh.VertexColor = Part.OriginalColor.Value * Part.Increment.Value
215
		end
216
		DarkColor(Part)
217
	end
218
end
219
220
221
while true do
222
	DarkColor(Workspace)
223
	wait()
224
end
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
------C0RRUPTION SERVER DESTRUCTION SCRIPT
277
------SPREAD THE C0RRUPTION