View difference between Paste ID: 2cFQw0Pi and tDUtUtP6
SHOW: | | - or go back to the newest paste.
1
player = game:service("Players").LocalPlayer
2
char = player.Character
3
local beat = true
4
local beattime = 0.6
5
suit = Instance.new("Model", char)
6
suit.Name = "Determination"
7
local vDebounce = false
8
Torso = char.Torso
9
cf = CFrame.new
10
euler = CFrame.fromEulerAnglesXYZ
11
slashvalue = 1
12
beamvalue = 1
13
onehitkill = true
14
onehitkilltwo = true
15
specialattack = false
16
for _, v in pairs(char.Head:GetChildren()) do
17
  if v.ClassName == "Decal" then
18
    v:remove()
19
  end
20
end
21
for _, v in pairs(char:GetChildren()) do
22
  if v.ClassName == "Hat" then
23
    v:remove()
24
  end
25
end
26
for _, v in pairs(char:GetChildren()) do
27
  if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "T-Shirt" or v.ClassName == "ShirtGraphic" then
28
    v:remove()
29
  end
30
end
31
shirt = Instance.new("Shirt", char)
32
pants = Instance.new("Pants", char)
33
face = Instance.new("Decal", char.Head)
34
face.Texture = "http://www.roblox.com/asset/?id=381193198"
35
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=840448827"
36
pants.PantsTemplate = "http://www.roblox.com/asset/?id=840453113"
37
local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
38
Hat.AttachmentPos = Vector3.new(0, 0.33, 0)
39
Hat.Name = "Hat_F"
40
local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
41
if Handle.Name ~= "Handle" then
42
  Handle.Size = Vector3.new(1, 1, 1)
43
end
44
Handle.BottomSurface = 0
45
Handle.Name = "Handle"
46
Handle.TopSurface = 0
47
Handle.Locked = 1
48
local Mesh = Hat:FindFirstChild("Mesh") or Instance.new("SpecialMesh", Handle)
49
Mesh.TextureId = "http://www.roblox.com/asset/?id=75975464"
50
Mesh.MeshId = "http://www.roblox.com/asset/?id=250264520 "
51
Mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
52
Hat.Parent = char
53
RW, LW = Instance.new("Weld"), Instance.new("Weld")
54
RW.Name = "Right Shoulder"
55
LW.Name = "Left Shoulder"
56
RSH, LSH = nil, nil
57
LS = Torso["Left Shoulder"]
58
LH = Torso["Left Hip"]
59
RS = Torso["Right Shoulder"]
60
RH = Torso["Right Hip"]
61
RSH = char.Torso["Right Shoulder"]
62
LSH = char.Torso["Left Shoulder"]
63
local LSounds = {
64
  MegaloStrikesBack = Instance.new("Sound")
65
}
66
LSounds.MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=317775091"
67
LSounds.MegaloStrikesBack.Volume = 10
68
function PlayLoopedSound(soundname, pitch)
69
  LSounds[soundname].Parent = char.Torso
70
  LSounds[soundname].Pitch = pitch
71
  LSounds[soundname]:Play()
72
  LSounds[soundname].Looped = true
73
  oldloopedsound = LSounds[soundname]
74
  LSounds[soundname] = LSounds[soundname]:clone()
75
end
76
local Sounds = {
77
  Hurt = Instance.new("Sound"),
78
  Slash = Instance.new("Sound"),
79
  Explode = Instance.new("Sound"),
80
  Sans = Instance.new("Sound")
81
}
82
Sounds.Slash.SoundId = "http://www.roblox.com/asset?id=394934205"
83
Sounds.Slash.Volume = 1
84
Sounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
85
Sounds.Hurt.Volume = 1
86
Sounds.Sans.SoundId = "http://www.roblox.com/asset?id=388205678"
87
Sounds.Sans.Volume = 1
88
Sounds.Explode.SoundId = "rbxasset://sounds/collide.wav"
89
Sounds.Explode.Volume = 1
90
function PlaySound(soundname, pitch)
91
  Sounds[soundname].Parent = Torso
92
  Sounds[soundname].Pitch = pitch
93
  Sounds[soundname]:Play()
94
  local oldsound = Sounds[soundname]
95
  coroutine.resume(coroutine.create(function()
96
    wait(4)
97
    oldsound:Destroy()
98
  end))
99
  Sounds[soundname] = Sounds[soundname]:clone()
100
end
101
--char.Humanoid.MaxHealth = 99999999999999999999999999
102
--char.Humanoid.Health = 9999999999999999999999999999
103
function CharaTalks()
104
  local m = Instance.new("Model", char.Head)
105
  m.Name = "* W"
106
  local chat = Instance.new("Part", m)
107
  chat.TopSurface = "Smooth"
108
  chat.BottomSurface = "Smooth"
109
  chat.Name = "Head"
110
  chat.FormFactor = "Custom"
111
  chat.Size = Vector3.new(0.05, 0.05, 0.1)
112
  chat.Transparency = 0.9
113
  chat.CanCollide = false
114
  chat.Anchored = true
115
  chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
116
  local h = Instance.new("Humanoid", m)
117
  h.MaxHealth = 0
118
  m.Name = "* We"
119
  wait()
120
  m.Name = "* Wel"
121
  wait()
122
  m.Name = "* Welc"
123
  wait()
124
  m.Name = "* Welco"
125
  wait()
126
  m.Name = "* Welcom"
127
  wait()
128
  m.Name = "* Welcome"
129
  wait()
130
  m.Name = "* Welcome "
131
  wait()
132
  m.Name = "* Welcome t"
133
  wait()
134
  m.Name = "* Welcome to"
135
  wait()
136
  m.Name = "* Welcome to "
137
  wait()
138
  m.Name = "* Welcome to m"
139
  wait()
140
  m.Name = "* Welcome to my"
141
  wait()
142
  m.Name = "* Welcome to my "
143
  wait()
144
  m.Name = "* Welcome to my S"
145
  wait()
146
  m.Name = "* Welcome to my SP"
147
  wait()
148
  m.Name = "* Welcome to my SPE"
149
  wait()
150
  m.Name = "* Welcome to my SPEC"
151
  wait()
152
  m.Name = "* Welcome to my SPECI"
153
  wait()
154
  m.Name = "* Welcome to my SPECIA"
155
  wait()
156
  m.Name = "* Welcome to my SPECIAL"
157
  wait()
158
  m.Name = "* Welcome to my SPECIAL "
159
  wait()
160
  m.Name = "* Welcome to my SPECIAL A"
161
  wait()
162
  m.Name = "* Welcome to my SPECIAL AT"
163
  wait()
164
  m.Name = "* Welcome to my SPECIAL ATT"
165
  wait()
166
  m.Name = "* Welcome to my SPECIAL ATTA"
167
  wait()
168
  m.Name = "* Welcome to my SPECIAL ATTAC"
169
  wait()
170
  m.Name = "* Welcome to my SPECIAL ATTACK"
171
  wait()
172
  m.Name = "* Welcome to my SPECIAL ATTACK!"
173
  wait()
174
  m:remove()
175
end
176
function GETDUNKED()
177
  coroutine.resume(coroutine.create(function()
178
    local m = Instance.new("Model", char.Head)
179
    m.Name = "* G"
180
    local chat = Instance.new("Part", m)
181
    chat.TopSurface = "Smooth"
182
    chat.BottomSurface = "Smooth"
183
    chat.Name = "Head"
184
    chat.FormFactor = "Custom"
185
    chat.Size = Vector3.new(0.05, 0.05, 0.1)
186
    chat.Transparency = 0.9
187
    chat.CanCollide = false
188
    chat.Anchored = true
189
    chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
190
    local h = Instance.new("Humanoid", m)
191
    h.MaxHealth = 0
192
    PlaySound("Sans", 1)
193
    m.Name = "* GE"
194
    wait(0.1)
195
    PlaySound("Sans", 1)
196
    m.Name = "* GEE"
197
    wait(0.1)
198
    PlaySound("Sans", 1)
199
    m.Name = "* GEEE"
200
    wait(0.1)
201
    PlaySound("Sans", 1)
202
    m.Name = "* GEEET"
203
    wait(0.1)
204
    PlaySound("Sans", 1)
205
    m.Name = "* GEEETT"
206
    wait(0.1)
207
    PlaySound("Sans", 1)
208
    m.Name = "* GEEETTT"
209
    wait(0.3)
210
    PlaySound("Sans", 1)
211
    m.Name = "* GEEETTT D"
212
    wait(0.1)
213
    PlaySound("Sans", 1)
214
    m.Name = "* GEEETTT DU"
215
    wait(0.1)
216
    PlaySound("Sans", 1)
217
    m.Name = "* GEEETTT DUN"
218
    wait(0.1)
219
    PlaySound("Sans", 1)
220
    m.Name = "* GEEETTT DUNK"
221
    wait(0.1)
222
    PlaySound("Sans", 1)
223
    m.Name = "* GEEETTT DUNKE"
224
    wait(0.1)
225
    PlaySound("Sans", 1)
226
    m.Name = "* GEEETTT DUNKED"
227
    wait(0.3)
228
    PlaySound("Sans", 1)
229
    m.Name = "* GEEETTT DUNKED O"
230
    wait(0.1)
231
    PlaySound("Sans", 1)
232
    m.Name = "* GEEETTT DUNKED ON"
233
    wait(0.1)
234
    PlaySound("Sans", 1)
235
    m.Name = "* GEEETTT DUNKED ON!"
236
    wait(0.3)
237
    PlaySound("Sans", 1)
238
    m.Name = "* Y"
239
    wait(0.1)
240
    PlaySound("Sans", 1)
241
    m.Name = "* Yo"
242
    wait(0.1)
243
    PlaySound("Sans", 1)
244
    m.Name = "* You"
245
    wait(0.1)
246
    PlaySound("Sans", 1)
247
    m.Name = "* You m"
248
    wait(0.1)
249
    PlaySound("Sans", 1)
250
    m.Name = "* You me"
251
    wait(0.1)
252
    PlaySound("Sans", 1)
253
    m.Name = "* You meg"
254
    wait(0.1)
255
    PlaySound("Sans", 1)
256
    m.Name = "* You mega"
257
    wait(0.1)
258
    PlaySound("Sans", 1)
259
    m.Name = "* You megal"
260
    wait(0.1)
261
    PlaySound("Sans", 1)
262
    m.Name = "* You megalo"
263
    wait(0.1)
264
    PlaySound("Sans", 1)
265
    m.Name = "* You megalom"
266
    wait(0.1)
267
    PlaySound("Sans", 1)
268
    m.Name = "* You megaloma"
269
    wait(0.1)
270
    PlaySound("Sans", 1)
271
    m.Name = "* You megaloman"
272
    wait(0.1)
273
    PlaySound("Sans", 1)
274
    m.Name = "* You megalomani"
275
    wait(0.1)
276
    PlaySound("Sans", 1)
277
    m.Name = "* You megalomania"
278
    wait(0.1)
279
    PlaySound("Sans", 1)
280
    m.Name = "* You megalomaniac"
281
    wait(0.1)
282
    PlaySound("Sans", 1)
283
    m.Name = "* You megalomaniac!"
284
    wait(3)
285
    m:remove()
286
  end))
