SHOW:
|
|
- or go back to the newest paste.
1 | - | Player = game.Players.Max5709 |
1 | + | Player = game.Players.CDOGLEDOUX1 |
2 | char = Player.Character | |
3 | mouse = Player:GetMouse() | |
4 | run = game:GetService("RunService") | |
5 | g = Instance.new("Part", game.Lighting) | |
6 | ra = char["Right Arm"] | |
7 | la = char["Left Arm"] | |
8 | rl = char["Right Leg"] | |
9 | ll = char["Left Leg"] | |
10 | rs = char.Torso["Right Shoulder"] | |
11 | ls = char.Torso["Left Shoulder"] | |
12 | lh = char.Torso["Left Hip"] | |
13 | rh = char.Torso["Right Hip"] | |
14 | ringmesh = "http://www.roblox.com/asset/?id=3270017" | |
15 | handmesh = "http://www.roblox.com/asset/?id=37241605" | |
16 | root = char.HumanoidRootPart.RootJoint | |
17 | BladeMesh = "http://www.roblox.com/asset/?id=94840342" | |
18 | glade = false | |
19 | use = false | |
20 | slash = false | |
21 | darkpulse = false | |
22 | beat = false | |
23 | clash = false | |
24 | lightattacktime = 0.1 | |
25 | heavyattacktime = 0.1 | |
26 | pulseattacktime = 3 | |
27 | jump = char.Humanoid.Jump | |
28 | function Equip(key) | |
29 | if key == "r" and glade == false and use == false then | |
30 | char.Humanoid.WalkSpeed = 0 | |
31 | char.Animate.Disabled = true | |
32 | use = true | |
33 | glade = true | |
34 | g.Anchored = true | |
35 | g.Reflectance = 0.3 | |
36 | g.CanCollide = false | |
37 | g.TopSurface = 0 | |
38 | g.Name = "Glade" | |
39 | gfire = Instance.new("Fire", g) | |
40 | gfire.Size = 10 | |
41 | gfire.Color = Color3.new(0, 0, 0) | |
42 | gfire.SecondaryColor = Color3.new(10, 10, 10) | |
43 | g.Parent = Workspace | |
44 | g.BottomSurface = 0 | |
45 | g.BrickColor = BrickColor.new("Really black") | |
46 | g.Size = Vector3.new(1, 8, 1) | |
47 | gmesh = Instance.new("SpecialMesh", g) | |
48 | gmesh.MeshType = "FileMesh" | |
49 | gmesh.MeshId = BladeMesh | |
50 | gmesh.Scale = Vector3.new(1, 0, 0.8) | |
51 | game.Lighting.TimeOfDay = "1:00:00" | |
52 | gate1 = Instance.new("Part", Workspace) | |
53 | gate1.Anchored = true | |
54 | gate1.Size = Vector3.new(1, 1, 1) | |
55 | gate1.TopSurface = 0 | |
56 | gate1.BottomSurface = 0 | |
57 | gate1.BrickColor = BrickColor.new("Really black") | |
58 | gate1.CanCollide = false | |
59 | gate1.CFrame = char.Torso.CFrame *CFrame.new(0, -3, -5) | |
60 | gate1.CFrame = gate1.CFrame *CFrame.Angles(1.57, 0, 0) | |
61 | gatemesh = Instance.new("SpecialMesh", gate1) | |
62 | gatemesh.MeshType = "FileMesh" | |
63 | gatemesh.MeshId = ringmesh | |
64 | gatemesh.Scale = Vector3.new(0, 0, 0) | |
65 | root.C0 = root.C0 *CFrame.Angles(0, 0, 1.57) | |
66 | g.CFrame = gate1.CFrame | |
67 | for armriseinanepicway = 1,5 do | |
68 | rs.C0 = rs.C0 *CFrame.Angles(-0.314, 0, 0) | |
69 | run.Stepped:wait() | |
70 | end | |
71 | game:GetService("Chat"):Chat(char.Head, "Rise, Sabeles") | |
72 | for expandgate1 = 1,5 do | |
73 | gatemesh.Scale = gatemesh.Scale +Vector3.new(1, 1, 0.1) | |
74 | run.Stepped:wait() | |
75 | end | |
76 | gate2 = gate1:clone() | |
77 | gate2.Parent = Workspace | |
78 | gate2.CFrame = gate1.CFrame | |
79 | for expandgate1 = 1,5 do | |
80 | gate2.Mesh.Scale = gate2.Mesh.Scale +Vector3.new(1, 1, 0.1) | |
81 | run.Stepped:wait() | |
82 | end | |
83 | gate3 = gate2:clone() | |
84 | gate3.Parent = Workspace | |
85 | gate3.CFrame = gate2.CFrame | |
86 | for expandgate1 = 1,5 do | |
87 | gate3.Mesh.Scale = gate3.Mesh.Scale +Vector3.new(1, 1, 0.1) | |
88 | run.Stepped:wait() | |
89 | end | |
90 | gate4 = gate3:clone() | |
91 | gate4.Parent = Workspace | |
92 | gate4.CFrame = gate3.CFrame | |
93 | for expandgate1 = 1,5 do | |
94 | gate4.Mesh.Scale = gate4.Mesh.Scale +Vector3.new(1, 1, 0.1) | |
95 | run.Stepped:wait() | |
96 | end | |
97 | gate5 = gate4:clone() | |
98 | gate5.Parent = Workspace | |
99 | gate5.CFrame = gate1.CFrame | |
100 | for expandgate1 = 1,5 do | |
101 | gate5.Mesh.Scale = gate5.Mesh.Scale +Vector3.new(1, 1, 0.1) | |
102 | run.Stepped:wait() | |
103 | end | |
104 | ||
105 | g.CFrame = gate1.CFrame | |
106 | g.CFrame = g.CFrame *CFrame.Angles(-1.57, 0, 0) | |
107 | ||
108 | for growmyblade = 1,50 do | |
109 | gmesh.Scale = gmesh.Scale +Vector3.new(0, 0.02, 0) | |
110 | g.CFrame = g.CFrame *CFrame.new(0, 0.1, 0) | |
111 | run.Stepped:wait() | |
112 | end | |
113 | ||
114 | g.Anchored = false | |
115 | weld = Instance.new('Weld', g) | |
116 | weld.Part0 = g | |
117 | weld.Part1 = ra | |
118 | weld.C0 = CFrame.new(0, -2.5, 1) | |
119 | weld.C0 = weld.C0 *CFrame.Angles(1.57, 0, 0) | |
120 | for spinlikeaboss = 1,5 do | |
121 | root.C0 = root.C0 *CFrame.Angles(0, 0, -0.314) | |
122 | run.Stepped:wait() | |
123 | end | |
124 | ||
125 | function Damage(g) | |
126 | h = g.Parent:findFirstChild("Humanoid") | |
127 | if h ~= nil and h.Parent.Name ~= char.Name and slash == true then | |
128 | h.Health = h.Health -3 | |
129 | end | |
130 | end | |
131 | g.Touched:connect(Damage) | |
132 | function Clash(g) | |
133 | b = g.Parent:findFirstChild("Glade") | |
134 | if b ~= nil and clash == false and slash == true then | |
135 | clash = true | |
136 | lol = Instance.new("Part", Workspace) | |
137 | lol.FormFactor = "Custom" | |
138 | lol.Anchored = true | |
139 | lol.CFrame = b.CFrame | |
140 | lol.CanCollide = false | |
141 | lol.TopSurface = 0 | |
142 | lol.BottomSurface = 0 | |
143 | lol.BrickColor = BrickColor.new("White") | |
144 | lolm = Instance.new("SpecialMesh", lol) | |
145 | lolm.MeshType = "Sphere" | |
146 | for kaboom = 1,4 do | |
147 | lolm.Scale = lolm.Scale +Vector3.new(0.05, 0.5, 0.05) | |
148 | char.Torso.CFrame = char.Torso.CFrame *CFrame.new(0, 0, -0.1) | |
149 | lol.Transparency = lol.Transparency +0.32 | |
150 | run.Stepped:wait() | |
151 | end | |
152 | lol:remove() | |
153 | clash = false | |
154 | end | |
155 | end | |
156 | g.Touched:connect(Clash) | |
157 | gate1.BrickColor = BrickColor.new("White") | |
158 | gate2.BrickColor = BrickColor.new("White") | |
159 | gate3.BrickColor = BrickColor.new("White") | |
160 | gate4.BrickColor = BrickColor.new("White") | |
161 | gate5.BrickColor = BrickColor.new("White") | |
162 | for fadebacktoSables = 1,20 do | |
163 | gate1.Transparency = gate1.Transparency +0.05 | |
164 | gate2.Transparency = gate2.Transparency +0.05 | |
165 | gate3.Transparency = gate3.Transparency +0.05 | |
166 | gate4.Transparency = gate4.Transparency +0.05 | |
167 | gate5.Transparency = gate5.Transparency +0.05 | |
168 | run.Stepped:wait() | |
169 | end | |
170 | gate1:remove() | |
171 | gate2:remove() | |
172 | gate3:remove() | |
173 | gate4:remove() | |
174 | gate5:remove() | |
175 | rs.C0 = CFrame.new(1, 0.5, 0) | |
176 | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) | |
177 | char.Humanoid.WalkSpeed = 16 | |
178 | char.Animate.Disabled = false | |
179 | use = false | |
180 | end | |
181 | end | |
182 | mouse.KeyDown:connect(Equip) | |
183 | ||
184 | function UnEquip(key) | |
185 | if key == "r" and use == false and glade == true and slash == false and beat == false then | |
186 | use = true | |
187 | glade = false | |
188 | g.BrickColor = BrickColor.new("White") | |
189 | for fade = 1,20 do | |
190 | g.Transparency = g.Transparency +0.05 | |
191 | run.Stepped:wait() | |
192 | end | |
193 | g:remove() | |
194 | script.Disabled = true | |
195 | wait() | |
196 | script.Disabled = false | |
197 | end | |
198 | end | |
199 | mouse.KeyDown:connect(UnEquip) | |
200 | ||
201 | function LightAttack(key) | |
202 | if key == "q" and glade == true and use == false and slash == false and jump == false then | |
203 | char.Animate.Disabled = true | |
204 | use = true | |
205 | slash = true | |
206 | rs.C0 = CFrame.new(1, 0.5, 0) | |
207 | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) | |
208 | ls.C0 = CFrame.new(-1, 0.5, 0) | |
209 | ls.C0 = ls.C0 *CFrame.Angles(0, -1.57, 0) | |
210 | rs.C0 = rs.C0 *CFrame.Angles(1.57, 0, 0) | |
211 | rs.C0 = rs.C0 *CFrame.Angles(0, 3.14, 0) | |
212 | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -1) | |
213 | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) | |
214 | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) | |
215 | for slash = 1,8 do | |
216 | root.C0 = root.C0 *CFrame.Angles(0, 0, -0.1) | |
217 | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -0.5) | |
218 | ls.C0 = ls.C0 *CFrame.Angles(-0.05, 0, 0) | |
219 | run.Stepped:wait() | |
220 | end | |
221 | wait(lightattacktime) | |
222 | root.C0 = root.C0 *CFrame.Angles(0, 0, 0.8) | |
223 | rs.C0 = CFrame.new(1, 0.5, 0) | |
224 | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) | |
225 | ls.C0 = CFrame.new(-1, 0.5, 0) | |
226 | ls.C0 = ls.C0 *CFrame.Angles(0, -1.57, 0) | |
227 | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) | |
228 | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) | |
229 | char.Animate.Disabled = false | |
230 | slash = false | |
231 | use = false | |
232 | end | |
233 | end | |
234 | mouse.KeyDown:connect(LightAttack) | |
235 | ||
236 | function HeavyAttack(key) | |
237 | if key == "e" and glade == true and use == false and slash == false and char.Humanoid.Jump ~= true then | |
238 | char.Animate.Disabled = true | |
239 | slash = true | |
240 | use = true | |
241 | rs.C0 = rs.C0 *CFrame.Angles(0, 0, 4) | |
242 | rs.C0 = rs.C0 *CFrame.Angles(-0.4, 0, 0) | |
243 | ls.C0 = ls.C0 *CFrame.Angles(-0.1, 0, 0) | |
244 | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) | |
245 | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) | |
246 | for slashdown = 1,8 do | |
247 | root.C0 = root.C0 *CFrame.Angles(0, 0, 0.01) | |
248 | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -0.5) | |
249 | ls.C0 = ls.C0 *CFrame.Angles(-0.05, 0, 0) | |
250 | ls.C0 = ls.C0 *CFrame.Angles(0, 0, 0.05) | |
251 | run.Stepped:wait() | |
252 | end | |
253 | wait(heavyattacktime) | |
254 | root.C0 = root.C0 *CFrame.Angles(0, 0, -0.08) | |
255 | rs.C0 = CFrame.new(1, 0.5, 0) | |
256 | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) | |
257 | ls.C0 = CFrame.new(-1, 0.5, 0) | |
258 | ls.C0 = ls.C0 *CFrame.Angles(0, -1.57, 0) | |
259 | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) | |
260 | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) | |
261 | char.Animate.Disabled = false | |
262 | use = false | |
263 | slash = false | |
264 | end | |
265 | end | |
266 | mouse.KeyDown:connect(HeavyAttack) | |
267 | ||
268 | function JumpingLightAttack(key) | |
269 | if key == "q" and use == false and glade == true and slash == false and char.Humanoid.Jump ~= false then | |
270 | char.Animate.Disabled = true | |
271 | use = true | |
272 | slash = true | |
273 | rs.C0 = rs.C0 *CFrame.Angles(0, 0, 4) | |
274 | ls.C0 = ls.C0 *CFrame.Angles(-0.1, 0, 0) | |
275 | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) | |
276 | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) | |
277 | for movedownlikeaboss = 1,8 do | |
278 | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -0.5) | |
279 | ls.C0 = ls.C0 *CFrame.Angles(-0.05, 0, 0) | |
280 | run.Stepped:wait() | |
281 | end | |
282 | wait(lightattacktime) | |
283 | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) | |
284 | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) | |
285 | rs.C0 = CFrame.new(1, 0.5, 0) | |
286 | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) | |
287 | ls.C0 = CFrame.new(-1, 0.5, 0) | |
288 | ls.C0 = ls.C0 *CFrame.Angles(0, -1.57, 0) | |
289 | char.Animate.Disabled = false | |
290 | use = false | |
291 | slash = false | |
292 | end | |
293 | end | |
294 | mouse.KeyDown:connect(JumpingLightAttack) | |
295 | ||
296 | function BeatMode(key) | |
297 | if key == "f" and use == false and beat == false and slash == false and glade == true then | |
298 | char.Animate.Disabled = true | |
299 | char.Humanoid.WalkSpeed = 0 | |
300 | use = true | |
301 | beat = true | |
302 | rs.C0 = rs.C0 *CFrame.Angles(0, 0, 1.57) | |
303 | rs.C0 = rs.C0 *CFrame.Angles(0, 1, 0) | |
304 | ls.C0 = ls.C0 *CFrame.Angles(-0.1, 0, 0) | |
305 | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) | |
306 | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) | |
307 | game:GetService("Chat"):Chat(char.Head, "Beat Drive!") | |
308 | small = Instance.new("Part", char) | |
309 | small.FormFactor = "Custom" | |
310 | small.CanCollide = false | |
311 | small.Transparency = 1 | |
312 | small.BrickColor = BrickColor.new("Really black") | |
313 | small.Size = Vector3.new(0.2, 0.2, 0.2) | |
314 | small.CFrame = char.Torso.CFrame | |
315 | smallm = Instance.new("BlockMesh", small) | |
316 | smallm.Scale = Vector3.new(5.2, 10.2, 5.2) | |
317 | gg = Instance.new("Part", Workspace) | |
318 | gg.Anchored = false | |
319 | gg.Reflectance = 0.3 | |
320 | gg.CanCollide = false | |
321 | gg.TopSurface = 0 | |
322 | gg.Transparency = 0.8 | |
323 | gg.Name = "Glade" | |
324 | gg.BottomSurface = 0 | |
325 | gg.BrickColor = BrickColor.new("Really black") | |
326 | gg.Size = Vector3.new(1, 6, 1) | |
327 | ggmesh = Instance.new("SpecialMesh", gg) | |
328 | ggmesh.MeshType = "FileMesh" | |
329 | ggmesh.MeshId = BladeMesh | |
330 | ggmesh.Scale = Vector3.new(1.3, 1, 1.3) | |
331 | ggweld = Instance.new('Weld', gg) | |
332 | ggweld.Part0 = gg | |
333 | ggweld.Part1 = ra | |
334 | ggweld.C0 = CFrame.new(0, -2.5, 1) | |
335 | ggweld.C0 = ggweld.C0 *CFrame.Angles(1.57, 0, 0) | |
336 | rap = small:clone() | |
337 | rap.Parent = char | |
338 | rap.CFrame = ra.CFrame | |
339 | rapw = Instance.new('Weld', rap) | |
340 | rapw.Part0 = rap | |
341 | rapw.Part1 = ra | |
342 | ||
343 | lap = small:clone() | |
344 | lap.Parent = char | |
345 | lap.CFrame = la.CFrame | |
346 | lapw = Instance.new('Weld', lap) | |
347 | lapw.Part0 = lap | |
348 | lapw.Part1 = la | |
349 | ||
350 | rlp = small:clone() | |
351 | rlp.Parent = char | |
352 | rlp.CFrame = rl.CFrame | |
353 | rlpw = Instance.new('Weld', rlp) | |
354 | rlpw.Part0 = rlp | |
355 | rlpw.Part1 = rl | |
356 | ||
357 | llp = small:clone() | |
358 | llp.Parent = char | |
359 | llp.CFrame = ll.CFrame | |
360 | llpw = Instance.new('Weld', llp) | |
361 | llpw.Part0 = llp | |
362 | llpw.Part1 = ll | |
363 | ||
364 | t = small:clone() | |
365 | t.Parent = char | |
366 | t.Mesh.Scale = Vector3.new(10.2, 10.2, 5.2) | |
367 | t.CFrame = char.Torso.CFrame | |
368 | tw = Instance.new('Weld', t) | |
369 | tw.Part0 = t | |
370 | tw.Part1 = char.Torso | |
371 | ||
372 | boom = small:clone() | |
373 | boom.Anchored = true | |
374 | boom.TopSurface = 0 | |
375 | boom.BottomSurface = 0 | |
376 | boom.Transparency = 0 | |
377 | boom.Parent = char | |
378 | boom.Mesh:remove() | |
379 | boommesh = Instance.new("SpecialMesh",boom) | |
380 | boommesh.MeshType = "Sphere" | |
381 | boom.CFrame = char.Torso.CFrame | |
382 | for boooooooooom = 1,20 do | |
383 | boommesh.Scale = boommesh.Scale +Vector3.new(2, 2, 2) | |
384 | boom.Transparency = boom.Transparency +0.05 | |
385 | run.Stepped:wait() | |
386 | end | |
387 | ||
388 | for fadeout = 1,15 do | |
389 | rap.Transparency = rap.Transparency -0.01 | |
390 | lap.Transparency = lap.Transparency -0.01 | |
391 | rlp.Transparency = rlp.Transparency -0.01 | |
392 | llp.Transparency = llp.Transparency -0.01 | |
393 | t.Transparency = t.Transparency -0.01 | |
394 | run.Stepped:wait() | |
395 | end | |
396 | ls.C0 = ls.C0 *CFrame.Angles(0.1, 0, 0) | |
397 | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) | |
398 | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) | |
399 | rs.C0 = CFrame.new(1, 0.5, 0) | |
400 | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) | |
401 | lightattacktime = 0.000000000000000000001 | |
402 | heavyattacktime = 0.000000000000000000001 | |
403 | char.Animate.Disabled = false | |
404 | char.Humanoid.WalkSpeed = 16 | |
405 | use = false | |
406 | wait(20) | |
407 | for fadein = 1,15 do | |
408 | rap.Transparency = rap.Transparency +0.01 | |
409 | lap.Transparency = lap.Transparency +0.01 | |
410 | rlp.Transparency = rlp.Transparency +0.01 | |
411 | llp.Transparency = llp.Transparency +0.01 | |
412 | t.Transparency = t.Transparency +0.01 | |
413 | run.Stepped:wait() | |
414 | end | |
415 | lightattacktime = 0.2 | |
416 | heavyattacktime = 0.4 | |
417 | rap:remove() | |
418 | lap:remove() | |
419 | llp:remove() | |
420 | rlp:remove() | |
421 | t:remove() | |
422 | gg:remove() | |
423 | beat = false | |
424 | end | |
425 | end | |
426 | mouse.KeyDown:connect(BeatMode) | |
427 | ||
428 | function DarkPulse(key) | |
429 | if key == "z" and use == false and glade == true and slash == false and darkpulse == false then | |
430 | char.Animate.Disabled = true | |
431 | char.Humanoid.WalkSpeed = 0 | |
432 | darkpulse = true | |
433 | use = true | |
434 | ls.C0 = ls.C0 *CFrame.Angles(-0.1, 0, 0) | |
435 | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) | |
436 | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) | |
437 | gate1 = Instance.new("Part", Workspace) | |
438 | gate1.Anchored = true | |
439 | gate1.Size = Vector3.new(1, 1, 1) | |
440 | gate1.TopSurface = 0 | |
441 | gate1.BottomSurface = 0 | |
442 | gate1.BrickColor = BrickColor.new("Really black") | |
443 | gate1.CanCollide = false | |
444 | gate1.CFrame = char.Torso.CFrame *CFrame.new(0, 0, -5) | |
445 | gatemesh = Instance.new("SpecialMesh", gate1) | |
446 | gatemesh.MeshType = "FileMesh" | |
447 | gatemesh.MeshId = ringmesh | |
448 | gatemesh.Scale = Vector3.new(0, 0, 0) | |
449 | root.C0 = root.C0 *CFrame.Angles(0, 0, 1.57) | |
450 | for armriseinanepicway = 1,5 do | |
451 | rs.C0 = rs.C0 *CFrame.Angles(-0.314, 0, 0) | |
452 | run.Stepped:wait() | |
453 | end | |
454 | game:GetService("Chat"):Chat(char.Head, "Judgement time...") | |
455 | for expandgate1 = 1,5 do | |
456 | gatemesh.Scale = gatemesh.Scale +Vector3.new(1, 1, 0.1) | |
457 | run.Stepped:wait() | |
458 | end | |
459 | gate2 = gate1:clone() | |
460 | gate2.Parent = Workspace | |
461 | gate2.CFrame = gate1.CFrame | |
462 | for expandgate1 = 1,5 do | |
463 | gate2.Mesh.Scale = gate2.Mesh.Scale +Vector3.new(1, 1, 0.1) | |
464 | run.Stepped:wait() | |
465 | end | |
466 | gate3 = gate2:clone() | |
467 | gate3.Parent = Workspace | |
468 | gate3.CFrame = gate2.CFrame | |
469 | for expandgate1 = 1,5 do | |
470 | gate3.Mesh.Scale = gate3.Mesh.Scale +Vector3.new(1, 1, 0.1) | |
471 | run.Stepped:wait() | |
472 | end | |
473 | gate4 = gate3:clone() | |
474 | gate4.Parent = Workspace | |
475 | gate4.CFrame = gate3.CFrame | |
476 | for expandgate1 = 1,5 do | |
477 | gate4.Mesh.Scale = gate4.Mesh.Scale +Vector3.new(1, 1, 0.1) | |
478 | run.Stepped:wait() | |
479 | end | |
480 | gate5 = gate4:clone() | |
481 | gate5.Parent = Workspace | |
482 | gate5.CFrame = gate1.CFrame | |
483 | for expandgate1 = 1,5 do | |
484 | gate5.Mesh.Scale = gate5.Mesh.Scale +Vector3.new(1, 1, 0.1) | |
485 | run.Stepped:wait() | |
486 | end | |
487 | hand = gate1:clone() | |
488 | hand.Parent = Workspace | |
489 | hand.CFrame = gate1.CFrame *CFrame.new(0, 4, 0) | |
490 | hand.Mesh.MeshId = handmesh | |
491 | hand.Mesh.Scale = Vector3.new(10, 10, 0) | |
492 | for handgrowth = 1,20 do | |
493 | hand.Mesh.Scale = hand.Mesh.Scale +Vector3.new(0, 0, 0.5) | |
494 | hand.CFrame = hand.CFrame *CFrame.new(0, 0, -0.2) | |
495 | run.Stepped:wait() | |
496 | end | |
497 | ball = gate1:clone() | |
498 | ball.Parent = Workspace | |
499 | ball.Transparency = 1 | |
500 | ball.CFrame = hand.CFrame *CFrame.new(0, 0, -3) | |
501 | ball.Mesh:remove() | |
502 | ball.Shape = "Ball" | |
503 | stunning = false | |
504 | function Stunned(ball) | |
505 | h = ball.Parent:findFirstChild("Humanoid") | |
506 | if h ~= nil and h.Parent.Name ~= char.Name and stunning == false then | |
507 | stunning = true | |
508 | tor = h.Parent | |
509 | shroud = Instance.new("Part",Workspace) | |
510 | shroud.Anchored = true | |
511 | shroud.CanCollide = false | |
512 | shroud.TopSurface = 0 | |
513 | shroud.BottomSurface = 0 | |
514 | shroud.BrickColor = BrickColor.new("Really black") | |
515 | shroud.Transparency = 1 | |
516 | shroud.Shape = "Ball" | |
517 | shroud.Size = Vector3.new(1, 1, 1) | |
518 | shroud.Name = "Shroud" | |
519 | shroud.CFrame = tor.Torso.CFrame | |
520 | for shroudgrow = 1,8 do | |
521 | shroud.Size = shroud.Size +Vector3.new(1, 1, 1) | |
522 | shroud.Transparency = shroud.Transparency -0.1 | |
523 | shroud.CFrame = tor.Torso.CFrame | |
524 | run.Stepped:wait() | |
525 | end | |
526 | ||
527 | for drain = 1,60 do | |
528 | tor.Humanoid.Health = tor.Humanoid.Health -1 | |
529 | char.Humanoid.MaxHealth = char.Humanoid.MaxHealth +1 | |
530 | shroud.CFrame = tor.Torso.CFrame | |
531 | run.Stepped:wait() | |
532 | end | |
533 | game:GetService("Chat"):Chat(char.Head, "Return, Sabeles") | |
534 | shroud:remove() | |
535 | tor.Humanoid.PlatformStand = true | |
536 | stunning = false | |
537 | end | |
538 | end | |
539 | ball.Touched:connect(Stunned) | |
540 | ||
541 | ||
542 | for fadeinthejudgement = 1,10 do | |
543 | ball.Transparency = ball.Transparency -0.1 | |
544 | run.Stepped:wait() | |
545 | end | |
546 | for emplode = 1,25 do | |
547 | ball.Transparency = ball.Transparency +0.035 | |
548 | ball.Size = ball.Size +Vector3.new(4, 4, 4) | |
549 | ball.CFrame = hand.CFrame *CFrame.new(0, 0, -3) | |
550 | run.Stepped:wait() | |
551 | end | |
552 | ball:remove() | |
553 | wait(1) | |
554 | gate1.BrickColor = BrickColor.new("White") | |
555 | gate2.BrickColor = BrickColor.new("White") | |
556 | gate3.BrickColor = BrickColor.new("White") | |
557 | gate4.BrickColor = BrickColor.new("White") | |
558 | gate5.BrickColor = BrickColor.new("White") | |
559 | hand.BrickColor = BrickColor.new("White") | |
560 | for fadebacktoSables = 1,20 do | |
561 | gate1.Transparency = gate1.Transparency +0.05 | |
562 | gate2.Transparency = gate2.Transparency +0.05 | |
563 | gate3.Transparency = gate3.Transparency +0.05 | |
564 | gate4.Transparency = gate4.Transparency +0.05 | |
565 | gate5.Transparency = gate5.Transparency +0.05 | |
566 | hand.Transparency = hand.Transparency +0.05 | |
567 | run.Stepped:wait() | |
568 | end | |
569 | gate1:remove() | |
570 | gate2:remove() | |
571 | gate3:remove() | |
572 | gate4:remove() | |
573 | gate5:remove() | |
574 | hand:remove() | |
575 | ||
576 | rs.C0 = CFrame.new(1, 0.5, 0) | |
577 | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) | |
578 | root.C0 = root.C0 *CFrame.Angles(0, 0, -1.57) | |
579 | ls.C0 = ls.C0 *CFrame.Angles(0.1, 0, 0) | |
580 | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) | |
581 | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) | |
582 | char.Animate.Disabled = false | |
583 | use = false | |
584 | char.Humanoid.WalkSpeed = 16 | |
585 | wait(pulseattackwait) | |
586 | darkpulse = false | |
587 | end | |
588 | end | |
589 | mouse.KeyDown:connect(DarkPulse) | |
590 | ||
591 | function Wave(key) | |
592 | if key == "x" and use == false then | |
593 | use = true | |
594 | char.Animate.Disabled = true | |
595 | rs.C0 = rs.C0 *CFrame.Angles(-1.57, 0, 0) | |
596 | rs.C0 = rs.C0 *CFrame.Angles(0, 0, 2) | |
597 | b = Instance.new("Part", Workspace) | |
598 | b.Anchored = true | |
599 | b.CanCollide = false | |
600 | b.Size = Vector3.new(10, 10, 10) | |
601 | b.BrickColor = BrickColor.new("Really black") | |
602 | b.CFrame = char.Torso.CFrame *CFrame.new(0, 0, -8) | |
603 | m = Instance.new("SpecialMesh", b) | |
604 | m.MeshType = "FileMesh" | |
605 | m.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
606 | game:GetService("Chat"):Chat(char.Head, "Hmph, perish") | |
607 | function Pulse(b) | |
608 | h = b.Parent:findFirstChild("Humanoid") | |
609 | dmg = false | |
610 | if h ~= nil and dmg == false and h.Parent.Name ~= char.Name then | |
611 | hp = h.Parent | |
612 | dmg = true | |
613 | h.Health = h.Health -5 | |
614 | for knock = 1,10 do | |
615 | h.Parent.Torso.CFrame = h.Parent.Torso.CFrame *CFrame.new(0, 0, 1) | |
616 | run.Stepped:wait() | |
617 | end | |
618 | end | |
619 | end | |
620 | b.Touched:connect(Pulse) | |
621 | for wave = 1,8 do | |
622 | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -0.25) | |
623 | run.Stepped:wait() | |
624 | end | |
625 | for burst = 1,20 do | |
626 | m.Scale = m.Scale +Vector3.new(1.5, 1.5, 0) | |
627 | b.Transparency = b.Transparency +0.05 | |
628 | run.Stepped:wait() | |
629 | end | |
630 | rs.C0 = CFrame.new(1, 0.5, 0) | |
631 | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) | |
632 | b:remove() | |
633 | char.Animate.Disabled = false | |
634 | use = false | |
635 | end | |
636 | end | |
637 | mouse.KeyDown:connect(Wave) |