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