287
end
288
function startup()
289
  coroutine.resume(coroutine.create(function()
290
    local m = Instance.new("Model", char)
291
    m.Name = "* C"
292
    local chat = Instance.new("Part", m)
293
    chat.TopSurface = "Smooth"
294
    chat.BottomSurface = "Smooth"
295
    chat.Name = "Head"
296
    chat.FormFactor = "Custom"
297
    chat.Size = Vector3.new(0.05, 0.05, 0.1)
298
    chat.Transparency = 0.9
299
    chat.CanCollide = false
300
    local Weld7 = Instance.new("Weld", char)
301
    Weld7.Part0 = char.Head
302
    Weld7.Part1 = chat
303
    Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
304
    local cy7 = Instance.new("BlockMesh", chat)
305
    local h = Instance.new("Humanoid", m)
306
    h.MaxHealth = 0
307
    m.Name = "* Black"
308
    wait(0.2)
309
    m.Name = "* Black Cha"
310
    wait(0.2)
311
    m.Name = "* Black Char"
312
    wait(0.2)
313
    m.Name = "* Black Chara"
314
    wait(0.2)
315
    m.Name = "* Black Chara."
316
    wait(0.5)
317
    m.Name = "* Black Chara.."
318
    wait(0.5)
319
    m.Name = "* Black Chara..."
320
    wait(0.5)
321
    wait(5)
322
    m:remove()
323
  end))
324
end
325
startup()
326
PlayLoopedSound("MegaloStrikesBack", 1)
327
Tool = Instance.new("HopperBin", player.Backpack)
328
Tool.Name = "Charas Megalovania Knife"
329
Tool.Selected:connect(function(mouse)
330
  RW.Part0 = char.Torso
331
  RW.C0 = CFrame.new(1.5, 0.5, 0)
332
  RW.C1 = CFrame.new(0, 0.5, 0)
333
  RW.Part1 = char["Right Arm"]
334
  RW.Parent = char.Torso
335
  handle = Instance.new("Part", suit)
336
  handle.TopSurface = "Smooth"
337
  handle.BottomSurface = "Smooth"
338
  handle.Size = Vector3.new(0.2, 0.5, 0.5)
339
  handle.CanCollide = false
340
  handle.BrickColor = BrickColor.new("Dark stone grey")
341
  handle.FormFactor = "Custom"
342
  local Weldb = Instance.new("Weld", char)
343
  Weldb.Part0 = char["Right Arm"]
344
  Weldb.Part1 = handle
345
  Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0)
346
  local KnifeMesh = Instance.new("SpecialMesh", handle)
347
  KnifeMesh.MeshType = "FileMesh"
348
  KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
349
  KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
350
  function touch(hit)
351
    if vDebounce == true and hit.Parent:findFirstChild("Humanoid") ~= nil then
352
      if hit.Parent.Name == char.Name then
353
        return
354
      end
355
      hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000
356
      do
357
        local HitSounds = {
358
          Hurt = Instance.new("Sound")
359
        }
360
        HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
361
        HitSounds.Hurt.Volume = 1
362
        function PlayHitSound(soundname, pitch)
363
          HitSounds[soundname].Parent = hit.Parent.Torso
364
          HitSounds[soundname].Pitch = pitch
365
          HitSounds[soundname]:Play()
366
          local oldsound = HitSounds[soundname]
367
          coroutine.resume(coroutine.create(function()
368
            wait(4)
369
            oldsound:Destroy()
370
          end))
371
          HitSounds[soundname] = HitSounds[soundname]:clone()
372
        end
373
        PlayHitSound("Hurt", 1)
374
      end
375
    end
376
  end
377
  handle.Touched:connect(touch)
378
  function teleportPlayer(pos)
379
    if player == nil or player.Character == nil then
380
      return
381
    end
382
    Torso.CFrame = CFrame.new(Vector3.new(pos.x, pos.y, pos.z))
383
  end
384
  function slash1()
385
    if not vDebounce then
386
      vDebounce = true
387
      RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
388
      RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
389
      wait(0.1)
390
      PlaySound("Slash", 1)
391
      coroutine.resume(coroutine.create(function()
392
        for i = 1, 10 do
393
          wait()
394
          local RedSlash = Instance.new("Part", suit)
395
          RedSlash.FormFactor = "Custom"
396
          RedSlash.Size = Vector3.new(0.5, 2, 0.5)
397
          RedSlash.Transparency = 0.5
398
          local selectionBox = Instance.new("SelectionBox", RedSlash)
399
          selectionBox.Adornee = RedSlash
400
          selectionBox.Color = BrickColor.new("Really black")
401
          selectionBox.LineThickness = 0.005
402
          RedSlash.TopSurface = 0
403
          RedSlash.BottomSurface = 0
404
          local colorc = {"Black"}
405
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
406
          RedSlash.BrickColor = Fire
407
          RedSlash.CanCollide = false
408
          RedSlash.Anchored = true
409
          RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
410
          game.Debris:AddItem(RedSlash, 0.1)
411
        end
412
      end))
413
      for i = 1, 3 do
414
        wait()
415
        RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
416
        RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
417
      end
418
      wait(0.3)
419
      RW.C0 = CFrame.new(1.5, 0.5, 0)
420
      RW.C1 = CFrame.new(0, 0.5, 0)
421
      slashvalue = slashvalue + 1
422
      vDebounce = false
423
    end
424
  end
425
  function slash2()
426
    if not vDebounce then
427
      vDebounce = true
428
      coroutine.resume(coroutine.create(function()
429
        for i = 1, 20 do
430
          wait()
431
          local RedSlash2 = Instance.new("Part", suit)
432
          RedSlash2.FormFactor = "Custom"
433
          RedSlash2.Size = Vector3.new(0.5, 2, 0.5)
434
          RedSlash2.Transparency = 0.5
435
          local selectionBox = Instance.new("SelectionBox", RedSlash2)
436
          selectionBox.Adornee = RedSlash2
437
          selectionBox.Color = BrickColor.new("Really black")
438
          selectionBox.LineThickness = 0.005
439
          RedSlash2.TopSurface = 0
440
          RedSlash2.BottomSurface = 0
441
          local colorc = {"Black"}
442
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
443
          RedSlash2.BrickColor = Fire
444
          RedSlash2.CanCollide = false
445
          RedSlash2.Anchored = true
446
          RedSlash2.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
447
          game.Debris:AddItem(RedSlash2, 0.2)
448
        end
449
      end))
450
      for i = 1, 10 do
451
        wait()
452
        RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
453
        RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
454
      end
455
      PlaySound("Slash", 1)
456
      for i = 1, 3 do
457
        wait()
458
        RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
459
        RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
460
      end
461
      wait(0.3)
462
      RW.C0 = CFrame.new(1.5, 0.5, 0)
463
      RW.C1 = CFrame.new(0, 0.5, 0)
464
      slashvalue = slashvalue + 1
465
      vDebounce = false
466
    end
467
  end
468
  function slash3()
469
    if not vDebounce then
470
      vDebounce = true
471
      PlaySound("Slash", 1)
472
      coroutine.resume(coroutine.create(function()
473
        for i = 1, 20 do
474
          wait()
475
          local RedSlash3 = Instance.new("Part", suit)
476
          RedSlash3.FormFactor = "Custom"
477
          RedSlash3.Size = Vector3.new(0.5, 2, 0.5)
478
          RedSlash3.Transparency = 0.5
479
          local selectionBox = Instance.new("SelectionBox", RedSlash3)
480
          selectionBox.Adornee = RedSlash3
481
          selectionBox.Color = BrickColor.new("Really black")
482
          selectionBox.LineThickness = 0.005
483
          RedSlash3.TopSurface = 0
484
          RedSlash3.BottomSurface = 0
485
          local colorc = {"Black"}
486
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
487
          RedSlash3.BrickColor = Fire
488
          RedSlash3.CanCollide = false
489
          RedSlash3.Anchored = true
490
          RedSlash3.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
491
          game.Debris:AddItem(RedSlash3, 0.3)
492
        end
493
      end))
494
      for i = 1, 3 do
495
        wait()
496
        RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
497
        RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
498
      end
499
      wait(0.3)
500
      PlaySound("Slash", 1)
501
      for i = 1, 3 do
502
        wait()
503
        RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
504
        RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
505
      end
506
      wait(0.3)
507
      RW.C0 = CFrame.new(1.5, 0.5, 0)
508
      RW.C1 = CFrame.new(0, 0.5, 0)
509
      slashvalue = slashvalue - 2
510
      vDebounce = false
511
    end
512
  end
513
  function KnifeBeam1()
514
    if not vDebounce then
515
      vDebounce = true
516
      RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
517
      RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
518
      wait(0.1)
519
      PlaySound("Slash", 1)
520
      coroutine.resume(coroutine.create(function()
521
        for i = 1, 10 do
522
          wait()
523
          local p = Instance.new("Part", handle)
524
          p.FormFactor = "Custom"
525
          p.Size = Vector3.new(1, 0.5, 1)
526
          p.Transparency = 0.5
527
          local selectionBox = Instance.new("SelectionBox", p)
528
          selectionBox.Adornee = p
529
          selectionBox.Color = BrickColor.new("Really black")
530
          selectionBox.LineThickness = 0.005
531
          p.Material = "Neon"
532
          p.TopSurface = 0
533
          p.BottomSurface = 0
534
          local colorc = {"Black"}
535
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
536
          p.BrickColor = Fire
537
          p.CanCollide = false
538
          p.Anchored = true
539
          p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
540
          game.Debris:AddItem(p, 0.1)
541
        end
542
      end))
543
      for i = 1, 3 do
544
        wait()
545
        RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
546
        RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
547
      end
