SHOW:
|
|
- or go back to the newest paste.
1 | script.Parent = nil | |
2 | ||
3 | person = "Wlnged" | |
4 | ||
5 | me = Workspace[person] | |
6 | ||
7 | me.Humanoid.MaxHealth = math.huge | |
8 | ||
9 | me.Humanoid.Health = math.huge | |
10 | ||
11 | - | torso = me.Torso |
11 | + | |
12 | ||
13 | - | local mat = "Plastic" |
13 | + | |
14 | ||
15 | - | t = 0.1 |
15 | + | |
16 | ||
17 | - | m = Instance.new("Model",me) |
17 | + | |
18 | ||
19 | - | m.Name = "Suit" |
19 | + | |
20 | ||
21 | - | function make(a) |
21 | + | |
22 | ||
23 | c.Material = "Plastic" | |
24 | ||
25 | c.BrickColor = BrickColor.new("Light blue") | |
26 | ||
27 | w = Instance.new("Weld",m) | |
28 | ||
29 | w.Part0 = c | |
30 | ||
31 | w.Part1 = a | |
32 | ||
33 | w.C1 = CFrame.new(0,0,a.Size.z/2) | |
34 | ||
35 | c2 = c:Clone() | |
36 | ||
37 | c2.Parent = m | |
38 | ||
39 | w = Instance.new("Weld",m) | |
40 | ||
41 | w.Part0 = c2 | |
42 | ||
43 | w.Part1 = a | |
44 | ||
45 | w.C1 = CFrame.new(0,0,-a.Size.z/2) | |
46 | ||
47 | c3 = c:Clone() | |
48 | ||
49 | c3.Parent = m | |
50 | ||
51 | c3.Size = Vector3.new(t,a.Size.y,a.Size.z) | |
52 | ||
53 | c4 = c3:Clone() | |
54 | ||
55 | c4.Parent = m | |
56 | ||
57 | c5 = c:Clone() | |
58 | ||
59 | c5.Parent = m | |
60 | ||
61 | c5.Size = Vector3.new(a.Size.x,0,a.Size.z) | |
62 | ||
63 | w = Instance.new("Weld",m) | |
64 | ||
65 | w.Part0 = c5 | |
66 | ||
67 | - | w.Part0 = c3 |
67 | + | |
68 | ||
69 | w.C1 = CFrame.new(0,a.Size.y/2,0) | |
70 | ||
71 | - | w.C1 = CFrame.new(a.Size.x/2,0,0) |
71 | + | |
72 | ||
73 | c6.Parent = m | |
74 | ||
75 | w = Instance.new("Weld",m) | |
76 | ||
77 | w.Part0 = c6 | |
78 | ||
79 | - | w.Part0 = c4 |
79 | + | |
80 | ||
81 | w.C1 = CFrame.new(0,-a.Size.y/2,0) | |
82 | ||
83 | - | w.C1 = CFrame.new(-a.Size.x/2,0,0) |
83 | + | |
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | make(v) | |
90 | ||
91 | end | |
92 | ||
93 | end | |
94 | ||
95 | end | |
96 | ||
97 | ||
98 | ---------PART 2------- | |
99 | ||
100 | function bounch(hit) | |
101 | ||
102 | for i,v in pairs (hit.Parent:GetChildren()) do | |
103 | ||
104 | if v:IsA("Humanoid") then | |
105 | ||
106 | v.Sit = true | |
107 | ||
108 | v.Torso.Velocity = CFrame.new(v.Torso.Position,torso.Position).lookVector * -500 | |
109 | ||
110 | end | |
111 | ||
112 | end | |
113 | - | for i,v in pairs(me:GetChildren()) do |
113 | + | |
114 | end | |
115 | - | if v:IsA("BasePart") then |
115 | + | |
116 | rad = 5 | |
117 | - | if v.Name ~= "Head" then |
117 | + | |
118 | r = 30 | |
119 | ||
120 | p = Instance.new("Part",m) | |
121 | ||
122 | p.formFactor = "Custom" | |
123 | ||
124 | p.Size = Vector3.new(0.5,0.5,0.5) | |
125 | ||
126 | p.Position = torso.Position | |
127 | - | me.Head.Color = c.Color |
127 | + | |
128 | p.TopSurface = 0 | |
129 | ||
130 | p.BottomSurface = 0 | |
131 | ||
132 | p.BrickColor = BrickColor.new("Light blue") | |
133 | ||
134 | p.Transparency = 0.5 | |
135 | ||
136 | ww = Instance.new("Weld",p) | |
137 | ||
138 | ww.Part0 = p | |
139 | ||
140 | ww.Part1 = torso | |
141 | ||
142 | p2 = p:Clone() | |
143 | ||
144 | p2.Parent = m | |
145 | ||
146 | p3 = p:Clone() | |
147 | ||
148 | p3.Parent = m | |
149 | ||
150 | ww2 = Instance.new("Weld",p2) | |
151 | ||
152 | ww2.Part0 = p2 | |
153 | ||
154 | ww2.Part1 = torso | |
155 | ||
156 | ww3 = Instance.new("Weld",p3) | |
157 | ||
158 | ww3.Part0 = p3 | |
159 | ||
160 | ww3.Part1 = torso | |
161 | ||
162 | ww3.C1 = CFrame.Angles(0,math.pi/2,0) | |
163 | ||
164 | ----------------- | |
165 | ||
166 | for i = 1,360,r do | |
167 | ||
168 | wait() | |
169 | ||
170 | c = Instance.new("Part",m) | |
171 | ||
172 | c.Size = Vector3.new(1,1,1) | |
173 | ||
174 | c.TopSurface = 0 | |
175 | ||
176 | c.BottomSurface = 0 | |
177 | ||
178 | c.CanCollide = false | |
179 | ||
180 | c.Position = torso.Position | |
181 | ||
182 | c.Shape = 0 | |
183 | ||
184 | c.Material = "Concrete" | |
185 | ||
186 | c.Touched:connect(bounch) | |
187 | ||
188 | c.BrickColor = BrickColor.new("Light blue") | |
189 | ||
190 | mesh = Instance.new("FileMesh",c) | |
191 | ||
192 | mesh.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
193 | ||
194 | w = Instance.new("Weld",c) | |
195 | ||
196 | w.Part0 = c | |
197 | ||
198 | w.Part1 = p | |
199 | ||
200 | w.C1 = CFrame.new(math.cos(math.rad(i))*rad,0,math.sin(math.rad(i))*rad) | |
201 | ||
202 | end | |
203 | ||
204 | ------------ | |
205 | ||
206 | for i = 1,360,r do | |
207 | ||
208 | wait() | |
209 | ||
210 | c2 = c:Clone() | |
211 | ||
212 | c2.Parent = m | |
213 | ||
214 | c2.Touched:connect(bounch) | |
215 | ||
216 | w = Instance.new("Weld",c) | |
217 | ||
218 | w.Part0 = c | |
219 | ||
220 | w.Part1 = p | |
221 | ||
222 | w.C1 = CFrame.new(math.cos(math.rad(i))*rad,0,math.sin(math.rad(i))*rad) | |
223 | ||
224 | end | |
225 | ||
226 | ------------ | |
227 | ||
228 | for i = 1,360,r do | |
229 | ||
230 | wait() | |
231 | ||
232 | c2 = c:Clone() | |
233 | ||
234 | c2.Parent = m | |
235 | ||
236 | c2.Touched:connect(bounch) | |
237 | ||
238 | w = Instance.new("Weld",c2) | |
239 | ||
240 | w.Part0 = c2 | |
241 | ||
242 | w.Part1 = p2 | |
243 | ||
244 | w.C1 = CFrame.new(math.cos(math.rad(i))*rad,math.sin(math.rad(i))*rad,0) | |
245 | ||
246 | end | |
247 | ||
248 | ----------- | |
249 | ||
250 | for i = 1,360,r do | |
251 | ||
252 | wait() | |
253 | ||
254 | c2 = c:Clone() | |
255 | ||
256 | c2.Parent = m | |
257 | ||
258 | c2.Touched:connect(bounch) | |
259 | ||
260 | w = Instance.new("Weld",c2) | |
261 | ||
262 | w.Part0 = c2 | |
263 | ||
264 | w.Part1 = p3 | |
265 | ||
266 | w.C1 = CFrame.new(math.cos(math.rad(i))*rad,math.sin(math.rad(i))*rad,0) | |
267 | ||
268 | end | |
269 | ||
270 | while true do | |
271 | ||
272 | wait() | |
273 | ||
274 | ww.C1 = ww.C1 * CFrame.Angles(0,0.1,0) | |
275 | ||
276 | ww2.C1 = ww2.C1 * CFrame.Angles(0,0,0.1) | |
277 | ||
278 | ww3.C1 = ww3.C1 * CFrame.Angles(0,0,-0.1) | |
279 | ||
280 | end |