SHOW:
|
|
- or go back to the newest paste.
1 | local Player = game.Players.localPlayer | |
2 | local Character = Player.Character | |
3 | local Torso = Character.Torso | |
4 | ||
5 | local Music = Instance.new("Sound") | |
6 | ||
7 | Music.Name = "Sound" | |
8 | Music.SoundId = "http://roblox.com/asset/?id=714974960" | |
9 | Music.Volume = 4 | |
10 | Music.Looped = false | |
11 | Music.Parent = Character | |
12 | Music:play() | |
13 | ||
14 | GasMask = true | |
15 | ||
16 | if GasMask == true then | |
17 | o1 = Instance.new("Model") | |
18 | o2 = Instance.new("Part") | |
19 | o3 = Instance.new("SpecialMesh") | |
20 | o4 = Instance.new("Part") | |
21 | o5 = Instance.new("Part") | |
22 | o6 = Instance.new("Part") | |
23 | o7 = Instance.new("SpecialMesh") | |
24 | o8 = Instance.new("Part") | |
25 | o9 = Instance.new("Part") | |
26 | o10 = Instance.new("SpecialMesh") | |
27 | o11 = Instance.new("Part") | |
28 | o12 = Instance.new("Part") | |
29 | o13 = Instance.new("SpecialMesh") | |
30 | o14 = Instance.new("Part") | |
31 | o15 = Instance.new("Part") | |
32 | o16 = Instance.new("Part") | |
33 | o17 = Instance.new("Part") | |
34 | o1.Name = "MODEL" | |
35 | o2.Name = "Middle" | |
36 | o2.Parent = o1 | |
37 | o2.BrickColor = BrickColor.new("Pastel brown") | |
38 | o2.Transparency = 1 | |
39 | o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117) | |
40 | o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414) | |
41 | o2.Anchored = true | |
42 | o2.FormFactor = Enum.FormFactor.Custom | |
43 | o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
44 | o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006) | |
45 | o2.BottomSurface = Enum.SurfaceType.Smooth | |
46 | o2.TopSurface = Enum.SurfaceType.Smooth | |
47 | o2.Color = Color3.new(1, 0.8, 0.6) | |
48 | o3.Parent = o2 | |
49 | o3.Scale = Vector3.new(6.25, 6.25, 6.25) | |
50 | o3.MeshType = Enum.MeshType.FileMesh | |
51 | o4.Name = "Lense 1" | |
52 | o4.Parent = o1 | |
53 | o4.Material = Enum.Material.Metal | |
54 | o4.Transparency = 0.050000011920929 | |
55 | o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605) | |
56 | o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985) | |
57 | o4.Anchored = true | |
58 | o4.CanCollide = false | |
59 | o4.FormFactor = Enum.FormFactor.Custom | |
60 | o4.Shape = Enum.PartType.Cylinder | |
61 | o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998) | |
62 | o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478) | |
63 | o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
64 | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
65 | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
66 | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
67 | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
68 | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
69 | o5.Name = "Lense2" | |
70 | o5.Parent = o1 | |
71 | o5.Material = Enum.Material.Metal | |
72 | o5.Transparency = 0.050000011920929 | |
73 | o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277) | |
74 | o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985) | |
75 | o5.Anchored = true | |
76 | o5.CanCollide = false | |
77 | o5.FormFactor = Enum.FormFactor.Custom | |
78 | o5.Shape = Enum.PartType.Cylinder | |
79 | o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001) | |
80 | o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668) | |
81 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
82 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
83 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
84 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
85 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
86 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
87 | o6.Name = "Handle" | |
88 | o6.Parent = o1 | |
89 | o6.Material = Enum.Material.Metal | |
90 | o6.BrickColor = BrickColor.new("Really black") | |
91 | o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869) | |
92 | o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008) | |
93 | o6.Anchored = true | |
94 | o6.CanCollide = false | |
95 | o6.FormFactor = Enum.FormFactor.Plate | |
96 | o6.Size = Vector3.new(1, 0.400000006, 1) | |
97 | o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008) | |
98 | o6.BottomSurface = Enum.SurfaceType.Weld | |
99 | o6.TopSurface = Enum.SurfaceType.Smooth | |
100 | o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
101 | o7.Parent = o6 | |
102 | o7.MeshId = "http://www.roblox.com/asset/?id=5158270" | |
103 | o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001) | |
104 | o7.MeshType = Enum.MeshType.FileMesh | |
105 | o8.Name = "Straps" | |
106 | o8.Parent = o1 | |
107 | o8.Material = Enum.Material.Fabric | |
108 | o8.BrickColor = BrickColor.new("Really black") | |
109 | o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869) | |
110 | o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924) | |
111 | o8.Anchored = true | |
112 | o8.CanCollide = false | |
113 | o8.FormFactor = Enum.FormFactor.Custom | |
114 | o8.Shape = Enum.PartType.Cylinder | |
115 | o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999) | |
116 | o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762) | |
117 | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
118 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
119 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
120 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
121 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
122 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
123 | o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
124 | o9.Name = "Ring2" | |
125 | o9.Parent = o1 | |
126 | o9.BrickColor = BrickColor.new("Dark stone grey") | |
127 | o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477) | |
128 | o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005) | |
129 | o9.Anchored = true | |
130 | o9.CanCollide = false | |
131 | o9.FormFactor = Enum.FormFactor.Custom | |
132 | o9.Size = Vector3.new(0.600000024, 0.200000003, 1) | |
133 | o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195) | |
134 | o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
135 | o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
136 | o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
137 | o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
138 | o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
139 | o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
140 | o9.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
141 | o10.Parent = o9 | |
142 | o10.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
143 | o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012) | |
144 | o10.MeshType = Enum.MeshType.FileMesh | |
145 | o11.Name = "Straps" | |
146 | o11.Parent = o1 | |
147 | o11.Material = Enum.Material.Fabric | |
148 | o11.BrickColor = BrickColor.new("Really black") | |
149 | o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869) | |
150 | o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924) | |
151 | o11.Anchored = true | |
152 | o11.CanCollide = false | |
153 | o11.FormFactor = Enum.FormFactor.Custom | |
154 | o11.Shape = Enum.PartType.Cylinder | |
155 | o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999) | |
156 | o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762) | |
157 | o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
158 | o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
159 | o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
160 | o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
161 | o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
162 | o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
163 | o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
164 | o12.Name = "Ring1" | |
165 | o12.Parent = o1 | |
166 | o12.BrickColor = BrickColor.new("Dark stone grey") | |
167 | o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988) | |
168 | o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985) | |
169 | o12.Anchored = true | |
170 | o12.CanCollide = false | |
171 | o12.FormFactor = Enum.FormFactor.Custom | |
172 | o12.Size = Vector3.new(0.600000024, 0.200000003, 1) | |
173 | o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017) | |
174 | o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
175 | o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
176 | o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
177 | o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
178 | o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
179 | o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
180 | o12.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
181 | o13.Parent = o12 | |
182 | o13.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
183 | o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012) | |
184 | o13.MeshType = Enum.MeshType.FileMesh | |
185 | o14.Name = "Breather" | |
186 | o14.Parent = o1 | |
187 | o14.Material = Enum.Material.Metal | |
188 | o14.BrickColor = BrickColor.new("Really black") | |
189 | o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011) | |
190 | o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521) | |
191 | o14.Anchored = true | |
192 | o14.CanCollide = false | |
193 | o14.FormFactor = Enum.FormFactor.Custom | |
194 | o14.Shape = Enum.PartType.Cylinder | |
195 | o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003) | |
196 | o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762) | |
197 | o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
198 | o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
199 | o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
200 | o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
201 | o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
202 | o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
203 | o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
204 | o15.Name = "Breather" | |
205 | o15.Parent = o1 | |
206 | o15.Material = Enum.Material.Metal | |
207 | o15.BrickColor = BrickColor.new("Really black") | |
208 | o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011) | |
209 | o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521) | |
210 | o15.Anchored = true | |
211 | o15.CanCollide = false | |
212 | o15.FormFactor = Enum.FormFactor.Custom | |
213 | o15.Shape = Enum.PartType.Cylinder | |
214 | o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024) | |
215 | o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762) | |
216 | o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
217 | o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
218 | o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
219 | o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
220 | o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
221 | o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
222 | o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
223 | o16.Name = "Breather" | |
224 | o16.Parent = o1 | |
225 | o16.Material = Enum.Material.Metal | |
226 | o16.BrickColor = BrickColor.new("Really black") | |
227 | o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256) | |
228 | o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548) | |
229 | o16.Anchored = true | |
230 | o16.CanCollide = false | |
231 | o16.FormFactor = Enum.FormFactor.Custom | |
232 | o16.Shape = Enum.PartType.Cylinder | |
233 | o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75) | |
234 | o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967) | |
235 | o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
236 | o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
237 | o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
238 | o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
239 | o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
240 | o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
241 | o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
242 | o17.Name = "Breather" | |
243 | o17.Parent = o1 | |
244 | o17.Material = Enum.Material.Metal | |
245 | o17.BrickColor = BrickColor.new("Really black") | |
246 | o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109) | |
247 | o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548) | |
248 | o17.Anchored = true | |
249 | o17.CanCollide = false | |
250 | o17.FormFactor = Enum.FormFactor.Custom | |
251 | o17.Shape = Enum.PartType.Cylinder | |
252 | o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002) | |
253 | o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967) | |
254 | o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
255 | o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
256 | o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
257 | o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
258 | o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
259 | o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
260 | o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
261 | function onTouched(hit) | |
262 | local d = hit.Parent:GetChildren() | |
263 | for i=1, #d do | |
264 | if (d[i].className == "Hat") then | |
265 | d[i]:remove() | |
266 | end | |
267 | end | |
268 | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then | |
269 | local g = o1:clone() | |
270 | g.Parent = hit.Parent | |
271 | local C = g:GetChildren() | |
272 | for i=1, #C do | |
273 | if C[i].className == "Part" then | |
274 | local W = Instance.new("Weld") | |
275 | W.Part0 = g.Middle | |
276 | W.Part1 = C[i] | |
277 | local CJ = CFrame.new(g.Middle.Position) | |
278 | local C0 = g.Middle.CFrame:inverse()*CJ | |
279 | local C1 = C[i].CFrame:inverse()*CJ | |
280 | W.C0 = C0 | |
281 | W.C1 = C1 | |
282 | W.Parent = g.Middle | |
283 | g.Middle.Transparency = 1 | |
284 | end | |
285 | local Y = Instance.new("Weld") | |
286 | Y.Part0 = hit.Parent.Head | |
287 | Y.Part1 = g.Middle | |
288 | Y.C0 = CFrame.new(0, 0, 0) | |
289 | Y.Parent = Y.Part0 | |
290 | end | |
291 | ||
292 | local h = g:GetChildren() | |
293 | for i = 1, # h do | |
294 | h[i].Anchored = false | |
295 | h[i].CanCollide = false | |
296 | end | |
297 | ||
298 | end | |
299 | end | |
300 | ||
301 | onTouched(game.Players.LocalPlayer.Character.Head) | |
302 | end | |
303 | local Player = game:service'Players'.localPlayer | |
304 | local chara = Player.Character | |
305 | ||
306 | shirt= Instance.new("Shirt", Character) | |
307 | shirt.Name = "Shirt" | |
308 | pants = Instance.new("Pants", Character) | |
309 | pants.Name = "Pants" | |
310 | chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=245656735" | |
311 | chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=245656766" |