548
      coroutine.resume(coroutine.create(function()
549
        local ps = Instance.new("Part", suit)
550
        ps.Name = "MagicPart"
551
        ps.TopSurface = "Smooth"
552
        ps.BottomSurface = "Smooth"
553
        ps.BrickColor = BrickColor.new("Institutional white")
554
        ps.Material = "Neon"
555
        ps.FormFactor = "Custom"
556
        ps.Size = Vector3.new(5, 1, 1)
557
        ps.Anchored = true
558
        ps.Transparency = 0.5
559
        ps.CanCollide = false
560
        ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
561
        local selectionBox = Instance.new("SelectionBox", ps)
562
        selectionBox.Adornee = ps
563
        selectionBox.Color = BrickColor.new("Black")
564
        selectionBox.LineThickness = 0.2
565
        selectionBox.Transparency = 0.5
566
        function touch(hit)
567
          if hit.Parent.Name == char.Name then
568
            return
569
          end
570
          if hit.Parent:findFirstChild("Humanoid") ~= nil then
571
            ps:remove()
572
            if hit.Parent.Name == char.Name then
573
              return
574
            end
575
            hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000000000000000000000000000
576
            do
577
              local HitSounds = {
578
                Hurt = Instance.new("Sound")
579
              }
580
              HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
581
              HitSounds.Hurt.Volume = 1
582
              function PlayHitSound(soundname, pitch)
583
                HitSounds[soundname].Parent = hit.Parent.Torso
584
                HitSounds[soundname].Pitch = pitch
585
                HitSounds[soundname]:Play()
586
                local oldsound = HitSounds[soundname]
587
                coroutine.resume(coroutine.create(function()
588
                  wait(4)
589
                  oldsound:Destroy()
590
                end))
591
                HitSounds[soundname] = HitSounds[soundname]:clone()
592
              end
593
              PlayHitSound("Hurt", 1)
594
            end
595
          end
596
        end
597
        ps.Touched:connect(touch)
598
        coroutine.resume(coroutine.create(function()
599
          for i = 1, 50 do
600
            wait()
601
            ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
602
          end
603
          ps.Transparency = ps.Transparency + 1
604
          wait()
605
          ps.Transparency = ps.Transparency + 1
606
          wait()
607
          ps.Transparency = ps.Transparency + 1
608
          wait()
609
          ps.Transparency = ps.Transparency + 1
610
          wait()
611
          ps.Transparency = ps.Transparency + 1
612
          wait()
613
          ps:remove()
614
        end))
615
      end))
616
      wait(0.3)
617
      RW.C0 = CFrame.new(1.5, 0.5, 0)
618
      RW.C1 = CFrame.new(0, 0.5, 0)
619
      beamvalue = beamvalue + 1
620
      vDebounce = false
621
    end
622
  end
623
  function KnifeBeam2()
624
    if not vDebounce then
625
      vDebounce = true
626
      coroutine.resume(coroutine.create(function()
627
        for i = 1, 20 do
628
          wait()
629
          local p = Instance.new("Part", handle)
630
          p.FormFactor = "Custom"
631
          p.Size = Vector3.new(1, 0.5, 1)
632
          p.Transparency = 0.5
633
          local selectionBox = Instance.new("SelectionBox", p)
634
          selectionBox.Adornee = p
635
          selectionBox.Color = BrickColor.new("Really black")
636
          selectionBox.LineThickness = 0.005
637
          p.TopSurface = 0
638
          p.BottomSurface = 0
639
          local colorc = {"Black"}
640
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
641
          p.BrickColor = Fire
642
          p.CanCollide = false
643
          p.Anchored = true
644
          p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
645
          game.Debris:AddItem(p, 0.2)
646
        end
647
      end))
648
      for i = 1, 10 do
649
        wait()
650
        RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
651
        RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
652
      end
653
      PlaySound("Slash", 1)
654
      for i = 1, 3 do
655
        wait()
656
        RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
657
        RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
658
      end
659
      coroutine.resume(coroutine.create(function()
660
        local ps = Instance.new("Part", suit)
661
        ps.Name = "MagicPart"
662
        ps.TopSurface = "Smooth"
663
        ps.BottomSurface = "Smooth"
664
        ps.BrickColor = BrickColor.new("Institutional white")
665
        ps.Material = "Neon"
666
        ps.FormFactor = "Custom"
667
        ps.Size = Vector3.new(1, 5, 1)
668
        ps.Anchored = true
669
        ps.Transparency = 0.5
670
        ps.CanCollide = false
671
        ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(-10, 0, 0)
672
        local selectionBox = Instance.new("SelectionBox", ps)
673
        selectionBox.Adornee = ps
674
        selectionBox.Color = BrickColor.new("Black")
675
        selectionBox.LineThickness = 0.2
676
        selectionBox.Transparency = 0.5
677
        function touch(hit)
678
          if hit.Parent.Name == char.Name then
679
            return
680
          end
681
          if hit.Parent:findFirstChild("Humanoid") ~= nil then
682
            ps:remove()
683
            if hit.Parent.Name == char.Name then
684
              return
685
            end
686
            hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10000000000000000000000000000000000000000000000000
687
            do
688
              local HitSounds = {
689
                Hurt = Instance.new("Sound")
690
              }
691
              HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
692
              HitSounds.Hurt.Volume = 1
693
              function PlayHitSound(soundname, pitch)
694
                HitSounds[soundname].Parent = hit.Parent.Torso
695
                HitSounds[soundname].Pitch = pitch
696
                HitSounds[soundname]:Play()
697
                local oldsound = HitSounds[soundname]
698
                coroutine.resume(coroutine.create(function()
699
                  wait(4)
700
                  oldsound:Destroy()
701
                end))
702
                HitSounds[soundname] = HitSounds[soundname]:clone()
703
              end
704
              PlayHitSound("Hurt", 1)
705
            end
706
          end
707
        end
708
        ps.Touched:connect(touch)
709
        coroutine.resume(coroutine.create(function()
710
          for i = 1, 50 do
711
            wait()
712
            ps.CFrame = ps.CFrame * CFrame.new(0, -1.9, 3)
713
          end
714
          ps.Transparency = ps.Transparency + 1
715
          wait()
716
          ps.Transparency = ps.Transparency + 1
717
          wait()
718
          ps.Transparency = ps.Transparency + 1
719
          wait()
720
          ps.Transparency = ps.Transparency + 1
721
          wait()
722
          ps.Transparency = ps.Transparency + 1
723
          wait()
724
          ps:remove()
725
        end))
726
      end))
727
      wait(0.3)
728
      RW.C0 = CFrame.new(1.5, 0.5, 0)
729
      RW.C1 = CFrame.new(0, 0.5, 0)
730
      beamvalue = beamvalue + 1
731
      vDebounce = false
732
    end
733
  end
734
  function KnifeBeam3()
735
    if not vDebounce then
736
      vDebounce = true
737
      RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
738
      RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
739
      wait(0.1)
740
      PlaySound("Slash", 1)
741
      coroutine.resume(coroutine.create(function()
742
        for i = 1, 10 do
743
          wait()
744
          local p = Instance.new("Part", handle)
745
          p.FormFactor = "Custom"
746
          p.Size = Vector3.new(1, 0.5, 1)
747
          p.Transparency = 0.5
748
          local selectionBox = Instance.new("SelectionBox", p)
749
          selectionBox.Adornee = p
750
          selectionBox.Color = BrickColor.new("Really black")
751
          selectionBox.LineThickness = 0.005
752
          p.Material = "Neon"
753
          p.TopSurface = 0
754
          p.BottomSurface = 0
755
          local colorc = {"Black"}
756
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
757
          p.BrickColor = Fire
758
          p.CanCollide = false
759
          p.Anchored = true
760
          p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
761
          game.Debris:AddItem(p, 0.1)
762
        end
763
      end))
764
      for i = 1, 3 do
765
        wait()
766
        RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
767
        RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
768
      end
769
      coroutine.resume(coroutine.create(function()
770
        local ps = Instance.new("Part", suit)
771
        ps.Name = "MagicPart"
772
        ps.TopSurface = "Smooth"
773
        ps.BottomSurface = "Smooth"
774
        ps.BrickColor = BrickColor.new("Institutional white")
775
        ps.Material = "Neon"
776
        ps.FormFactor = "Custom"
777
        ps.Size = Vector3.new(10, 10, 1)
778
        ps.Anchored = true
779
        ps.Transparency = 0.5
780
        ps.CanCollide = false
781
        ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
782
        local selectionBox = Instance.new("SelectionBox", ps)
783
        selectionBox.Adornee = ps
784
        selectionBox.Color = BrickColor.new("Black")
785
        selectionBox.LineThickness = 0.2
786
        selectionBox.Transparency = 0.5
787
        function touch(hit)
788
          if hit.Parent.Name == char.Name then
789
            return
790
          end
791
          if hit.Parent:findFirstChild("Humanoid") ~= nil then
792
            ps:remove()
793
            if hit.Parent.Name == char.Name then
794
              return
795
            end
796
            hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000
797
            do
798
              local HitSounds = {
799
                Hurt = Instance.new("Sound")
800
              }
801
              HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
802
              HitSounds.Hurt.Volume = 1
803
              function PlayHitSound(soundname, pitch)
804
                HitSounds[soundname].Parent = hit.Parent.Torso
805
                HitSounds[soundname].Pitch = pitch
806
                HitSounds[soundname]:Play()
807
                local oldsound = HitSounds[soundname]
808
                coroutine.resume(coroutine.create(function()
809
                  wait(4)
810
                  oldsound:Destroy()
811
                end))
812
                HitSounds[soundname] = HitSounds[soundname]:clone()
813
              end
814
              PlayHitSound("Hurt", 1)
815
            end
816
          end
817
        end
818
        ps.Touched:connect(touch)
819
        coroutine.resume(coroutine.create(function()
820
          for i = 1, 50 do
821
            wait()
822
            ps.CFrame = ps.CFrame * CFrame.new(0, 0, -5)
823
          end
824
          ps.Transparency = ps.Transparency + 1
825
          wait()
826
          ps.Transparency = ps.Transparency + 1
827
          wait()
828
          ps.Transparency = ps.Transparency + 1
829
          wait()
830
          ps.Transparency = ps.Transparency + 1
831
          wait()
832
          ps.Transparency = ps.Transparency + 1
833
          wait()
834
          ps:remove()
835
        end))
836
      end))
837
      wait(0.3)
838
      RW.C0 = CFrame.new(1.5, 0.5, 0)
839
      RW.C1 = CFrame.new(0, 0.5, 0)
840
      beamvalue = beamvalue - 2
841
      vDebounce = false
842
    end
843
  end
844
  function drawded()
845
    if onehitkill == true then
846
      onehitkill = false
847
      RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
848
      RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
849
      wait(0.1)
850
      PlaySound("Slash", 1)
