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