SHOW:
|
|
- or go back to the newest paste.
1 | - | User = game.Players.Gu3st0324 |
1 | + | User = game.Players.gyropromainia456 |
2 | ||
3 | Char = User.Character | |
4 | --Char.Humanoid.MaxHealth = math.huge | |
5 | - | User = game.Players.ssddaa3 |
5 | + | User = game.Players.gyropromainia456 |
6 | Char = User.Character | |
7 | PrimaryColor = "Institutional white" | |
8 | SecondaryColor = "Pastel light blue" | |
9 | ThirdColor = "Medium blue" | |
10 | SkinColor = "Cool yellow" | |
11 | ||
12 | for i,v in pairs(Char:GetChildren()) do | |
13 | if v:IsA("CharacterMesh") then | |
14 | v:Remove() | |
15 | elseif v.Name == "Shirt" then | |
16 | v:Remove() | |
17 | elseif v.Name == "Pants" then | |
18 | elseif v.Name == "Torso" then | |
19 | if v:FindFirstChild("roblox") then | |
20 | v.roblox:Remove() | |
21 | end | |
22 | ||
23 | ||
24 | elseif v:IsA("Hat") then | |
25 | v:Remove() | |
26 | elseif v.Name == "Head" then | |
27 | v.BrickColor = BrickColor.new(SkinColor) | |
28 | if v:FindFirstChild("face") ~= nil then | |
29 | v.face:Remove() | |
30 | end | |
31 | ||
32 | end | |
33 | end | |
34 | ||
35 | ||
36 | local h = Instance.new("Part",Char) | |
37 | h.Name = "Hood" | |
38 | h.formFactor = "Custom" | |
39 | h.Size = Vector3.new(1,1,1) | |
40 | h.TopSurface = 0 | |
41 | h.Reflectance = 0 | |
42 | h.BottomSurface = 0 | |
43 | h.Position = h.Parent.Head.Position | |
44 | h.BrickColor = BrickColor.new(PrimaryColor) | |
45 | local x = Instance.new("Weld",h) | |
46 | x.Part0 = h | |
47 | x.Part1 = Char:FindFirstChild("Head") | |
48 | x.C0 = x.C0 + Vector3.new(0,-0.3,0) | |
49 | local sp = Instance.new("SpecialMesh",h) | |
50 | sp.MeshType = "FileMesh" | |
51 | sp.MeshId = "http://www.roblox.com/asset/?id=16952952" | |
52 | ||
53 | --torso | |
54 | prt1 = Instance.new("Part", Char) | |
55 | prt1.formFactor = "Symmetric" | |
56 | prt1.Size = Vector3.new(1,1,1) | |
57 | prt1.CanCollide = false | |
58 | prt1.BrickColor = BrickColor.new(PrimaryColor) | |
59 | prt1.TopSurface = "Smooth" | |
60 | prt1.Transparency = 0 | |
61 | prt1.BottomSurface = "Smooth" | |
62 | prtM = Instance.new("BlockMesh", prt1) | |
63 | prtM.Scale = Vector3.new(0.76,2.02,1.025) | |
64 | prt1:BreakJoints() | |
65 | prtW = Instance.new("Weld", prt1) | |
66 | prtW.Part0 = Char["Torso"] | |
67 | prtW.Part1 = prt1 | |
68 | prtW.C1 = CFrame.new(0.625,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
69 | ||
70 | prt2 = Instance.new("Part", Char) | |
71 | prt2.formFactor = "Symmetric" | |
72 | prt2.Size = Vector3.new(1,1,1) | |
73 | prt2.CanCollide = false | |
74 | prt2.BrickColor = BrickColor.new(PrimaryColor) | |
75 | prt2.TopSurface = "Smooth" | |
76 | prt2.Transparency = 0 | |
77 | prt2.BottomSurface = "Smooth" | |
78 | prt2M = Instance.new("BlockMesh", prt2) | |
79 | prt2M.Scale = Vector3.new(0.76,2.02,1.025) | |
80 | prt2:BreakJoints() | |
81 | prt2W = Instance.new("Weld", prt2) | |
82 | prt2W.Part0 = Char["Torso"] | |
83 | prt2W.Part1 = prt2 | |
84 | prt2W.C1 = CFrame.new(-0.625,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
85 | ||
86 | prt3 = Instance.new("Part", Char) | |
87 | prt3.formFactor = "Symmetric" | |
88 | prt3.Size = Vector3.new(1,1,1) | |
89 | prt3.CanCollide = false | |
90 | prt3.BrickColor = BrickColor.new(SecondaryColor) | |
91 | prt3.TopSurface = "Smooth" | |
92 | prt3.Transparency = 0 | |
93 | prt3.BottomSurface = "Smooth" | |
94 | prt3M = Instance.new("BlockMesh", prt3) | |
95 | prt3M.Scale = Vector3.new(2,2.01,1.01) | |
96 | prt3:BreakJoints() | |
97 | prt3W = Instance.new("Weld", prt3) | |
98 | prt3W.Part0 = Char["Torso"] | |
99 | prt3W.Part1 = prt3 | |
100 | prt3W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
101 | ||
102 | ||
103 | _prt1 = Instance.new("Part", Char) | |
104 | _prt1.formFactor = "Symmetric" | |
105 | _prt1.Size = Vector3.new(1,1,1) | |
106 | _prt1.CanCollide = false | |
107 | _prt1.BrickColor = BrickColor.new(ThirdColor) | |
108 | _prt1.TopSurface = "Smooth" | |
109 | _prt1.Transparency = 0 | |
110 | _prt1.BottomSurface = "Smooth" | |
111 | _prt1M = Instance.new("BlockMesh", _prt1) | |
112 | _prt1M.Scale = Vector3.new(0.1,2.03,1.03) | |
113 | _prt1:BreakJoints() | |
114 | _prt1W = Instance.new("Weld", _prt1) | |
115 | _prt1W.Part0 = prt1 | |
116 | _prt1W.Part1 = _prt1 | |
117 | _prt1W.C1 = CFrame.new(-0.15,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
118 | ||
119 | _prt2 = Instance.new("Part", Char) | |
120 | _prt2.formFactor = "Symmetric" | |
121 | _prt2.Size = Vector3.new(1,1,1) | |
122 | _prt2.CanCollide = false | |
123 | _prt2.BrickColor = BrickColor.new(ThirdColor) | |
124 | _prt2.TopSurface = "Smooth" | |
125 | _prt2.Transparency = 0 | |
126 | _prt2.BottomSurface = "Smooth" | |
127 | _prt2M = Instance.new("BlockMesh", _prt2) | |
128 | _prt2M.Scale = Vector3.new(0.1,2.03,1.03) | |
129 | _prt2:BreakJoints() | |
130 | _prt2W = Instance.new("Weld", _prt2) | |
131 | _prt2W.Part0 = prt2 | |
132 | _prt2W.Part1 = _prt2 | |
133 | _prt2W.C1 = CFrame.new(0.15,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
134 | ||
135 | --legs | |
136 | ||
137 | prt4 = Instance.new("Part", Char) | |
138 | prt4.formFactor = "Symmetric" | |
139 | prt4.Size = Vector3.new(1,1,1) | |
140 | prt4.CanCollide = false | |
141 | prt4.BrickColor = BrickColor.new(PrimaryColor) | |
142 | prt4.TopSurface = "Smooth" | |
143 | prt4.Transparency = 0 | |
144 | prt4.BottomSurface = "Smooth" | |
145 | prt4M = Instance.new("BlockMesh", prt4) | |
146 | prt4M.Scale = Vector3.new(1.01,2.01,1.01) | |
147 | prt4:BreakJoints() | |
148 | prt4W = Instance.new("Weld", prt4) | |
149 | prt4W.Part0 = Char["Right Leg"] | |
150 | prt4W.Part1 = prt4 | |
151 | prt4W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
152 | ||
153 | prt5 = Instance.new("Part", Char) | |
154 | prt5.formFactor = "Symmetric" | |
155 | prt5.Size = Vector3.new(1,1,1) | |
156 | prt5.CanCollide = false | |
157 | prt5.BrickColor = BrickColor.new(PrimaryColor) | |
158 | prt5.TopSurface = "Smooth" | |
159 | prt5.Transparency = 0 | |
160 | prt5.BottomSurface = "Smooth" | |
161 | prt5M = Instance.new("BlockMesh", prt5) | |
162 | prt5M.Scale = Vector3.new(1.01,2.01,1.01) | |
163 | prt5:BreakJoints() | |
164 | prt5W = Instance.new("Weld", prt5) | |
165 | prt5W.Part0 = Char["Left Leg"] | |
166 | prt5W.Part1 = prt5 | |
167 | prt5W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
168 | ||
169 | prt6 = Instance.new("Part", Char) | |
170 | prt6.formFactor = "Symmetric" | |
171 | prt6.Size = Vector3.new(1,1,1) | |
172 | prt6.CanCollide = false | |
173 | prt6.BrickColor = BrickColor.new(PrimaryColor) | |
174 | prt6.TopSurface = "Smooth" | |
175 | prt6.Transparency = 0 | |
176 | prt6.BottomSurface = "Smooth" | |
177 | prt6M = Instance.new("BlockMesh", prt6) | |
178 | prt6M.Scale = Vector3.new(1.01,2.01,1.01) | |
179 | prt6:BreakJoints() | |
180 | prt6W = Instance.new("Weld", prt6) | |
181 | prt6W.Part0 = Char["Right Leg"] | |
182 | prt6W.Part1 = prt6 | |
183 | prt6W.C1 = CFrame.new(-0.25,0.05,0)*CFrame.Angles(math.rad(0),0,math.rad(-15)) | |
184 | ||
185 | prt7 = Instance.new("Part", Char) | |
186 | prt7.formFactor = "Symmetric" | |
187 | prt7.Size = Vector3.new(1,1,1) | |
188 | prt7.CanCollide = false | |
189 | prt7.BrickColor = BrickColor.new(PrimaryColor) | |
190 | prt7.TopSurface = "Smooth" | |
191 | prt7.Transparency = 0 | |
192 | prt7.BottomSurface = "Smooth" | |
193 | prt7M = Instance.new("BlockMesh", prt7) | |
194 | prt7M.Scale = Vector3.new(1.01,2.01,1.01) | |
195 | prt7:BreakJoints() | |
196 | prt7W = Instance.new("Weld", prt7) | |
197 | prt7W.Part0 = Char["Left Leg"] | |
198 | prt7W.Part1 = prt7 | |
199 | prt7W.C1 = CFrame.new(0.25,0.05,0)*CFrame.Angles(math.rad(0),0,math.rad(15)) | |
200 | ||
201 | ||
202 | _prt3 = Instance.new("Part", Char) | |
203 | _prt3.formFactor = "Symmetric" | |
204 | _prt3.Size = Vector3.new(1,1,1) | |
205 | _prt3.CanCollide = false | |
206 | _prt3.BrickColor = BrickColor.new(ThirdColor) | |
207 | _prt3.TopSurface = "Smooth" | |
208 | _prt3.Transparency = 0 | |
209 | _prt3.BottomSurface = "Smooth" | |
210 | _prt3M = Instance.new("BlockMesh", _prt3) | |
211 | _prt3M.Scale = Vector3.new(0.1,2.03,1.03) | |
212 | _prt3:BreakJoints() | |
213 | _prt3W = Instance.new("Weld", _prt3) | |
214 | _prt3W.Part0 = prt6 | |
215 | _prt3W.Part1 = _prt3 | |
216 | _prt3W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
217 | ||
218 | _prt4 = Instance.new("Part", Char) | |
219 | _prt4.formFactor = "Symmetric" | |
220 | _prt4.Size = Vector3.new(1,1,1) | |
221 | _prt4.CanCollide = false | |
222 | _prt4.BrickColor = BrickColor.new(ThirdColor) | |
223 | _prt4.TopSurface = "Smooth" | |
224 | _prt4.Transparency = 0 | |
225 | _prt4.BottomSurface = "Smooth" | |
226 | _prt4M = Instance.new("BlockMesh", _prt4) | |
227 | _prt4M.Scale = Vector3.new(0.1,2.03,1.03) | |
228 | _prt4:BreakJoints() | |
229 | _prt4W = Instance.new("Weld", _prt4) | |
230 | _prt4W.Part0 = prt7 | |
231 | _prt4W.Part1 = _prt4 | |
232 | _prt4W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
233 | --arms | |
234 | ||
235 | prt8 = Instance.new("Part", Char) | |
236 | prt8.formFactor = "Symmetric" | |
237 | prt8.Size = Vector3.new(1,1,1) | |
238 | prt8.CanCollide = false | |
239 | prt8.BrickColor = BrickColor.new(PrimaryColor) | |
240 | prt8.TopSurface = "Smooth" | |
241 | prt8.Transparency = 0 | |
242 | prt8.BottomSurface = "Smooth" | |
243 | prt8M = Instance.new("BlockMesh", prt8) | |
244 | prt8M.Scale = Vector3.new(1.01,2.01,1.01) | |
245 | prt8:BreakJoints() | |
246 | prt8W = Instance.new("Weld", prt8) | |
247 | prt8W.Part0 = Char["Right Arm"] | |
248 | prt8W.Part1 = prt8 | |
249 | prt8W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
250 | ||
251 | prt9 = Instance.new("Part", Char) | |
252 | prt9.formFactor = "Symmetric" | |
253 | prt9.Size = Vector3.new(1,1,1) | |
254 | prt9.CanCollide = false | |
255 | prt9.BrickColor = BrickColor.new(PrimaryColor) | |
256 | prt9.TopSurface = "Smooth" | |
257 | prt9.Transparency = 0 | |
258 | prt9.BottomSurface = "Smooth" | |
259 | prt9M = Instance.new("BlockMesh", prt9) | |
260 | prt9M.Scale = Vector3.new(1.01,2.01,1.01) | |
261 | prt9:BreakJoints() | |
262 | prt9W = Instance.new("Weld", prt9) | |
263 | prt9W.Part0 = Char["Left Arm"] | |
264 | prt9W.Part1 = prt9 | |
265 | prt9W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
266 | ||
267 | function debris(part) | |
268 | delay(0, function() | |
269 | repeat wait(0.5) | |
270 | ||
271 | local deb = Instance.new("Part", part) | |
272 | deb.Size = Vector3.new(1,1,1) | |
273 | deb.CanCollide = false | |
274 | deb.BrickColor = BrickColor.new("White") | |
275 | deb.TopSurface = "Smooth" | |
276 | deb.Transparency = 0 | |
277 | deb.Anchored = true | |
278 | deb.BottomSurface = "Smooth" | |
279 | local debM = Instance.new("BlockMesh", flakef) | |
280 | debM.Scale = Vector3.new(math.random(1,10)/10,math.random(1,10)/10,math.random(1,10)/10) | |
281 | deb:BreakJoints() | |
282 | deb.CFrame = part.CFrame + Vector3.new(math.random(-50,50)/10,math.random(-50,50)/10,math.random(-50,50)/10) | |
283 | ||
284 | for i = 1,10 do | |
285 | deb.CFrame = deb.CFrame + Vector3.new(0,1,0) | |
286 | deb.CFrame = deb.CFrame*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
287 | deb.Transparency = deb.Transparency + 0.1 | |
288 | wait() | |
289 | end | |
290 | ||
291 | until part.Parent ~= workspace | |
292 | end) | |
293 | end | |
294 | ||
295 | cen = Instance.new("Part", User.Character) | |
296 | cen.BottomSurface = "Smooth" | |
297 | cen.TopSurface = "Smooth" | |
298 | cen.CanCollide = false | |
299 | cen.formFactor = "Symmetric" | |
300 | cen.Size = Vector3.new(1,1,1) | |
301 | cen.BrickColor = BrickColor.new("Really black") | |
302 | cen.Transparency = 1 | |
303 | cen2 = Instance.new("Part", User.Character) | |
304 | cen2.BottomSurface = "Smooth" | |
305 | cen2.TopSurface = "Smooth" | |
306 | cen2.CanCollide = false | |
307 | cen2.formFactor = "Symmetric" | |
308 | cen2.Size = Vector3.new(1,1,1) | |
309 | cen2.BrickColor = BrickColor.new("Really black") | |
310 | cen2.Transparency = 1 | |
311 | ||
312 | cenw = Instance.new("Weld", cen) | |
313 | cenw.Part0 = Char["Torso"] | |
314 | cenw.Part1 = cen | |
315 | cenw.C1 = CFrame.new(-1.5,-0.5,0) | |
316 | ||
317 | cenw2 = Instance.new("Weld", cen2) | |
318 | cenw2.Part0 = Char["Torso"] | |
319 | cenw2.Part1 = cen2 | |
320 | cenw2.C1 = CFrame.new(1.5,-0.5,0) | |
321 | ||
322 | ||
323 | ||
324 | haw = Instance.new("Weld", cen) | |
325 | haw.Part0 = cen | |
326 | haw.Part1 = Char["Right Arm"] | |
327 | haw.C1 = CFrame.new(0,0.5,0) | |
328 | ||
329 | haw2 = Instance.new("Weld", cen2) | |
330 | haw2.Part0 = cen2 | |
331 | haw2.Part1 = Char["Left Arm"] | |
332 | haw2.C1 = CFrame.new(0,0.5,0) | |
333 | ||
334 | haw.Part1 = nil | |
335 | haw2.Part1 = nil | |
336 | ||
337 | -------------------------------------------- | |
338 | function MoveOne() | |
339 | haw.Part1 = Char["Right Arm"] | |
340 | haw2.Part1 = Char["Left Arm"] | |
341 | for i = 1,50,5 do | |
342 | haw.C0 = CFrame.Angles(math.rad(-i),0,0) | |
343 | haw2.C0 = CFrame.Angles(math.rad(-i),0,0) | |
344 | wait() | |
345 | end | |
346 | for i = 1,100,10 do | |
347 | haw.C0 = CFrame.Angles(math.rad(-45+i),0,0) | |
348 | haw2.C0 = CFrame.Angles(math.rad(-45+i),0,0) | |
349 | wait() | |
350 | end | |
351 | delay(0, function() | |
352 | for i = 1,50,5 do | |
353 | haw.C0 = CFrame.Angles(math.rad(45-i),0,0) | |
354 | haw2.C0 = CFrame.Angles(math.rad(45-i),0,0) | |
355 | wait() | |
356 | end | |
357 | haw.Part1 = nil | |
358 | haw2.Part1 = nil | |
359 | end) | |
360 | local ps = Char.Torso.CFrame | |
361 | local flakef = Instance.new("Part", Char) | |
362 | flakef.Size = Vector3.new(5,5,5) | |
363 | flakef.CanCollide = false | |
364 | flakef.BrickColor = BrickColor.new("White") | |
365 | flakef.TopSurface = "Smooth" | |
366 | flakef.Transparency = 0.5 | |
367 | flakef.Anchored = true | |
368 | flakef.BottomSurface = "Smooth" | |
369 | local flakeMf = Instance.new("SpecialMesh", flakef) | |
370 | flakeMf.MeshType = "FileMesh" | |
371 | flakeMf.Scale = Vector3.new(5,5,5) | |
372 | flakeMf.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
373 | flakef:BreakJoints() | |
374 | flakef.CFrame = (ps - Vector3.new(0,3,0)) + ps.lookVector*2 | |
375 | ||
376 | flakef.Touched:connect(function(hit) | |
377 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= User.Name then | |
378 | hit.Parent:BreakJoints() | |
379 | end | |
380 | end) | |
381 | ||
382 | for i = 1,50 do | |
383 | ||
384 | flakef.CFrame = (ps - Vector3.new(0,3,0)) + ps.lookVector*(i*2) | |
385 | ||
386 | local gho = flakef:clone() | |
387 | gho.Parent = Char | |
388 | gho.Anchored = true | |
389 | gho.CFrame = flakef.CFrame | |
390 | ||
391 | delay(0,function() | |
392 | for i = 1,10 do | |
393 | gho.Mesh.Scale = gho.Mesh.Scale + Vector3.new(0.1,0.1,0.1) | |
394 | gho.Transparency = gho.Transparency + 0.05 | |
395 | wait() | |
396 | end | |
397 | gho:Remove() | |
398 | end) | |
399 | wait() | |
400 | end | |
401 | local ring = flakef:clone() | |
402 | ring.Parent = Char | |
403 | ring.Anchored = true | |
404 | ring.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
405 | ring.CFrame = flakef.CFrame | |
406 | ring.CFrame = ring.CFrame*CFrame.Angles(math.rad(90),0,0) | |
407 | for i = 1,10 do | |
408 | ring.Mesh.Scale = ring.Mesh.Scale + Vector3.new(5,5,5) | |
409 | ring.Transparency = ring.Transparency + 0.05 | |
410 | flakef.Transparency = flakef.Transparency + 0.05 | |
411 | flakef.Mesh.Scale = flakef.Mesh.Scale + Vector3.new(2,2,2) | |
412 | wait() | |
413 | end | |
414 | ring:Remove() | |
415 | flakef:Remove() | |
416 | end | |
417 | ||
418 | ||
419 | function HandCharge() | |
420 | haw.Part1 = Char["Right Arm"] | |
421 | haw2.Part1 = Char["Left Arm"] | |
422 | ||
423 | for i = 1,130,5 do | |
424 | haw.C0 = CFrame.Angles(0,0,math.rad(i)) | |
425 | haw2.C0 = CFrame.Angles(0,0,math.rad(-i)) | |
426 | wait() | |
427 | end | |
428 | ||
429 | local sph1 = Instance.new("Part", Char) | |
430 | sph1.formFactor = "Symmetric" | |
431 | sph1.Size = Vector3.new(1,1,1) | |
432 | sph1.CanCollide = false | |
433 | sph1.BrickColor = BrickColor.new("White") | |
434 | sph1.TopSurface = "Smooth" | |
435 | sph1.Transparency = 0.5 | |
436 | sph1.BottomSurface = "Smooth" | |
437 | local sphM = Instance.new("SpecialMesh", sph1) | |
438 | sphM.MeshType = "Sphere" | |
439 | sphM.Scale = Vector3.new(2,2,2) | |
440 | sph1:BreakJoints() | |
441 | local sphW = Instance.new("Weld", sph1) | |
442 | sphW.Part0 = Char["Right Arm"] | |
443 | sphW.Part1 = sph1 | |
444 | sphW.C1 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
445 | ||
446 | local sph2 = Instance.new("Part", Char) | |
447 | sph2.formFactor = "Symmetric" | |
448 | sph2.Size = Vector3.new(1,1,1) | |
449 | sph2.CanCollide = false | |
450 | sph2.BrickColor = BrickColor.new("White") | |
451 | sph2.TopSurface = "Smooth" | |
452 | sph2.Transparency = 0.5 | |
453 | sph2.BottomSurface = "Smooth" | |
454 | local sphM2 = Instance.new("SpecialMesh", sph2) | |
455 | sphM2.MeshType = "Sphere" | |
456 | sphM2.Scale = Vector3.new(2,2,2) | |
457 | sph2:BreakJoints() | |
458 | local sphW2 = Instance.new("Weld", sph2) | |
459 | sphW2.Part0 = Char["Left Arm"] | |
460 | sphW2.Part1 = sph2 | |
461 | sphW2.C1 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
462 | ||
463 | local sph3 = Instance.new("Part", Char) | |
464 | sph3.formFactor = "Symmetric" | |
465 | sph3.Size = Vector3.new(1,1,1) | |
466 | sph3.CanCollide = false | |
467 | sph3.BrickColor = BrickColor.new("White") | |
468 | sph3.TopSurface = "Smooth" | |
469 | sph3.Transparency = 0.5 | |
470 | sph3.BottomSurface = "Smooth" | |
471 | local sphM3 = Instance.new("BlockMesh", sph3) | |
472 | sphM3.Scale = Vector3.new(.75,.75,.75) | |
473 | sph3:BreakJoints() | |
474 | local sphW3 = Instance.new("Weld", sph3) | |
475 | sphW3.Part0 = sph1 | |
476 | sphW3.Part1 = sph3 | |
477 | sphW3.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
478 | ||
479 | local sph4 = Instance.new("Part", Char) | |
480 | sph4.formFactor = "Symmetric" | |
481 | sph4.Size = Vector3.new(1,1,1) | |
482 | sph4.CanCollide = false | |
483 | sph4.BrickColor = BrickColor.new("White") | |
484 | sph4.TopSurface = "Smooth" | |
485 | sph4.Transparency = 0.5 | |
486 | sph4.BottomSurface = "Smooth" | |
487 | local sphM4 = Instance.new("BlockMesh", sph4) | |
488 | sphM4.Scale = Vector3.new(.75,.75,.75) | |
489 | sph4:BreakJoints() | |
490 | local sphW4 = Instance.new("Weld", sph4) | |
491 | sphW4.Part0 = sph2 | |
492 | sphW4.Part1 = sph4 | |
493 | sphW4.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0)) | |
494 | ||
495 | ||
496 | delay(0, function() | |
497 | for i = 1,25 do | |
498 | local new = Instance.new("Part", Char) | |
499 | new.formFactor = "Symmetric" | |
500 | new.Size = Vector3.new(1,1,1) | |
501 | new.CanCollide = false | |
502 | new.BrickColor = BrickColor.new("White") | |
503 | new.TopSurface = "Smooth" | |
504 | new.Transparency = 1 | |
505 | new.BottomSurface = "Smooth" | |
506 | local newM = Instance.new("SpecialMesh", new) | |
507 | newM.MeshType = "Sphere" | |
508 | newM.Scale = Vector3.new(0.5,2,0.5) | |
509 | new:BreakJoints() | |
510 | local newW = Instance.new("Weld", new) | |
511 | newW.Part0 = sph1 | |
512 | newW.Part1 = new | |
513 | newW.C1 = CFrame.new(0,10,0)*CFrame.Angles(math.rad(math.random(1,360)),0,math.rad(math.random(1,360))) | |
514 | delay(0, function() | |
515 | for i = 1,10 do | |
516 | sphW4.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
517 | ||
518 | newW.C1 = newW.C1 - Vector3.new(0,1,0) | |
519 | new.Transparency = new.Transparency - 0.05 | |
520 | wait() | |
521 | end | |
522 | new:Remove() | |
523 | end) | |
524 | wait(0.2) | |
525 | end | |
526 | end) | |
527 | ||
528 | ||
529 | for i = 1,25 do | |
530 | local new = Instance.new("Part", Char) | |
531 | new.formFactor = "Symmetric" | |
532 | new.Size = Vector3.new(1,1,1) | |
533 | new.CanCollide = false | |
534 | new.BrickColor = BrickColor.new("White") | |
535 | new.TopSurface = "Smooth" | |
536 | new.Transparency = 1 | |
537 | new.BottomSurface = "Smooth" | |
538 | local newM = Instance.new("SpecialMesh", new) | |
539 | newM.MeshType = "Sphere" | |
540 | newM.Scale = Vector3.new(0.5,2,0.5) | |
541 | new:BreakJoints() | |
542 | local newW = Instance.new("Weld", new) | |
543 | newW.Part0 = sph2 | |
544 | newW.Part1 = new | |
545 | newW.C1 = CFrame.new(0,10,0)*CFrame.Angles(math.rad(math.random(1,360)),0,math.rad(math.random(1,360))) | |
546 | ||
547 | new.Touched:connect(function(hit) | |
548 | if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= User.Name then | |
549 | hit.Parent:BreakJoints() | |
550 | end | |
551 | end) | |
552 | ||
553 | delay(0, function() | |
554 | for i = 1,10 do | |
555 | sphW3.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360))) | |
556 | newW.C1 = newW.C1 - Vector3.new(0,1,0) | |
557 | new.Transparency = new.Transparency - 0.05 | |
558 | wait() | |
559 | end | |
560 | new:Remove() | |
561 | end) | |
562 | wait(0.2) | |
563 | end | |
564 | ||
565 | delay(0, function() | |
566 | for i = 1,50 do | |
567 | sph1.Transparency = sph1.Transparency + 0.01 | |
568 | sphM.Scale = sphM.Scale + Vector3.new(0.1,0.1,0.1) | |
569 | sph2.Transparency = sph2.Transparency + 0.01 | |
570 | sphM2.Scale = sphM2.Scale + Vector3.new(0.1,0.1,0.1) | |
571 | sph3.Transparency = sph3.Transparency + 0.01 | |
572 | sphM3.Scale = sphM3.Scale + Vector3.new(0.05,0.05,0.05) | |
573 | sph4.Transparency = sph4.Transparency + 0.01 | |
574 | sphM4.Scale = sphM4.Scale + Vector3.new(0.05,0.05,0.05) | |
575 | wait() | |
576 | end | |
577 | end) | |
578 | ||
579 | local tring = Instance.new("Part", Char) | |
580 | tring.formFactor = "Symmetric" | |
581 | tring.Size = Vector3.new(1,1,1) | |
582 | tring.CanCollide = false | |
583 | tring.BrickColor = BrickColor.new("White") | |
584 | tring.TopSurface = "Smooth" | |
585 | tring.Transparency = 0.5 | |
586 | tring.BottomSurface = "Smooth" | |
587 | local tringM = Instance.new("SpecialMesh", tring) | |
588 | tringM.MeshType = "FileMesh" | |
589 | tringM.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
590 | tringM.Scale = Vector3.new(1,1,1) | |
591 | tring:BreakJoints() | |
592 | local tringW = Instance.new("Weld", tring) | |
593 | tringW.Part0 = Char["Torso"] | |
594 | tringW.Part1 = tring | |
595 | tringW.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
596 | for i = 1,100 do | |
597 | ag = i | |
598 | tringM.Scale = Vector3.new(i,i,i) | |
599 | tring.Transparency = tring.Transparency + 0.5/100 | |
600 | ||
601 | delay(0, function() | |
602 | for i,v in pairs(workspace:GetChildren()) do | |
603 | if v:FindFirstChild("Humanoid") and v.Name ~= User.Name and v:FindFirstChild("Head") and (v.Head.Position - Char.Head.Position).magntiude < ag/2 then | |
604 | v:BreakJoints() | |
605 | else | |
606 | end | |
607 | end | |
608 | end) | |
609 | ||
610 | wait() | |
611 | end | |
612 | tring:Remove() | |
613 | ||
614 | sph1:Remove() | |
615 | sph2:Remove() | |
616 | sph3:Remove() | |
617 | sph4:Remove() | |
618 | ||
619 | for i = 1,130,5 do | |
620 | haw.C0 = CFrame.Angles(0,0,math.rad(125-i)) | |
621 | haw2.C0 = CFrame.Angles(0,0,math.rad(-125+i)) | |
622 | wait() | |
623 | end | |
624 | haw.Part1 = nil | |
625 | haw2.Part1 = nil | |
626 | end | |
627 | -------------------------------------------- | |
628 | local _ = false | |
629 | if not script.Parent:IsA("HopperBin") then | |
630 | h = Instance.new("HopperBin", User.Backpack) | |
631 | h.Name = "watah" | |
632 | script.Parent = h | |
633 | end | |
634 | ||
635 | ||
636 | script.Parent.Selected:connect(function(mouse) | |
637 | ||
638 | mouse.Button1Down:connect(function() | |
639 | ||
640 | end) | |
641 | ||
642 | mouse.KeyDown:connect(function(key) | |
643 | if key == "q" and _ == false then | |
644 | _ = true | |
645 | MoveOne() | |
646 | _ = false | |
647 | elseif key == "e" and _ == false then | |
648 | _ = true | |
649 | HandCharge() | |
650 | _ = false | |
651 | end | |
652 | end) | |
653 | end) | |
654 | ||
655 | script.Parent.Deselected:connect(function() | |
656 | ||
657 | end) |