851
      coroutine.resume(coroutine.create(function()
852
        for i = 1, 10 do
853
          wait()
854
          local p = Instance.new("Part", handle)
855
          p.FormFactor = "Custom"
856
          p.Size = Vector3.new(1, 1, 1)
857
          p.Transparency = 0.5
858
          local selectionBox = Instance.new("SelectionBox", p)
859
          selectionBox.Adornee = p
860
          selectionBox.Color = BrickColor.new("Really black")
861
          selectionBox.LineThickness = 0.001
862
          p.TopSurface = 0
863
          p.BottomSurface = 0
864
          local colorc = {
865
            "Really black"
866
          }
867
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
868
          p.BrickColor = Fire
869
          p.CanCollide = false
870
          p.Anchored = true
871
          p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
872
          game.Debris:AddItem(p, 0.1)
873
        end
874
      end))
875
      for i = 1, 3 do
876
        wait()
877
        RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
878
        RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
879
      end
880
      coroutine.resume(coroutine.create(function()
881
        ultra = Instance.new("Part", suit)
882
        ultra.Name = "MagicPart"
883
        ultra.TopSurface = "Smooth"
884
        ultra.BottomSurface = "Smooth"
885
        ultra.BrickColor = BrickColor.new("Really black")
886
        ultra.Material = "Neon"
887
        ultra.FormFactor = "Custom"
888
        ultra.Size = Vector3.new(5, 1, 1)
889
        ultra.Anchored = true
890
        ultra.CanCollide = false
891
        ultra.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
892
        local selectionBox = Instance.new("SelectionBox", ultra)
893
        selectionBox.Adornee = ultra
894
        selectionBox.Color = BrickColor.new("Really black")
895
        selectionBox.LineThickness = 0.01
896
        selectionBox.Transparency = 0
897
      end))
898
      wait(0.3)
899
      RW.C0 = CFrame.new(1.5, 0.5, 0)
900
      RW.C1 = CFrame.new(0, 0.5, 0)
901
      RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
902
      RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
903
      wait(0.1)
904
      PlaySound("Slash", 1)
905
      coroutine.resume(coroutine.create(function()
906
        for i = 1, 10 do
907
          wait()
908
          local p = Instance.new("Part", handle)
909
          p.FormFactor = "Custom"
910
          p.Size = Vector3.new(1, 0.5, 1)
911
          p.Transparency = 0.5
912
          local selectionBox = Instance.new("SelectionBox", p)
913
          selectionBox.Adornee = p
914
          selectionBox.Color = BrickColor.new("Really black")
915
          selectionBox.LineThickness = 0.001
916
          p.TopSurface = 0
917
          p.BottomSurface = 0
918
          local colorc = {
919
            "Really black"
920
          }
921
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
922
          p.BrickColor = Fire
923
          p.CanCollide = false
924
          p.Anchored = true
925
          p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
926
          game.Debris:AddItem(p, 0.1)
927
        end
928
      end))
929
      for i = 1, 3 do
930
        wait()
931
        RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
932
        RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
933
      end
934
      coroutine.resume(coroutine.create(function()
935
        ultra2 = Instance.new("Part", suit)
936
        ultra2.Name = "MagicPart"
937
        ultra2.TopSurface = "Smooth"
938
        ultra2.BottomSurface = "Smooth"
939
        ultra2.BrickColor = BrickColor.new("Really black")
940
        ultra2.Material = "Neon"
941
        ultra2.FormFactor = "Custom"
942
        ultra2.Size = Vector3.new(5, 1, 1)
943
        ultra2.Anchored = true
944
        ultra2.CanCollide = false
945
        ultra2.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
946
        local selectionBox = Instance.new("SelectionBox", ultra2)
947
        selectionBox.Adornee = ultra2
948
        selectionBox.Color = BrickColor.new("Really black")
949
        selectionBox.LineThickness = 0.01
950
        selectionBox.Transparency = 0
951
      end))
952
      wait(0.3)
953
      RW.C0 = CFrame.new(1.5, 0.5, 0)
954
      RW.C1 = CFrame.new(0, 0.5, 0)
955
      PlaySound("Slash", 1)
956
      coroutine.resume(coroutine.create(function()
957
        ultra3 = Instance.new("Part", suit)
958
        ultra3.Name = "MagicPart"
959
        ultra3.TopSurface = "Smooth"
960
        ultra3.BottomSurface = "Smooth"
961
        ultra3.BrickColor = BrickColor.new("Really black")
962
        ultra3.Material = "Neon"
963
        ultra3.FormFactor = "Custom"
964
        ultra3.Size = Vector3.new(1, 5, 1)
965
        ultra3.Anchored = true
966
        ultra3.CanCollide = false
967
        ultra3.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
968
        local selectionBox = Instance.new("SelectionBox", ultra3)
969
        selectionBox.Adornee = ultra3
970
        selectionBox.Color = BrickColor.new("Really black")
971
        selectionBox.LineThickness = 0.01
972
        selectionBox.Transparency = 0
973
      end))
974
      coroutine.resume(coroutine.create(function()
975
        for i = 1, 10 do
976
          wait()
977
          local p = Instance.new("Part", handle)
978
          p.FormFactor = "Custom"
979
          p.Size = Vector3.new(1, 0.5, 1)
980
          p.Transparency = 0.5
981
          local selectionBox = Instance.new("SelectionBox", p)
982
          selectionBox.Adornee = p
983
          selectionBox.Color = BrickColor.new("Really black")
984
          selectionBox.LineThickness = 0.001
985
          p.TopSurface = 0
986
          p.BottomSurface = 0
987
          local colorc = {
988
            "Really black"
989
          }
990
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
991
          p.BrickColor = Fire
992
          p.CanCollide = false
993
          p.Anchored = true
994
          p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
995
          game.Debris:AddItem(p, 0.1)
996
        end
997
      end))
998
      coroutine.resume(coroutine.create(function()
999
        for i = 1, 20 do
1000
          wait()
1001
          local p = Instance.new("Part", handle)
1002
          p.FormFactor = "Custom"
1003
          p.Size = Vector3.new(1, 0.5, 1)
1004
          p.Transparency = 0.5
1005
          local selectionBox = Instance.new("SelectionBox", p)
1006
          selectionBox.Adornee = p
1007
          selectionBox.Color = BrickColor.new("Really black")
1008
          selectionBox.LineThickness = 0.005
1009
          p.TopSurface = 0
1010
          p.BottomSurface = 0
1011
          local colorc = {"Black"}
1012
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1013
          p.BrickColor = Fire
1014
          p.CanCollide = false
1015
          p.Anchored = true
1016
          p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
1017
          game.Debris:AddItem(p, 0.3)
1018
        end
1019
      end))
1020
      for i = 1, 3 do
1021
        wait()
1022
        RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
1023
        RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
1024
      end
1025
      wait(0.3)
1026
      PlaySound("Slash", 1)
1027
      coroutine.resume(coroutine.create(function()
1028
        ultra4 = Instance.new("Part", suit)
1029
        ultra4.Name = "MagicPart"
1030
        ultra4.TopSurface = "Smooth"
1031
        ultra4.BottomSurface = "Smooth"
1032
        ultra4.BrickColor = BrickColor.new("Really black")
1033
        ultra4.Material = "Neon"
1034
        ultra4.FormFactor = "Custom"
1035
        ultra4.Size = Vector3.new(1, 5, 1)
1036
        ultra4.Anchored = true
1037
        ultra4.CanCollide = false
1038
        ultra4.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
1039
        local selectionBox = Instance.new("SelectionBox", ultra3)
1040
        selectionBox.Adornee = ultra4
1041
        selectionBox.Color = BrickColor.new("Really black")
1042
        selectionBox.LineThickness = 0.01
1043
        selectionBox.Transparency = 0
1044
      end))
1045
      for i = 1, 3 do
1046
        wait()
1047
        RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
1048
        RW.C1 = cf(0, 0.5, 0) * euler(0.3 * i, 0, 0)
1049
      end
1050
      wait(0.3)
1051
      RW.C0 = CFrame.new(1.5, 0.5, 0)
1052
      RW.C1 = CFrame.new(0, 0.5, 0)
1053
      RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
1054
      RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
1055
      wait(0.1)
1056
      PlaySound("Slash", 1)
1057
      coroutine.resume(coroutine.create(function()
1058
        for i = 1, 10 do
1059
          wait()
1060
          local p = Instance.new("Part", handle)
1061
          p.FormFactor = "Custom"
1062
          p.Size = Vector3.new(1, 0.5, 1)
1063
          p.Transparency = 0.5
1064
          local selectionBox = Instance.new("SelectionBox", p)
1065
          selectionBox.Adornee = p
1066
          selectionBox.Color = BrickColor.new("Really black")
1067
          selectionBox.LineThickness = 0.001
1068
          p.TopSurface = 0
1069
          p.BottomSurface = 0
1070
          local colorc = {
1071
            "Really black"
1072
          }
1073
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1074
          p.BrickColor = Fire
1075
          p.CanCollide = false
1076
          p.Anchored = true
1077
          p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
1078
          game.Debris:AddItem(p, 0.1)
1079
        end
1080
      end))
1081
      for i = 1, 3 do
1082
        wait()
1083
        RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
1084
        RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
1085
      end
1086
      coroutine.resume(coroutine.create(function()
1087
        ultra5 = Instance.new("Part", suit)
1088
        ultra5.Name = "MagicPart"
1089
        ultra5.TopSurface = "Smooth"
1090
        ultra5.BottomSurface = "Smooth"
1091
        ultra5.BrickColor = BrickColor.new("Really black")
1092
        ultra5.Material = "Neon"
1093
        ultra5.FormFactor = "Custom"
1094
        ultra5.Size = Vector3.new(5, 1, 1)
1095
        ultra5.Anchored = true
1096
        ultra5.CanCollide = false
1097
        ultra5.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
1098
        local selectionBox = Instance.new("SelectionBox", ultra2)
1099
        selectionBox.Adornee = ultra5
1100
        selectionBox.Color = BrickColor.new("Really black")
1101
        selectionBox.LineThickness = 0.01
1102
        selectionBox.Transparency = 0
1103
      end))
1104
      wait()
1105
      local p = Instance.new("Part", handle)
1106
      p.FormFactor = "Custom"
1107
      p.Material = "Neon"
1108
      p.Size = Vector3.new(1, 2, 1)
1109
      p.Transparency = 0
1110
      local selectionBox = Instance.new("SelectionBox", p)
1111
      selectionBox.Adornee = p
1112
      selectionBox.Color = BrickColor.new("Really black")
1113
      selectionBox.LineThickness = 0.001
1114
      p.TopSurface = 0
1115
      p.BottomSurface = 0
1116
      local colorc = {
1117
        "Really black"
1118
      }
1119
      local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1120
      p.BrickColor = Fire
1121
      p.CanCollide = false
