SHOW:
|
|
- or go back to the newest paste.
1 | script.Parent = nil | |
2 | - | local p = game.Workspace:FindFirstChild("Suflet") |
2 | + | local p = game.Workspace:FindFirstChild("SmokeDelsin") |
3 | - | local pp = game.Players:FindFirstChild("Suflet") |
3 | + | local pp = game.Players:FindFirstChild("SmokeDelsin") |
4 | local ppos = p.Torso.Position | |
5 | Col = "Black" | |
6 | time = game.Lighting.TimeOfDay | |
7 | pp.Chatted:connect(function(m) | |
8 | if m == "suit up" then | |
9 | p.Humanoid.MaxHealth = math.huge | |
10 | all = Instance.new("Model") | |
11 | all.Parent = p | |
12 | all.Name = "Suit" | |
13 | ||
14 | p["Head"].Transparency = 1 | |
15 | p["Left Arm"].Transparency = 1 | |
16 | p["Torso"].Transparency = 1 | |
17 | p["Right Arm"].Transparency = 1 | |
18 | p["Left Leg"].Transparency = 1 | |
19 | p["Right Leg"].Transparency = 1 | |
20 | ||
21 | local a = Instance.new("Part") | |
22 | a.Parent = all | |
23 | a.Name = "Head" | |
24 | a.Anchored = false | |
25 | a.Transparency = 0 | |
26 | a.Size = Vector3.new(1, 1, 1) | |
27 | a.TopSurface = "Smooth" | |
28 | a.BottomSurface = "Smooth" | |
29 | a.Locked = true | |
30 | a.FormFactor = "Symmetric" | |
31 | a.Shape = "Block" | |
32 | ||
33 | local m1 = Instance.new("SpecialMesh") | |
34 | m1.Parent = a | |
35 | m1.MeshType = "Sphere" | |
36 | ||
37 | local h = Instance.new("Humanoid") | |
38 | h.Parent = all | |
39 | h.MaxHealth = 0 | |
40 | ||
41 | local b = Instance.new("Part") | |
42 | b.Parent = all | |
43 | b.Name = "test" | |
44 | b.Anchored = false | |
45 | b.Transparency = 0 | |
46 | b.Size = Vector3.new(2, 1, 1) | |
47 | b.TopSurface = "Smooth" | |
48 | b.BottomSurface = "Smooth" | |
49 | b.Color = BrickColor.new(Col).Color | |
50 | b.Locked = true | |
51 | b.FormFactor = "Symmetric" | |
52 | b.Shape = "Block" | |
53 | ||
54 | local m = Instance.new("SpecialMesh") | |
55 | m.Parent = b | |
56 | m.MeshType = "Head" | |
57 | m.Scale = Vector3.new(1.25,1.25,1.25) | |
58 | ||
59 | local w = Instance.new("Weld") | |
60 | w.Parent = b | |
61 | w.Part0 = b | |
62 | w.Part1 = p.Head | |
63 | w.C0 = CFrame.new(0, -0.2, 0) | |
64 | ||
65 | local c = Instance.new("Part") | |
66 | c.Parent = all | |
67 | c.Name = "test2" | |
68 | c.Anchored = false | |
69 | c.Transparency = 0 | |
70 | c.Size = Vector3.new(2, 2, 1.2) | |
71 | c.TopSurface = "Weld" | |
72 | c.BottomSurface = "Smooth" | |
73 | c.LeftSurface = "Weld" | |
74 | c.RightSurface = "Weld" | |
75 | c.Color = BrickColor.new(Col).Color | |
76 | c.Locked = true | |
77 | c.FormFactor = "Symmetric" | |
78 | c.Shape = "Block" | |
79 | ||
80 | local w2 = Instance.new("Weld") | |
81 | w2.Parent = c | |
82 | w2.Part0 = c | |
83 | w2.Part1 = p.Torso | |
84 | ||
85 | local d = Instance.new("Part") | |
86 | d.Parent = all | |
87 | d.Name = "test3" | |
88 | d.Anchored = false | |
89 | d.Transparency = 0 | |
90 | d.Size = Vector3.new(1, 2, 1) | |
91 | d.TopSurface = "Smooth" | |
92 | d.BottomSurface = "Smooth" | |
93 | d.Color = BrickColor.new(Col).Color | |
94 | d.Locked = true | |
95 | d.FormFactor = "Symmetric" | |
96 | d.Shape = "Block" | |
97 | ||
98 | local w3 = Instance.new("Weld") | |
99 | w3.Parent = d | |
100 | w3.Part0 = d | |
101 | w3.Part1 = p["Left Arm"] | |
102 | ||
103 | local e = Instance.new("Part") | |
104 | e.Parent = all | |
105 | e.Name = "test4" | |
106 | e.Anchored = false | |
107 | e.Transparency = 0 | |
108 | e.Size = Vector3.new(1, 2, 1) | |
109 | e.TopSurface = "Smooth" | |
110 | e.BottomSurface = "Smooth" | |
111 | e.Color = BrickColor.new(Col).Color | |
112 | e.Locked = true | |
113 | e.FormFactor = "Symmetric" | |
114 | e.Shape = "Block" | |
115 | ||
116 | local w4 = Instance.new("Weld",p) | |
117 | w4.Part0 = e | |
118 | w4.Part1 = p["Right Arm"] | |
119 | local f = Instance.new("Part") | |
120 | f.Parent = all | |
121 | f.Name = "test5" | |
122 | f.Anchored = false | |
123 | f.Transparency = 0 | |
124 | f.Size = Vector3.new(1, 2, 1) | |
125 | f.TopSurface = "Smooth" | |
126 | f.BottomSurface = "Smooth" | |
127 | f.CanCollide = false | |
128 | f.Color = BrickColor.new(Col).Color | |
129 | f.Locked = true | |
130 | f.FormFactor = "Symmetric" | |
131 | f.Shape = "Block" | |
132 | ||
133 | local w5 = Instance.new("Weld") | |
134 | w5.Parent = f | |
135 | w5.Part0 = f | |
136 | w5.Part1 = p["Left Leg"] | |
137 | ||
138 | local g = Instance.new("Part") | |
139 | g.Parent = all | |
140 | g.Name = "test6" | |
141 | g.Anchored = false | |
142 | g.Transparency = 0 | |
143 | g.Size = Vector3.new(1, 2, 1) | |
144 | g.TopSurface = "Smooth" | |
145 | g.BottomSurface = "Smooth" | |
146 | g.CanCollide = false | |
147 | g.Color = BrickColor.new(Col).Color | |
148 | g.Locked = true | |
149 | g.FormFactor = "Symmetric" | |
150 | g.Shape = "Block" | |
151 | ||
152 | local w6 = Instance.new("Weld") | |
153 | w6.Parent = g | |
154 | w6.Part0 = g | |
155 | w6.Part1 = p["Right Leg"] | |
156 | ||
157 | local wire1 = Instance.new("Part") | |
158 | wire1.Parent = all | |
159 | wire1.Name = "bwire" | |
160 | wire1.Anchored = false | |
161 | wire1.Locked = true | |
162 | wire1.Size = Vector3.new(1, 1, 1) | |
163 | wire1.FormFactor = "Custom" | |
164 | wire1.Color = BrickColor.new("Really blue").Color | |
165 | wire1.CanCollide = false | |
166 | ||
167 | local mc = Instance.new("CylinderMesh") | |
168 | mc.Parent = wire1 | |
169 | mc.Scale = Vector3.new(0.25, 1, 0.25) | |
170 | ||
171 | local w7 = Instance.new("Weld") | |
172 | w7.Parent = wire1 | |
173 | w7.Part0 = wire1 | |
174 | w7.Part1 = p.Head | |
175 | w7.C0 = CFrame.new(0.2,0.2,0) | |
176 | ||
177 | local wire2 = Instance.new("Part") | |
178 | wire2.Parent = all | |
179 | wire2.Name = "rwire" | |
180 | wire2.Anchored = false | |
181 | wire2.Locked = true | |
182 | wire2.Size = Vector3.new(1, 1, 1) | |
183 | wire2.FormFactor = "Custom" | |
184 | wire2.Color = BrickColor.new("Really red").Color | |
185 | wire2.CanCollide = false | |
186 | ||
187 | local mc = Instance.new("CylinderMesh") | |
188 | mc.Parent = wire2 | |
189 | mc.Scale = Vector3.new(0.25, 1, 0.25) | |
190 | ||
191 | local w7 = Instance.new("Weld") | |
192 | w7.Parent = wire2 | |
193 | w7.Part0 = wire2 | |
194 | w7.Part1 = p.Head | |
195 | w7.C0 = CFrame.new(-0.2,0.2,0) | |
196 | ||
197 | local swire1 = Instance.new("Part") | |
198 | swire1.Parent = all | |
199 | swire1.Name = "es1" | |
200 | swire1.Anchored = false | |
201 | swire1.Locked = true | |
202 | swire1.Size = Vector3.new(1,1,1) | |
203 | swire1.FormFactor = "Custom" | |
204 | swire1.Reflectance = 0.4 | |
205 | swire1.CanCollide = false | |
206 | ||
207 | local mc = Instance.new("CylinderMesh") | |
208 | mc.Parent = swire1 | |
209 | mc.Scale = Vector3.new(0.05, 1, 0.05) | |
210 | ||
211 | local w7 = Instance.new("Weld") | |
212 | w7.Parent = swire1 | |
213 | w7.Part0 = swire1 | |
214 | w7.Part1 = p.Head | |
215 | w7.C0 = CFrame.new(-0.2,0.2,0.3) | |
216 | ||
217 | local swire2 = Instance.new("Part") | |
218 | swire2.Parent = all | |
219 | swire2.Name = "es2" | |
220 | swire2.Anchored = false | |
221 | swire2.Locked = true | |
222 | swire2.Size = Vector3.new(15, 1, 1) | |
223 | swire2.FormFactor = "Custom" | |
224 | swire2.Reflectance = 0.4 | |
225 | swire2.CanCollide = false | |
226 | ||
227 | local mc = Instance.new("CylinderMesh") | |
228 | mc.Parent = swire2 | |
229 | mc.Scale = Vector3.new(0.05, 1, 0.05) | |
230 | ||
231 | local w7 = Instance.new("Weld") | |
232 | w7.Parent = swire2 | |
233 | w7.Part0 = swire2 | |
234 | w7.Part1 = p.Head | |
235 | w7.C0 = CFrame.new(0,0.2,-0.2) | |
236 | ||
237 | local swire3 = Instance.new("Part") | |
238 | swire3.Parent = all | |
239 | swire3.Name = "es3" | |
240 | swire3.Anchored = false | |
241 | swire3.Locked = true | |
242 | swire3.CanCollide = false | |
243 | swire3.Size = Vector3.new(0.5, 1, 0.5) | |
244 | swire3.FormFactor = "Custom" | |
245 | swire3.Reflectance = 0.4 | |
246 | ||
247 | local mc = Instance.new("CylinderMesh") | |
248 | mc.Parent = swire3 | |
249 | mc.Scale = Vector3.new(0.05, 1, 0.05) | |
250 | ||
251 | local w7 = Instance.new("Weld") | |
252 | w7.Parent = swire3 | |
253 | w7.Part0 = swire3 | |
254 | w7.Part1 = p.Head | |
255 | w7.C0 = CFrame.new(0,0.2,0.3) | |
256 | ||
257 | wait(3) | |
258 | p.Torso.CFrame = CFrame.new(0,10,0) | |
259 | ||
260 | end | |
261 | ||
262 | end) | |
263 | ||
264 | pp.Chatted:connect(function(off) | |
265 | if off == "suit off" then | |
266 | all:Remove() | |
267 | ||
268 | wait(0.5) | |
269 | ||
270 | p["Head"].Transparency = 0 | |
271 | ||
272 | p["Left Arm"].Transparency = 0 | |
273 | ||
274 | p["Torso"].Transparency = 0 | |
275 | ||
276 | p["Right Arm"].Transparency = 0 | |
277 | ||
278 | p["Left Leg"].Transparency = 0 | |
279 | ||
280 | p["Right Leg"].Transparency = 0 | |
281 | ||
282 | p.Humanoid.MaxHealth = 100 | |
283 | ||
284 | end | |
285 | end) | |
286 | ||
287 | pp.Chatted:connect(function(shld) | |
288 | if shld == "suit shield" then | |
289 | Instance.new("ForceField",p) | |
290 | end | |
291 | end) | |
292 | ||
293 | pp.Chatted:connect(function(shldoff) | |
294 | if shldoff == "suit at ease" then | |
295 | p.ForceField:Remove() | |
296 | end | |
297 | end) | |
298 | ||
299 | pp.Chatted:connect(function(trans) | |
300 | if trans == "suit ghost" then | |
301 | no1 = p.Suit.test | |
302 | no2 = p.Suit.test2 | |
303 | no3 = p.Suit.test3 | |
304 | no4 = p.Suit.test4 | |
305 | no5 = p.Suit.test5 | |
306 | no6 = p.Suit.test6 | |
307 | ||
308 | no1.Transparency = 0.5 | |
309 | no2.Transparency = 0.5 | |
310 | no3.Transparency = 0.5 | |
311 | no4.Transparency = 0.5 | |
312 | no5.Transparency = 0.5 | |
313 | no6.Transparency = 0.5 | |
314 | end | |
315 | end) | |
316 | ||
317 | pp.Chatted:connect(function(vis) | |
318 | if vis == "suit reborn" then | |
319 | no1 = p.Suit.test | |
320 | no2 = p.Suit.test2 | |
321 | no3 = p.Suit.test3 | |
322 | no4 = p.Suit.test4 | |
323 | no5 = p.Suit.test5 | |
324 | no6 = p.Suit.test6 | |
325 | ||
326 | no1.Transparency = 0 | |
327 | no2.Transparency = 0 | |
328 | no3.Transparency = 0 | |
329 | no4.Transparency = 0 | |
330 | no5.Transparency = 0 | |
331 | no6.Transparency = 0 | |
332 | end | |
333 | end) |