1122
      p.Anchored = true
1123
      p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
1124
      local light1 = Instance.new("SpotLight", p)
1125
      light1.Brightness = 164
1126
      light1.Color = Color3.new(255, 0, 0)
1127
      light1.Range = 7
1128
      for i = 1, 13 do
1129
        p.Transparency = p.Transparency + 0.1
1130
        p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
1131
        wait()
1132
      end
1133
      game.Debris:AddItem(p, 0.1)
1134
      coroutine.resume(coroutine.create(function()
1135
        coroutine.resume(coroutine.create(function()
1136
          for i = 1, 100 do
1137
            wait()
1138
            ultra.CFrame = ultra.CFrame * CFrame.new(0, 0, -4)
1139
          end
1140
        end))
1141
        coroutine.resume(coroutine.create(function()
1142
          for i = 1, 100 do
1143
            wait()
1144
            ultra2.CFrame = ultra2.CFrame * CFrame.new(0, 0, -4)
1145
          end
1146
        end))
1147
        coroutine.resume(coroutine.create(function()
1148
          for i = 1, 100 do
1149
            wait()
1150
            ultra3.CFrame = ultra3.CFrame * CFrame.new(0, 0, -4)
1151
          end
1152
        end))
1153
        coroutine.resume(coroutine.create(function()
1154
          for i = 1, 100 do
1155
            wait()
1156
            ultra4.CFrame = ultra4.CFrame * CFrame.new(0, 0, -4)
1157
          end
1158
        end))
1159
        coroutine.resume(coroutine.create(function()
1160
          for i = 1, 100 do
1161
            wait()
1162
            ultra5.CFrame = ultra5.CFrame * CFrame.new(0, 0, -4)
1163
          end
1164
        end))
1165
        wait(3)
1166
        ultra.Transparency = ultra.Transparency + 1
1167
        ultra2.Transparency = ultra2.Transparency + 1
1168
        ultra3.Transparency = ultra3.Transparency + 1
1169
        ultra4.Transparency = ultra4.Transparency + 1
1170
        ultra5.Transparency = ultra5.Transparency + 1
1171
        wait()
1172
        ultra.Transparency = ultra.Transparency + 1
1173
        ultra2.Transparency = ultra2.Transparency + 1
1174
        ultra3.Transparency = ultra3.Transparency + 1
1175
        ultra4.Transparency = ultra4.Transparency + 1
1176
        ultra5.Transparency = ultra5.Transparency + 1
1177
        wait()
1178
        ultra.Transparency = ultra.Transparency + 1
1179
        ultra2.Transparency = ultra2.Transparency + 1
1180
        ultra3.Transparency = ultra3.Transparency + 1
1181
        ultra4.Transparency = ultra4.Transparency + 1
1182
        ultra5.Transparency = ultra5.Transparency + 1
1183
        wait()
1184
        ultra.Transparency = ultra.Transparency + 1
1185
        ultra2.Transparency = ultra2.Transparency + 1
1186
        ultra3.Transparency = ultra3.Transparency + 1
1187
        ultra4.Transparency = ultra4.Transparency + 1
1188
        ultra5.Transparency = ultra5.Transparency + 1
1189
        wait()
1190
        ultra.Transparency = ultra.Transparency + 1
1191
        ultra2.Transparency = ultra2.Transparency + 1
1192
        ultra3.Transparency = ultra3.Transparency + 1
1193
        ultra4.Transparency = ultra4.Transparency + 1
1194
        ultra5.Transparency = ultra5.Transparency + 1
1195
        wait()
1196
        ultra:remove()
1197
        ultra2:remove()
1198
        ultra3:remove()
1199
        ultra4:remove()
1200
        ultra5:remove()
1201
      end))
1202
      function touch(hit)
1203
        if hit.Parent.Name == char.Name then
1204
          return
1205
        end
1206
        if hit.Parent:findFirstChild("Humanoid") ~= nil then
1207
          if hit.Parent.Name == char.Name then
1208
            return
1209
          end
1210
          hit.Parent:BreakJoints()
1211
          ultra:remove()
1212
          do
1213
            local HitSounds = {
1214
              Hurt = Instance.new("Sound")
1215
            }
1216
            HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
1217
            HitSounds.Hurt.Volume = 1
1218
            function PlayHitSound(soundname, pitch)
1219
              HitSounds[soundname].Parent = hit.Parent.Torso
1220
              HitSounds[soundname].Pitch = pitch
1221
              HitSounds[soundname]:Play()
1222
              local oldsound = HitSounds[soundname]
1223
              coroutine.resume(coroutine.create(function()
1224
                wait(4)
1225
                oldsound:Destroy()
1226
              end))
1227
              HitSounds[soundname] = HitSounds[soundname]:clone()
1228
            end
1229
            PlayHitSound("Hurt", 1)
1230
          end
1231
        end
1232
      end
1233
      ultra.Touched:connect(touch)
1234
      function touch(hit)
1235
        if hit.Parent.Name == char.Name then
1236
          return
1237
        end
1238
        if hit.Parent:findFirstChild("Humanoid") ~= nil then
1239
          if hit.Parent.Name == char.Name then
1240
            return
1241
          end
1242
          hit.Parent:BreakJoints()
1243
          ultra2:remove()
1244
          do
1245
            local HitSounds = {
1246
              Hurt = Instance.new("Sound")
1247
            }
1248
            HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
1249
            HitSounds.Hurt.Volume = 1
1250
            function PlayHitSound(soundname, pitch)
1251
              HitSounds[soundname].Parent = hit.Parent.Torso
1252
              HitSounds[soundname].Pitch = pitch
1253
              HitSounds[soundname]:Play()
1254
              local oldsound = HitSounds[soundname]
1255
              coroutine.resume(coroutine.create(function()
1256
                wait(4)
1257
                oldsound:Destroy()
1258
              end))
1259
              HitSounds[soundname] = HitSounds[soundname]:clone()
1260
            end
1261
            PlayHitSound("Hurt", 1)
1262
          end
1263
        end
1264
      end
1265
      ultra2.Touched:connect(touch)
1266
      function touch(hit)
1267
        if hit.Parent.Name == char.Name then
1268
          return
1269
        end
1270
        if hit.Parent:findFirstChild("Humanoid") ~= nil then
1271
          if hit.Parent.Name == char.Name then
1272
            return
1273
          end
1274
          hit.Parent:BreakJoints()
1275
          ultra2:remove()
1276
          do
1277
            local HitSounds = {
1278
              Hurt = Instance.new("Sound")
1279
            }
1280
            HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
1281
            HitSounds.Hurt.Volume = 1
1282
            function PlayHitSound(soundname, pitch)
1283
              HitSounds[soundname].Parent = hit.Parent.Torso
1284
              HitSounds[soundname].Pitch = pitch
1285
              HitSounds[soundname]:Play()
1286
              local oldsound = HitSounds[soundname]
1287
              coroutine.resume(coroutine.create(function()
1288
                wait(4)
1289
                oldsound:Destroy()
1290
              end))
1291
              HitSounds[soundname] = HitSounds[soundname]:clone()
1292
            end
1293
            PlayHitSound("Hurt", 1)
1294
          end
1295
        end
1296
      end
1297
      ultra2.Touched:connect(touch)
1298
      function touch(hit)
1299
        if hit.Parent.Name == char.Name then
1300
          return
1301
        end
1302
        if hit.Parent:findFirstChild("Humanoid") ~= nil then
1303
          if hit.Parent.Name == char.Name then
1304
            return
1305
          end
1306
          hit.Parent:BreakJoints()
1307
          ultra3:remove()
1308
          do
1309
            local HitSounds = {
1310
              Hurt = Instance.new("Sound")
1311
            }
1312
            HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
1313
            HitSounds.Hurt.Volume = 1
1314
            function PlayHitSound(soundname, pitch)
1315
              HitSounds[soundname].Parent = hit.Parent.Torso
1316
              HitSounds[soundname].Pitch = pitch
1317
              HitSounds[soundname]:Play()
1318
              local oldsound = HitSounds[soundname]
1319
              coroutine.resume(coroutine.create(function()
1320
                wait(4)
1321
                oldsound:Destroy()
1322
              end))
1323
              HitSounds[soundname] = HitSounds[soundname]:clone()
1324
            end
1325
            PlayHitSound("Hurt", 1)
1326
          end
1327
        end
1328
      end
1329
      ultra3.Touched:connect(touch)
1330
      function touch(hit)
1331
        if hit.Parent.Name == char.Name then
1332
          return
1333
        end
1334
        if hit.Parent:findFirstChild("Humanoid") ~= nil then
1335
          if hit.Parent.Name == char.Name then
1336
            return
1337
          end
1338
          hit.Parent:BreakJoints()
1339
          ultra4:remove()
1340
          do
1341
            local HitSounds = {
1342
              Hurt = Instance.new("Sound")
1343
            }
1344
            HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
1345
            HitSounds.Hurt.Volume = 1
1346
            function PlayHitSound(soundname, pitch)
1347
              HitSounds[soundname].Parent = hit.Parent.Torso
1348
              HitSounds[soundname].Pitch = pitch
1349
              HitSounds[soundname]:Play()
1350
              local oldsound = HitSounds[soundname]
1351
              coroutine.resume(coroutine.create(function()
1352
                wait(4)
1353
                oldsound:Destroy()
1354
              end))
1355
              HitSounds[soundname] = HitSounds[soundname]:clone()
1356
            end
1357
            PlayHitSound("Hurt", 1)
1358
          end
1359
        end
1360
      end
1361
      ultra4.Touched:connect(touch)
1362
      function touch(hit)
1363
        if hit.Parent.Name == char.Name then
1364
          return
1365
        end
1366
        if hit.Parent:findFirstChild("Humanoid") ~= nil then
1367
          if hit.Parent.Name == char.Name then
1368
            return
1369
          end
1370
          hit.Parent:BreakJoints()
1371
          ultra5:remove()
1372
          do
1373
            local HitSounds = {
1374
              Hurt = Instance.new("Sound")
1375
            }
1376
            HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
1377
            HitSounds.Hurt.Volume = 1
1378
            function PlayHitSound(soundname, pitch)
1379
              HitSounds[soundname].Parent = hit.Parent.Torso
1380
              HitSounds[soundname].Pitch = pitch
1381
              HitSounds[soundname]:Play()
1382
              local oldsound = HitSounds[soundname]
1383
              coroutine.resume(coroutine.create(function()
1384
                wait(4)
1385
                oldsound:Destroy()
1386
              end))
1387
              HitSounds[soundname] = HitSounds[soundname]:clone()
1388
            end
1389
            PlayHitSound("Hurt", 1)
1390
          end
1391
        end
1392
      end
1393
      ultra5.Touched:connect(touch)
1394
      wait()
1395
      RW.C0 = CFrame.new(1.5, 0.5, 0)
1396
      RW.C1 = CFrame.new(0, 0.5, 0)
1397
      local Dialogconnect = Instance.new("Part", suit)
1398
      Dialogconnect.TopSurface = "Smooth"
1399
      Dialogconnect.BottomSurface = "Smooth"
1400
      Dialogconnect.Material = "Neon"
1401
      Dialogconnect.FormFactor = "Custom"
1402
      Dialogconnect.Size = Vector3.new(1, 1, 1)
1403
      Dialogconnect.Transparency = 1
1404
      Dialogconnect.CanCollide = false
1405
      Dialogconnect.BrickColor = BrickColor.new("Black")
1406
      local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
1407
      selectionBox1.Adornee = Dialogconnect
1408
      selectionBox1.Color = BrickColor.new("Really black")
1409
      selectionBox1.LineThickness = 0.01
1410
      selectionBox1.Transparency = 1
1411
      local Weld = Instance.new("Weld", char)
1412
      Weld.Part0 = char.Torso
1413
      Weld.Part1 = Dialogconnect
1414
      Weld.C1 = CFrame.new(0, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
1415
      Dialogconnect.Transparency = 1
1416
      selectionBox1.Transparency = 1
1417
      wait()
1418
      Dialogconnect.Transparency = 0
1419
      selectionBox1.Transparency = 0
1420
      wait()
1421
      Dialogconnect.Transparency = 1
1422
      selectionBox1.Transparency = 1
1423
      wait()
1424
      Dialogconnect.Transparency = 0
1425
      selectionBox1.Transparency = 0
1426
      wait()
1427
      Dialogconnect.Transparency = 1
1428
      selectionBox1.Transparency = 1
1429
      wait()
1430
      Dialogconnect.Transparency = 0
1431
      selectionBox1.Transparency = 0
1432
      wait()
1433
      Dialogconnect.Transparency = 1
1434
      selectionBox1.Transparency = 1
1435
      wait()
1436
      Dialogconnect.Transparency = 0
1437
      selectionBox1.Transparency = 0
1438
      wait()
1439
      Dialogconnect.Transparency = 1
1440
      selectionBox1.Transparency = 1
1441
      wait()
1442
      Dialogconnect.Transparency = 0
1443
      selectionBox1.Transparency = 0
1444
      wait()
1445
      Dialogconnect.Transparency = 1
1446
      selectionBox1.Transparency = 1
1447
      wait()
1448
      Dialogconnect.Transparency = 0
1449
      selectionBox1.Transparency = 0
1450
      wait()
1451
      Dialogconnect.Transparency = 1
1452
      selectionBox1.Transparency = 1
1453
      wait()
1454
      Dialogconnect.Transparency = 0
1455
      selectionBox1.Transparency = 0
1456
      wait()
1457
      Dialogconnect.Transparency = 1
1458
      selectionBox1.Transparency = 1
1459
      wait()
1460
      Dialogconnect.Transparency = 0
1461
      selectionBox1.Transparency = 0
1462
      Dialogconnect.BrickColor = BrickColor.new("New Yeller")
1463
      wait()
1464
      Dialogconnect.Transparency = 1
1465
      selectionBox1.Transparency = 1
1466
      wait()
1467
      Dialogconnect.Transparency = 0
1468
      selectionBox1.Transparency = 0
1469
      wait()
1470
      Dialogconnect.Transparency = 1
1471
      selectionBox1.Transparency = 1
1472
      wait()
1473
      Dialogconnect.Transparency = 0
1474
      selectionBox1.Transparency = 0
1475
      wait()
1476
      Dialogconnect.Transparency = 1
1477
      selectionBox1.Transparency = 1
1478
      wait()
1479
      Dialogconnect.Transparency = 0
1480
      selectionBox1.Transparency = 0
1481
      wait()
1482
      Dialogconnect.Transparency = 1
1483
      selectionBox1.Transparency = 1
1484
      wait()
1485
      Dialogconnect.Transparency = 0
1486
      selectionBox1.Transparency = 0
1487
      Dialogconnect.BrickColor = BrickColor.new("Lime green")
1488
      wait()
1489
      Dialogconnect.Transparency = 1
1490
      selectionBox1.Transparency = 1
1491
      wait()
1492
      Dialogconnect.Transparency = 0
1493
      selectionBox1.Transparency = 0
1494
      wait()
1495
      Dialogconnect.Transparency = 1
1496
      selectionBox1.Transparency = 1
1497
      wait()
1498
      Dialogconnect.Transparency = 0
1499
      selectionBox1.Transparency = 0
1500
      wait()
1501
      Dialogconnect.Transparency = 1
1502
      selectionBox1.Transparency = 1
1503
      wait()
1504
      Dialogconnect.Transparency = 0
1505
      selectionBox1.Transparency = 0
1506
      wait()
1507
      Dialogconnect.Transparency = 1
1508
      selectionBox1.Transparency = 1
1509
      wait()
1510
      Dialogconnect.Transparency = 0
1511
      selectionBox1.Transparency = 0
1512
      wait()
1513
      Dialogconnect.Transparency = 0
1514
      wait()
1515
      Dialogconnect.Transparency = 1
1516
      selectionBox1.Transparency = 1
1517
      wait()
1518
      Dialogconnect.Transparency = 0
1519
      selectionBox1.Transparency = 0
1520
      wait()
1521
      Dialogconnect.Transparency = 1
1522
      selectionBox1.Transparency = 1
1523
      wait()
1524
      Dialogconnect.Transparency = 0
1525
      selectionBox1.Transparency = 0
1526
      wait()
1527
      Dialogconnect.Transparency = 1
1528
      selectionBox1.Transparency = 1
1529
      wait()
1530
      Dialogconnect.Transparency = 0
1531
      selectionBox1.Transparency = 0
1532
      wait()
1533
      Dialogconnect.Transparency = 1
1534
      selectionBox1.Transparency = 1
1535
      wait()
1536
      Dialogconnect.Transparency = 0
1537
      selectionBox1.Transparency = 0
1538
      Dialogconnect:remove()
1539
      onehitkill = true
1540
    end
1541
  end
1542
  function Stuckhit()
1543
    if not vDebounce then
1544
      vDebounce = true
1545
      RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
1546
      RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
1547
      wait(0.1)
1548
      PlaySound("Slash", 1)
1549
      coroutine.resume(coroutine.create(function()
1550
        for i = 1, 10 do
1551
          wait()
1552
          local RedSlash = Instance.new("Part", handle)
1553
          RedSlash.FormFactor = "Custom"
1554
          RedSlash.Size = Vector3.new(0.5, 2, 0.5)
1555
          RedSlash.Transparency = 0.5
1556
          local selectionBox = Instance.new("SelectionBox", RedSlash)
1557
          selectionBox.Adornee = RedSlash
1558
          selectionBox.Color = BrickColor.new("Really black")
1559
          selectionBox.LineThickness = 0.005
1560
          RedSlash.TopSurface = 0
1561
          RedSlash.BottomSurface = 0
1562
          local colorc = {"Black"}
1563
          local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1564
          RedSlash.BrickColor = Fire
1565
          RedSlash.CanCollide = false
1566
          RedSlash.Anchored = true
1567
          RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
1568
          game.Debris:AddItem(RedSlash, 0.1)
1569
        end
1570
      end))
1571
      for i = 1, 3 do
1572
        wait()
1573
        RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
1574
        RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
1575
      end
1576
      local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 1000)
1577
      local hit, position = game.Workspace:FindPartOnRay(ray, player)
1578
      wait(0.1)
1579
      local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 300)
1580
      local position = mouse.Hit.p
1581
      local distance = (position - Handle.CFrame.p).magnitude
1582
      local rp = Instance.new("Part", workspace)
1583
      rp.Anchored = true
1584
      rp.TopSurface = "Smooth"
1585
      rp.BottomSurface = "Smooth"
1586
      rp.Transparency = 1
1587
      rp.BrickColor = BrickColor.new("Deep orange")
1588
      rp.FormFactor = "Custom"
1589
      rp.CanCollide = false
1590
      rp.Size = Vector3.new(0.6, 0.6, distance)
1591
      rp.Material = "Neon"
1592
      rp.CFrame = CFrame.new(position, Handle.CFrame.p) * CFrame.new(0, 0, -distance / 2)
1593
      local cy = Instance.new("BlockMesh", rp)
1594
      for i = 1, 10 do
1595
        wait()
1596
        cy.Scale = cy.Scale - Vector3.new(0.1, 0.1, 0)
1597
      end
1598
      rp:Destroy()
1599
      local ps = Instance.new("Part", suit)
1600
      ps.Name = "MagicPart"
1601
      ps.TopSurface = "Smooth"
1602
      ps.BottomSurface = "Smooth"
1603
      ps.BrickColor = BrickColor.new("Black")
1604
      ps.FormFactor = "Custom"
1605
      ps.Transparency = 0.9
1606
      ps.Size = Vector3.new(5, 250, 5)
1607
      ps.Anchored = true
1608
      ps.CanCollide = false
1609
      ps.CFrame = CFrame.new(position)
1610
      local cy = Instance.new("BlockMesh", ps)
1611
      function touch(hit)
1612
        if hit.Parent:findFirstChild("Humanoid") ~= nil then
1613
          if hit.Parent.Name == char.Name then
1614
            return
1615
          end
1616
          hit.Parent.Torso.Anchored = true
1617
          do
1618
            local HitSounds = {
1619
              Hurt = Instance.new("Sound")
1620
            }
1621
            HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
1622
            HitSounds.Hurt.Volume = 1
1623
            function PlayHitSound(soundname, pitch)
1624
              HitSounds[soundname].Parent = hit.Parent.Torso
1625
              HitSounds[soundname].Pitch = pitch
1626
              HitSounds[soundname]:Play()
1627
              local oldsound = HitSounds[soundname]
1628
              coroutine.resume(coroutine.create(function()
1629
                wait(4)
1630
                oldsound:Destroy()
1631
              end))
1632
              HitSounds[soundname] = HitSounds[soundname]:clone()
1633
            end
1634
            PlayHitSound("Hurt", 1)
1635
            local p = Instance.new("Part", handle)
1636
            p.FormFactor = "Custom"
1637
            p.Material = "Neon"
1638
            p.Size = Vector3.new(1, 2, 1)
1639
            p.Transparency = 0
1640
            local selectionBox = Instance.new("SelectionBox", p)
1641
            selectionBox.Adornee = p
1642
            selectionBox.Color = BrickColor.new("Really black")
1643
            selectionBox.LineThickness = 0.001
1644
            p.TopSurface = 0
1645
            p.BottomSurface = 0
1646
            local colorc = {"Black"}
1647
            local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1648
            p.BrickColor = Fire
1649
            p.CanCollide = false
1650
            p.Anchored = true
1651
            p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
1652
            coroutine.resume(coroutine.create(function()
1653
              for i = 1, 100 do
1654
                wait()
1655
                p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
1656
              end
1657
            end))
1658
            local light1 = Instance.new("SpotLight", p)
1659
            light1.Brightness = 164
1660
            light1.Color = Color3.new(255, 0, 0)
1661
            light1.Range = 7
1662
            for i = 1, 13 do
1663
              p.Transparency = p.Transparency + 0.1
1664
              wait(0.4)
1665
            end
1666
            game.Debris:AddItem(p, 0.1)
1667
            PlaySound("Slash", 1)
1668
            coroutine.resume(coroutine.create(function()
1669
              for i = 1, 10 do
1670
                wait()
1671
                local RedSlash = Instance.new("Part", handle)
1672
                RedSlash.FormFactor = "Custom"
1673
                RedSlash.Size = Vector3.new(0.5, 2, 0.5)
1674
                RedSlash.Transparency = 0.5
1675
                local selectionBox = Instance.new("SelectionBox", RedSlash)
1676
                selectionBox.Adornee = RedSlash
1677
                selectionBox.Color = BrickColor.new("Really black")
1678
                selectionBox.LineThickness = 0.005
1679
                RedSlash.TopSurface = 0
1680
                RedSlash.BottomSurface = 0
1681
                local colorc = {"Black"}
1682
                local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1683
                RedSlash.BrickColor = Fire
1684
                RedSlash.CanCollide = false
1685
                RedSlash.Anchored = true
1686
                RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
1687
                game.Debris:AddItem(RedSlash, 0.1)
1688
              end
1689
            end))
1690
            for i = 1, 3 do
1691
              wait()
1692
              RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
1693
              RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
1694
            end
1695
            hit.Parent.Torso.Anchored = false
1696
            hit.Parent.Torso:BreakJoints()
1697
          end
1698
        end
1699
      end
1700
      ps.Touched:connect(touch)
1701
      for i = 1, 8 do
1702
        wait(0.5)
1703
        ps.Transparency = ps.Transparency - 0.1
1704
      end
1705
      wait(2)
1706
      RW.C0 = CFrame.new(1.5, 0.5, 0)
1707
      RW.C1 = CFrame.new(0, 0.5, 0)
1708
      ps:remove()
1709
    end
1710
    vDebounce = false
1711
  end
1712
  mouse.Button1Down:connect(function()
1713
    if slashvalue == 1 then
1714
      slash1()
1715
    elseif slashvalue == 3 then
1716
      slash3()
1717
    elseif slashvalue == 2 then
1718
      slash2()
1719
    end
1720
  end)
1721
  function WelcomeToMySpecialAttack()
1722
    CharaTalks()
1723
    RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
1724
    RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
1725
    wait(0.1)
1726
    PlaySound("Slash", 1)
1727
    coroutine.resume(coroutine.create(function()
1728
      for i = 1, 10 do
1729
        wait()
1730
        local RedSlash = Instance.new("Part", handle)
1731
        RedSlash.FormFactor = "Custom"
1732
        RedSlash.Size = Vector3.new(0.5, 2, 0.5)
1733
        RedSlash.Transparency = 0.5
1734
        local selectionBox = Instance.new("SelectionBox", RedSlash)
1735
        selectionBox.Adornee = RedSlash
1736
        selectionBox.Color = BrickColor.new("Really black")
1737
        selectionBox.LineThickness = 0.005
1738
        RedSlash.TopSurface = 0
1739
        RedSlash.BottomSurface = 0
1740
        local colorc = {"Black"}
1741
        local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1742
        RedSlash.BrickColor = Fire
1743
        RedSlash.CanCollide = false
1744
        RedSlash.Anchored = true
1745
        RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
1746
        game.Debris:AddItem(RedSlash, 0.1)
1747
      end
1748
    end))
1749
    for i = 1, 3 do
1750
      wait()
1751
      RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
1752
      RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
1753
    end
1754
    PlaySound("Explode", 1)
1755
    coroutine.resume(coroutine.create(function()
1756
      local ps = Instance.new("Part", suit)
1757
      ps.Name = "MagicPart"
1758
      ps.TopSurface = "Smooth"
1759
      ps.BottomSurface = "Smooth"
1760
      ps.BrickColor = BrickColor.new("Black")
1761
      ps.Material = "Neon"
1762
      ps.FormFactor = "Custom"
1763
      ps.Size = Vector3.new(1500, 1500, 1000)
1764
      ps.Anchored = true
1765
      ps.Transparency = 0
1766
      ps.CanCollide = false
1767
      ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -55) * CFrame.Angles(0, 0, 0)
1768
      local selectionBox = Instance.new("SelectionBox", ps)
1769
      selectionBox.Adornee = ps
1770
      selectionBox.Color = BrickColor.new("Black")
1771
      selectionBox.LineThickness = 0.2
1772
      selectionBox.Transparency = 0.5
1773
      function touch(hit)
1774
        if hit.Parent.Name == char.Name then
1775
          return
1776
        end
1777
        if hit.Parent:findFirstChild("Humanoid") ~= nil then
1778
          if hit.Parent.Name == char.Name then
1779
            return
1780
          end
1781
          hit.Parent:BreakJoints()
1782
          do
1783
            local HitSounds = {
1784
              Hurt = Instance.new("Sound")
1785
            }
1786
            HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
1787
            HitSounds.Hurt.Volume = 1
1788
            function PlayHitSound(soundname, pitch)
1789
              HitSounds[soundname].Parent = hit.Parent.Torso
1790
              HitSounds[soundname].Pitch = pitch
1791
              HitSounds[soundname]:Play()
1792
              local oldsound = HitSounds[soundname]
1793
              coroutine.resume(coroutine.create(function()
1794
                wait(4)
1795
                oldsound:Destroy()
1796
              end))
1797
              HitSounds[soundname] = HitSounds[soundname]:clone()
1798
            end
1799
            PlayHitSound("Hurt", 1)
1800
          end
1801
        end
1802
      end
1803
      ps.Touched:connect(touch)
1804
      coroutine.resume(coroutine.create(function()
1805
        for i = 1, 500 do
1806
          wait()
1807
          ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
1808
        end
1809
        ps.Transparency = ps.Transparency + 0.2
1810
        wait()
1811
        ps.Transparency = ps.Transparency + 0.2
1812
        wait()
1813
        ps.Transparency = ps.Transparency + 0.2
1814
        wait()
1815
        ps.Transparency = ps.Transparency + 0.2
1816
        wait()
1817
        ps.Transparency = ps.Transparency + 0.2
1818
        ps:remove()
1819
      end))
1820
    end))
1821
    wait(2)
1822
    RW.C0 = CFrame.new(1.5, 0.5, 0)
1823
    RW.C1 = CFrame.new(0, 0.5, 0)
1824
  end
1825
  mouse.KeyDown:connect(function(key)
1826
    if key == "r" and specialattack == false then
1827
      specialattack = true
1828
      WelcomeToMySpecialAttack()
1829
      local Dialogconnect = Instance.new("Part", suit)
1830
      Dialogconnect.TopSurface = "Smooth"
1831
      Dialogconnect.BottomSurface = "Smooth"
1832
      Dialogconnect.Material = "Neon"
1833
      Dialogconnect.FormFactor = "Custom"
1834
      Dialogconnect.Size = Vector3.new(1, 1, 1)
1835
      Dialogconnect.Transparency = 1
1836
      Dialogconnect.CanCollide = false
1837
      Dialogconnect.BrickColor = BrickColor.new("Black")
1838
      local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
1839
      selectionBox1.Adornee = Dialogconnect
1840
      selectionBox1.Color = BrickColor.new("Really black")
1841
      selectionBox1.LineThickness = 0.01
1842
      selectionBox1.Transparency = 1
1843
      local Weld = Instance.new("Weld", char)
1844
      Weld.Part0 = char.Torso
1845
      Weld.Part1 = Dialogconnect
1846
      Weld.C1 = CFrame.new(-3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
1847
      Dialogconnect.Transparency = 1
1848
      selectionBox1.Transparency = 1
1849
      wait()
1850
      Dialogconnect.Transparency = 0
1851
      selectionBox1.Transparency = 0
1852
      wait()
1853
      Dialogconnect.Transparency = 1
1854
      selectionBox1.Transparency = 1
1855
      wait()
1856
      Dialogconnect.Transparency = 0
1857
      selectionBox1.Transparency = 0
1858
      wait()
1859
      Dialogconnect.Transparency = 1
1860
      selectionBox1.Transparency = 1
1861
      wait()
1862
      Dialogconnect.Transparency = 0
1863
      selectionBox1.Transparency = 0
1864
      wait()
1865
      Dialogconnect.Transparency = 1
1866
      selectionBox1.Transparency = 1
1867
      wait()
1868
      Dialogconnect.Transparency = 0
1869
      selectionBox1.Transparency = 0
1870
      wait()
1871
      Dialogconnect.Transparency = 1
1872
      selectionBox1.Transparency = 1
1873
      wait()
1874
      Dialogconnect.Transparency = 0
1875
      selectionBox1.Transparency = 0
1876
      wait()
1877
      Dialogconnect.Transparency = 1
1878
      selectionBox1.Transparency = 1
1879
      wait()
1880
      Dialogconnect.Transparency = 0
1881
      selectionBox1.Transparency = 0
1882
      wait()
1883
      Dialogconnect.Transparency = 1
1884
      selectionBox1.Transparency = 1
1885
      wait()
1886
      Dialogconnect.Transparency = 0
1887
      selectionBox1.Transparency = 0
1888
      wait()
1889
      Dialogconnect.Transparency = 1
1890
      selectionBox1.Transparency = 1
1891
      wait()
1892
      Dialogconnect.Transparency = 0
1893
      selectionBox1.Transparency = 0
1894
      Dialogconnect.BrickColor = BrickColor.new("New Yeller")
1895
      wait()
1896
      Dialogconnect.Transparency = 1
1897
      selectionBox1.Transparency = 1
1898
      wait()
1899
      Dialogconnect.Transparency = 0
1900
      selectionBox1.Transparency = 0
1901
      wait()
1902
      Dialogconnect.Transparency = 1
1903
      selectionBox1.Transparency = 1
1904
      wait()
1905
      Dialogconnect.Transparency = 0
1906
      selectionBox1.Transparency = 0
1907
      wait()
1908
      Dialogconnect.Transparency = 1
1909
      selectionBox1.Transparency = 1
1910
      wait()
1911
      Dialogconnect.Transparency = 0
1912
      selectionBox1.Transparency = 0
1913
      wait()
1914
      Dialogconnect.Transparency = 1
1915
      selectionBox1.Transparency = 1
1916
      wait()
1917
      Dialogconnect.Transparency = 0
1918
      selectionBox1.Transparency = 0
1919
      Dialogconnect.BrickColor = BrickColor.new("Lime green")
1920
      wait()
1921
      Dialogconnect.Transparency = 1
1922
      selectionBox1.Transparency = 1
1923
      wait()
1924
      Dialogconnect.Transparency = 0
1925
      selectionBox1.Transparency = 0
1926
      wait()
1927
      Dialogconnect.Transparency = 1
1928
      selectionBox1.Transparency = 1
1929
      wait()
1930
      Dialogconnect.Transparency = 0
1931
      selectionBox1.Transparency = 0
1932
      wait()
1933
      Dialogconnect.Transparency = 1
1934
      selectionBox1.Transparency = 1
1935
      wait()
1936
      Dialogconnect.Transparency = 0
1937
      selectionBox1.Transparency = 0
1938
      wait()
1939
      Dialogconnect.Transparency = 1
1940
      selectionBox1.Transparency = 1
1941
      wait()
1942
      Dialogconnect.Transparency = 0
1943
      selectionBox1.Transparency = 0
1944
      wait()
1945
      Dialogconnect.Transparency = 0
1946
      wait()
1947
      Dialogconnect.Transparency = 1
1948
      selectionBox1.Transparency = 1
1949
      wait()
1950
      Dialogconnect.Transparency = 0
1951
      selectionBox1.Transparency = 0
1952
      wait()
1953
      Dialogconnect.Transparency = 1
1954
      selectionBox1.Transparency = 1
1955
      wait()
1956
      Dialogconnect.Transparency = 0
1957
      selectionBox1.Transparency = 0
1958
      wait()
1959
      Dialogconnect.Transparency = 1
1960
      selectionBox1.Transparency = 1
1961
      wait()
1962
      Dialogconnect.Transparency = 0
1963
      selectionBox1.Transparency = 0
1964
      wait()
1965
      Dialogconnect.Transparency = 1
1966
      selectionBox1.Transparency = 1
1967
      wait()
1968
      Dialogconnect.Transparency = 0
1969
      selectionBox1.Transparency = 0
1970
      Dialogconnect:remove()
1971
      specialattack = false
1972
    end
1973
    if key == "q" then
1974
      if beamvalue == 1 then
1975
        KnifeBeam1()
1976
      elseif beamvalue == 2 then
1977
        KnifeBeam2()
1978
      elseif beamvalue == 3 then
1979
        KnifeBeam3()
1980
      end
1981
    end
1982
    if key == "x" and not vDebounce then
1983
      vDebounce = true
1984
      for i = 1, 5 do
1985
        wait()
1986
        Torso.Transparency = 0.5
1987
        char["Left Arm"].Transparency = 0.5
1988
        char["Left Leg"].Transparency = 0.5
1989
        char["Right Arm"].Transparency = 0.5
1990
        char["Right Leg"].Transparency = 0.5
1991
        char.Head.Transparency = 0.5
1992
        wait()
1993
        Torso.Transparency = 0
1994
        char["Left Arm"].Transparency = 0
1995
        char["Left Leg"].Transparency = 0
1996
        char["Right Arm"].Transparency = 0
1997
        char["Right Leg"].Transparency = 0
1998
        char.Head.Transparency = 0
1999
      end
2000
      teleportPlayer(mouse.hit.p)
2001
      vDebounce = false
2002
    end
2003
    if key == "z" and onehitkilltwo == true then
2004
      onehitkilltwo = false
2005
      Stuckhit()
2006
      local Dialogconnect = Instance.new("Part", suit)
2007
      Dialogconnect.TopSurface = "Smooth"
2008
      Dialogconnect.BottomSurface = "Smooth"
2009
      Dialogconnect.Material = "Neon"
2010
      Dialogconnect.FormFactor = "Custom"
2011
      Dialogconnect.Size = Vector3.new(1, 1, 1)
2012
      Dialogconnect.Transparency = 1
2013
      Dialogconnect.CanCollide = false
2014
      Dialogconnect.BrickColor = BrickColor.new("Black")
2015
      local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
2016
      selectionBox1.Adornee = Dialogconnect
2017
      selectionBox1.Color = BrickColor.new("Really black")
2018
      selectionBox1.LineThickness = 0.01
2019
      selectionBox1.Transparency = 1
2020
      local Weld = Instance.new("Weld", char)
2021
      Weld.Part0 = char.Torso
2022
      Weld.Part1 = Dialogconnect
2023
      Weld.C1 = CFrame.new(3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
2024
      Dialogconnect.Transparency = 1
2025
      selectionBox1.Transparency = 1
2026
      wait()
2027
      Dialogconnect.Transparency = 0
2028
      selectionBox1.Transparency = 0
2029
      wait()
2030
      Dialogconnect.Transparency = 1
2031
      selectionBox1.Transparency = 1
2032
      wait()
2033
      Dialogconnect.Transparency = 0
2034
      selectionBox1.Transparency = 0
2035
      wait()
2036
      Dialogconnect.Transparency = 1
2037
      selectionBox1.Transparency = 1
2038
      wait()
2039
      Dialogconnect.Transparency = 0
2040
      selectionBox1.Transparency = 0
2041
      wait()
2042
      Dialogconnect.Transparency = 1
2043
      selectionBox1.Transparency = 1
2044
      wait()
2045
      Dialogconnect.Transparency = 0
2046
      selectionBox1.Transparency = 0
2047
      wait()
2048
      Dialogconnect.Transparency = 1
2049
      selectionBox1.Transparency = 1
2050
      wait()
2051
      Dialogconnect.Transparency = 0
2052
      selectionBox1.Transparency = 0
2053
      wait()
2054
      Dialogconnect.Transparency = 1
2055
      selectionBox1.Transparency = 1
2056
      wait()
2057
      Dialogconnect.Transparency = 0
2058
      selectionBox1.Transparency = 0
2059
      wait()
2060
      Dialogconnect.Transparency = 1
2061
      selectionBox1.Transparency = 1
2062
      wait()
2063
      Dialogconnect.Transparency = 0
2064
      selectionBox1.Transparency = 0
2065
      wait()
2066
      Dialogconnect.Transparency = 1
2067
      selectionBox1.Transparency = 1
2068
      wait()
2069
      Dialogconnect.Transparency = 0
2070
      selectionBox1.Transparency = 0
2071
      Dialogconnect.BrickColor = BrickColor.new("New Yeller")
2072
      wait()
2073
      Dialogconnect.Transparency = 1
2074
      selectionBox1.Transparency = 1
2075
      wait()
2076
      Dialogconnect.Transparency = 0
2077
      selectionBox1.Transparency = 0
2078
      wait()
2079
      Dialogconnect.Transparency = 1
2080
      selectionBox1.Transparency = 1
2081
      wait()
2082
      Dialogconnect.Transparency = 0
2083
      selectionBox1.Transparency = 0
2084
      wait()
2085
      Dialogconnect.Transparency = 1
2086
      selectionBox1.Transparency = 1
2087
      wait()
2088
      Dialogconnect.Transparency = 0
2089
      selectionBox1.Transparency = 0
2090
      wait()
2091
      Dialogconnect.Transparency = 1
2092
      selectionBox1.Transparency = 1
2093
      wait()
2094
      Dialogconnect.Transparency = 0
2095
      selectionBox1.Transparency = 0
2096
      Dialogconnect.BrickColor = BrickColor.new("Lime green")
2097
      wait()
2098
      Dialogconnect.Transparency = 1
2099
      selectionBox1.Transparency = 1
2100
      wait()
2101
      Dialogconnect.Transparency = 0
2102
      selectionBox1.Transparency = 0
2103
      wait()
2104
      Dialogconnect.Transparency = 1
2105
      selectionBox1.Transparency = 1
2106
      wait()
2107
      Dialogconnect.Transparency = 0
2108
      selectionBox1.Transparency = 0
2109
      wait()
2110
      Dialogconnect.Transparency = 1
2111
      selectionBox1.Transparency = 1
2112
      wait()
2113
      Dialogconnect.Transparency = 0
2114
      selectionBox1.Transparency = 0
2115
      wait()
2116
      Dialogconnect.Transparency = 1
2117
      selectionBox1.Transparency = 1
2118
      wait()
2119
      Dialogconnect.Transparency = 0
2120
      selectionBox1.Transparency = 0
2121
      wait()
2122
      Dialogconnect.Transparency = 0
2123
      wait()
2124
      Dialogconnect.Transparency = 1
2125
      selectionBox1.Transparency = 1
2126
      wait()
2127
      Dialogconnect.Transparency = 0
2128
      selectionBox1.Transparency = 0
2129
      wait()
2130
      Dialogconnect.Transparency = 1
2131
      selectionBox1.Transparency = 1
2132
      wait()
2133
      Dialogconnect.Transparency = 0
2134
      selectionBox1.Transparency = 0
2135
      wait()
2136
      Dialogconnect.Transparency = 1
2137
      selectionBox1.Transparency = 1
2138
      wait()
2139
      Dialogconnect.Transparency = 0
2140
      selectionBox1.Transparency = 0
2141
      wait()
2142
      Dialogconnect.Transparency = 1
2143
      selectionBox1.Transparency = 1
2144
      wait()
2145
      Dialogconnect.Transparency = 0
2146
      selectionBox1.Transparency = 0
2147
      Dialogconnect:remove()
2148
      onehitkilltwo = true
2149
    end
2150
    if key == "e" then
2151
      drawded()
2152
    end
2153
  end)
2154
  Tool.Deselected:connect(function(mouse)
2155
    RW.Parent = nil
2156
    LW.Parent = nil
2157
    handle:remove()
2158
    RSH.Parent = player.Character.Torso
2159
    LSH.Parent = player.Character.Torso
2160
  end)
2161
end)
2162
function OnDeath()
2163
  GETDUNKED()
2164
  oldloopedsound:remove()
2165
end
2166
char.Humanoid.Died:connect(OnDeath)
2167
print("Made By Jose Likes And Enjoys Roblox for Josemmoya")
2168
wait(5)
2169
print("Based on the animation Determination by Jigsaw Rules.")
2170
wait(5)
2171
print("Special attacks are on q,e,z,x,and m(Megalomaniac).")
2172
print("fixed by ROBLOX")