View difference between Paste ID: ec25YxAM and 3Dvx9nfh
SHOW: | | - or go back to the newest paste.
1
local Player = game.Players.LocalPlayer
2
local char = Player.Character
3
local Character = Player.Character
4
local Head = Character.Head
5
for i, v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do
6
  if v:IsA("Accessory") then
7
    v:Destroy()
8
  end
9
end
10
for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
11
  if v:IsA("Shirt") then
12
    v:Remove()
13
  end
14
end
15
for i, v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do
16
  if v:IsA("Pants") then
17
    v:Remove()
18
  end
19
end
20
wait()
21
shirt = Instance.new("Shirt", game:GetService("Players").LocalPlayer.Character)
22
shirt.Name = "Shirt"
23
pants = Instance.new("Pants", game:GetService("Players").LocalPlayer.Character)
24
pants.Name = "Pants"
25
game:GetService("Players").LocalPlayer.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=941860872"
26
game:GetService("Players").LocalPlayer.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=940565415"
27
char["Right Arm"].BrickColor = BrickColor.new("Pastel brown")
28
char["Left Arm"].BrickColor = BrickColor.new("Pastel brown")
29
char["Left Leg"].BrickColor = BrickColor.new("Pastel brown")
30
char["Right Leg"].BrickColor = BrickColor.new("Pastel brown")
31
char.Head.BrickColor = BrickColor.new("Pastel brown")
32
char.Torso.BrickColor = BrickColor.new("Pastel brown")
33
hat = Instance.new("Part", game.Players.LocalPlayer.Character.Head)
34
hat.Size = Vector3.new(0.5, 1, 1)
35
w3ld = Instance.new("Weld", hat)
36
w3ld.Part0 = hat
37
w3ld.Part1 = game.Players.LocalPlayer.Character.Head
38
w3ld.C0 = w3ld.C0 * CFrame.new(-0.05, -0.3, -0.2)
39
mesh = Instance.new("SpecialMesh", hat)
40
mesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
41
mesh.TextureId = "http://www.roblox.com/asset/?id=267233089"
42
hat = Instance.new("Part", game.Players.LocalPlayer.Character.Head)
43
w3ld = Instance.new("Weld", hat)
44
w3ld.Part0 = hat
45
w3ld.Part1 = game.Players.LocalPlayer.Character.Head
46
w3ld.C0 = w3ld.C0 * CFrame.new(0.3, -0.3, -0.2)
47
mesh = Instance.new("SpecialMesh", hat)
48
mesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
49
mesh.TextureId = "http://www.roblox.com/asset/?id=56350922"
50
mesh.Scale = Vector3.new(0.5, 1.1, 1.1)
51
game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=882767153"
52
local ice = Instance.new("Part", Head)
53
ice.Size = Vector3.new(0.5, 0.5, 0.5)
54
ice.BrickColor = BrickColor.new("White")
55
ice.CanCollide = false
56
ice.TopSurface = 0
57
ice.BottomSurface = 0
58
ice.Transparency = 1
59
local ice2 = Instance.new("SpecialMesh", ice)
60
ice2.MeshType = "Brick"
61
ice2.Scale = Vector3.new(1, 1, 1)
62
local ice3 = Instance.new("Weld", ice)
63
ice3.Part0 = Head
64
ice3.Part1 = ice
65
ice3.C0 = CFrame.new(0, 0, -0.8) * CFrame.Angles(0, 0, 0)
66
local icesmoke = Instance.new("ParticleEmitter", ice)
67
icesmoke.VelocitySpread = 5
68
icesmoke.Size = NumberSequence.new({
69
  NumberSequenceKeypoint.new(0, 0.01),
70
  NumberSequenceKeypoint.new(1, 1)
71
})
72
icesmoke.Rate = math.huge
73
icesmoke.Speed = NumberRange.new(1, 1)
74
icesmoke.Lifetime = NumberRange.new(0.5, 0.8)
75
icesmoke.Transparency = NumberSequence.new({
76
  NumberSequenceKeypoint.new(0, 0.9),
77
  NumberSequenceKeypoint.new(1, 1)
78
})
79
icesmoke.Rotation = NumberRange.new(0, 360)
80
icesmoke.Name = "Smoke"
81
icesmoke.LightEmission = 10
82
icesmoke.Acceleration = Vector3.new(15, 0, 0)
83
icesmoke.Texture = "http://www.roblox.com/asset/?id=243728104"
84
icesmoke.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0.5), Color3.new(0.5, 0.5, 0.5))
85
icesmoke.LockedToPart = true
86
maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name
87
secondcolor = "Really black"
88
wait(0.016666666666666666)
89
Effects = {}
90
local Player = game.Players.LocalPlayer
91
local Character = Player.Character
92
local Humanoid = Character.Humanoid
93
local mouse = Player:GetMouse()
94
local LeftArm = Character["Left Arm"]
95
local RightArm = Character["Right Arm"]
96
local LeftLeg = Character["Left Leg"]
97
local RightLeg = Character["Right Leg"]
98
local Head = Character.Head
99
local Torso = Character.Torso
100
local cam = game.Workspace.CurrentCamera
101
local RootPart = Character.HumanoidRootPart
102
local RootJoint = RootPart.RootJoint
103
local equipped = true
104
local attack = false
105
local Anim = "Idle"
106
local idle = 0
107
local attacktype = 1
108
local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
109
local velocity = RootPart.Velocity.y
110
local sine = 0
111
local change = 1
112
local grabbed = false
113
local cn = CFrame.new
114
local mr = math.rad
115
local angles = CFrame.Angles
116
local ud = UDim2.new
117
local c3 = Color3.new
118
local dir = {
119
  w = 0,
120
  s = 0,
121
  a = 0,
122
  d = 0
123
}
124
firemode = false
125
local Services = {
126
  SoundService = game:GetService("SoundService"),
127
  Players = game:GetService("Players"),
128
  Debris = game:GetService("Debris"),
129
  Workspace = game:GetService("Workspace"),
130
  Lighting = game:GetService("Lighting"),
131
  HttpService = game:GetService("HttpService"),
132
  InsertService = game:GetService("InsertService")
133
}
134
local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
135
Humanoid.Animator:Destroy()
136
Character.Animate:Destroy()
137
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
138
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
139
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
140
RSH, LSH = nil, nil
141
RW = Instance.new("Weld")
142
LW = Instance.new("Weld")
143
RH = Torso["Right Hip"]
144
LH = Torso["Left Hip"]
145
RSH = Torso["Right Shoulder"]
146
LSH = Torso["Left Shoulder"]
147
RSH.Parent = nil
148
LSH.Parent = nil
149
RW.Name = "RW"
150
RW.Part0 = Torso
151
RW.C0 = cn(1.5, 0.5, 0)
152
RW.C1 = cn(0, 0.5, 0)
153
RW.Part1 = RightArm
154
RW.Parent = Torso
155
LW.Name = "LW"
156
LW.Part0 = Torso
157
LW.C0 = cn(-1.5, 0.5, 0)
158
LW.C1 = cn(0, 0.5, 0)
159
LW.Part1 = LeftArm
160
LW.Parent = Torso
161
function clerp(a, b, t)
162
  local qa = {
163
    QuaternionFromCFrame(a)
164
  }
165
  local qb = {
166
    QuaternionFromCFrame(b)
167
  }
168
  local ax, ay, az = a.x, a.y, a.z
169
  local bx, by, bz = b.x, b.y, b.z
170
  local _t = 1 - t
171
  return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
172
end
173
function QuaternionFromCFrame(cf)
174
  local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
175
  local trace = m00 + m11 + m22
176
  if trace > 0 then
177
    local s = math.sqrt(1 + trace)
178
    local recip = 0.5 / s
179
    return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
180
  else
181
    local i = 0
182
    if m00 < m11 then
183
      i = 1
184
    end
185
    if m22 > (i == 0 and m00 or m11) then
186
      i = 2
187
    end
188
    if i == 0 then
189
      local s = math.sqrt(m00 - m11 - m22 + 1)
190
      local recip = 0.5 / s
191
      return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
192
    elseif i == 1 then
193
      local s = math.sqrt(m11 - m22 - m00 + 1)
194
      local recip = 0.5 / s
195
      return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
196
    elseif i == 2 then
197
      local s = math.sqrt(m22 - m00 - m11 + 1)
198
      local recip = 0.5 / s
199
      return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
200
    end
201
  end
202
end
203
function QuaternionToCFrame(px, py, pz, x, y, z, w)
204
  local xs, ys, zs = x + x, y + y, z + z
205
  local wx, wy, wz = w * xs, w * ys, w * zs
206
  local xx = x * xs
207
  local xy = x * ys
208
  local xz = x * zs
209
  local yy = y * ys
210
  local yz = y * zs
211
  local zz = z * zs
212
  return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
213
end
214
function QuaternionSlerp(a, b, t)
215
  local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
216
  local startInterp, finishInterp
217
  if cosTheta >= 1.0E-4 then
218
    if 1 - cosTheta > 1.0E-4 then
219
      local theta = math.acos(cosTheta)
220
      local invSinTheta = 1 / math.sin(theta)
221
      startInterp = math.sin((1 - t) * theta) * invSinTheta
222
      finishInterp = math.sin(t * theta) * invSinTheta
223
    else
224
      startInterp = 1 - t
225
      finishInterp = t
226
    end
227
  elseif 1 + cosTheta > 1.0E-4 then
228
    local theta = math.acos(-cosTheta)
229
    local invSinTheta = 1 / math.sin(theta)
230
    startInterp = math.sin((t - 1) * theta) * invSinTheta
231
    finishInterp = math.sin(t * theta) * invSinTheta
232
  else
233
    startInterp = t - 1
234
    finishInterp = t
235
  end
236
  return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
237
end
238
function swait(num)
239
  if num == 0 or num == nil then
240
    game:service("RunService").RenderStepped:wait(0)
241
  else
242
    for i = 0, num do
243
      game:service("RunService").RenderStepped:wait(0)
244
    end
245
  end
246
end
247
local RbxUtility = LoadLibrary("RbxUtility")
248
local Create = RbxUtility.Create
249
function RemoveOutlines(part)
250
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
251
end
252
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
253
  local Part = Create("Part")({
254
    formFactor = FormFactor,
255
    Parent = Parent,
256
    Reflectance = Reflectance,
257
    Transparency = Transparency,
258
    CanCollide = false,
259
    Locked = true,
260
    BrickColor = BrickColor.new(tostring(BColor)),
261
    Name = Name,
262
    Size = Size,
263
    Material = Material
264
  })
265
  RemoveOutlines(Part)
266
  return Part
267
end
268
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
269
  local Msh = Create(Mesh)({
270
    Parent = Part,
271
    Offset = OffSet,
272
    Scale = Scale
273
  })
274
  if Mesh == "SpecialMesh" then
275
    Msh.MeshType = MeshType
276
    Msh.MeshId = MeshId
277
  end
278
  return Msh
279
end
280
function CreateWeld(Parent, Part0, Part1, C0, C1)
281
  local Weld = Create("Weld")({
282
    Parent = Parent,
283
    Part0 = Part0,
284
    Part1 = Part1,
285
    C0 = C0,
286
    C1 = C1
287
  })
288
  return Weld
289
end
290
function rayCast(Position, Direction, Range, Ignore)
291
  return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
292
end
293
function CreateSound(id, par, vol, pit)
294
  coroutine.resume(coroutine.create(function()
295
    local sou = Instance.new("Sound", par or workspace)
296
    sou.Volume = vol
297
    sou.Pitch = pit or 1
298
    sou.SoundId = id
299
    wait()
300
    sou:play()
301
    game:GetService("Debris"):AddItem(sou, 6)
302
  end))
303
end
304
function CreateSong(id, par, vol, pit)
305
  coroutine.resume(coroutine.create(function()
306
    sou2 = Instance.new("Sound", par or workspace)
307
    sou2.Volume = vol
308
    sou2.Pitch = 1
309
    sou2.SoundId = id
310
    wait()
311
    sou2:play()
312
    sou2.Looped = true
313
  end))
314
end
315
CreateSong("http://www.roblox.com/asset/?id=", Character, 0.5)
316
local function getclosest(obj, distance)
317
  local last, lastx = distance + 1, nil
318
  for i, v in pairs(workspace:GetChildren()) do
319
    if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
320
      local t = v.Torso
321
      local dist = t.Position - obj.Position.magnitude
322
      if distance >= dist and last > dist then
323
        last = dist
324
        lastx = v
325
      end
326
    end
327
  end
328
  return lastx
329
end
330
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
331
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
332
  prt.Anchored = true
333
  prt.CFrame = cframe
334
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
335
  game:GetService("Debris"):AddItem(prt, 10)
336
  if Type == 1 or Type == nil then
337
    table.insert(Effects, {
338
      prt,
339
      "Block1",
340
      delay,
341
      x3,
342
      y3,
343
      z3,
344
      msh
345
    })
346
  elseif Type == 2 then
347
    table.insert(Effects, {
348
      prt,
349
      "Block2",
350
      delay,
351
      x3,
352
      y3,
353
      z3,
354
      msh
355
    })
356
  elseif Type == 3 then
357
    table.insert(Effects, {
358
      prt,
359
      "Block3",
360
      delay,
361
      x3,
362
      y3,
363
      z3,
364
      msh
365
    })
366
  end
367
end
368
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
369
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
370
  prt.Anchored = true
371
  prt.CFrame = cframe
372
  local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
373
  game:GetService("Debris"):AddItem(prt, 10)
374
  table.insert(Effects, {
375
    prt,
376
    "Cylinder",
377
    delay,
378
    x3,
379
    y3,
380
    z3,
381
    msh
382
  })
383
end
384
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
385
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
386
  prt.Anchored = true
387
  prt.CFrame = cframe * CFrame.new(x1, y1, z1)
388
  local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
389
  game:GetService("Debris"):AddItem(prt, 10)
390
  table.insert(Effects, {
391
    prt,
392
    "Cylinder",
393
    delay,
394
    x3,
395
    y3,
396
    z3,
397
    msh
398
  })
399
end
400
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
401
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
402
  prt.Anchored = true
403
  prt.CFrame = cframe
404
  local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
405
  game:GetService("Debris"):AddItem(prt, 10)
406
  table.insert(Effects, {
407
    prt,
408
    "Cylinder",
409
    delay,
410
    x3,
411
    y3,
412
    z3,
413
    msh
414
  })
415
end
416
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
417
  local prt = CreatePart(3, workspace, "", 0, 0, brickcolor, "Effect", Vector3.new())
418
  prt.Anchored = true
419
  prt.CFrame = cframe
420
  local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
421
  game:GetService("Debris"):AddItem(prt, 10)
422
  table.insert(Effects, {
423
    prt,
424
    "Cylinder",
425
    delay,
426
    x3,
427
    y3,
428
    z3,
429
    msh
430
  })
431
end
432
function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
433
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
434
  prt.Anchored = true
435
  prt.CFrame = cframe
436
  local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
437
  game:GetService("Debris"):AddItem(prt, 10)
438
  table.insert(Effects, {
439
    prt,
440
    "Cylinder",
441
    delay,
442
    x3,
443
    y3,
444
    z3,
445
    msh
446
  })
447
end
448
function BreakEffect(brickcolor, cframe, x1, y1, z1)
449
  local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
450
  prt.Anchored = true
451
  prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
452
  local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
453
  local num = math.random(10, 50) / 1000
454
  game:GetService("Debris"):AddItem(prt, 10)
455
  table.insert(Effects, {
456
    prt,
457
    "Shatter",
458
    num,
459
    prt.CFrame,
460
    math.random() - math.random(),
461
    0,
462
    math.random(50, 100) / 100
463
  })
464
end
465
for i = 0, 1, 0.05 do
466
  swait()
467
  RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
468
  Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)
469
  RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
470
  LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
471
  if Torsovelocity.Y > 1 then
472
    RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), 0.2)
473
    RH.C0 = clerp(RH.C0, cn(1, -1 + 0.1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3)
474
    LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), 0.3)
475
  elseif Torsovelocity.Y < 1 then
476
    RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
477
    RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1)
478
    LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), 0.1)
479
  end
480
end
481
attack = false
482
game:GetService("RunService").Stepped:connect(function()
483
  Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
484
  velocity = RootPart.Velocity.y
485
  sine = sine + change
486
  local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
487
  if equipped == true or equipped == false then
488
    if 1 < RootPart.Velocity.y and hit == nil then
489
      Anim = "Jump"
490
      if attack == false and ice_mode == false then
491
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
492
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
493
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1)
494
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1)
495
        RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1)
496
        LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1)
497
      end
498
    elseif RootPart.Velocity.y < -1 and hit == nil and ice_mode == false then
499
      Anim = "Fall"
500
      if attack == false then
501
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
502
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
503
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1)
504
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
505
        RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
506
        LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
507
      end
508
    elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 and hit ~= nil and ice_mode == false then
509
      Anim = "Idle"
510
      if attack == false then
511
        change = 0.8
512
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(15)), 0.1)
513
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1)
514
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1)
515
        LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1)
516
        RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(19 + 2 * math.cos(sine / 25))), 0.1)
517
        LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 25), -0.1) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(9 + 2 * math.cos(sine / 25))), 0.1)
518
      end
519
    elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 and hit ~= nil and ice_mode == false then
520
      Anim = "Walk"
521
      if attack == false then
522
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 3.5)) * angles(math.rad(8), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 5))), 0.2)
523
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), 0.2)
524
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-65 * math.cos(sine / 4)), math.rad(0), math.rad(0 * math.cos(sine / 10))), 0.2)
525
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(65 * math.cos(sine / 4)), math.rad(0), math.rad(0 * math.cos(sine / 10))), 0.2)
526
        RH.C0 = clerp(RH.C0, cn(1, -1 + 0.2 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), 0.3)
527
        LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), 0.3)
528
      end
529
    end
530
  end
531
  if equipped == true or equipped == false then
532
    if 1 < RootPart.Velocity.Y and hit == nil then
533
      Anim = "Jump"
534
      if attack == false and ice_mode == true then
535
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
536
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
537
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), 0.1)
538
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), 0.1)
539
        RH.C0 = clerp(RH.C0, cn(1, -0.9, -0.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), 0.1)
540
        LH.C0 = clerp(LH.C0, cn(-1, -0.7, -0.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1)
541
      end
542
    elseif RootPart.Velocity.Y < -1 and hit == nil and ice_mode == true then
543
      Anim = "Fall"
544
      if attack == false then
545
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
546
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
547
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1)
548
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
549
        RH.C0 = clerp(RH.C0, cn(1, -1, -0.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
550
        LH.C0 = clerp(LH.C0, cn(-1, -0.8, -0.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.1)
551
      end
552
    elseif(Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 and hit ~= nil and ice_mode == true then
553
      Anim = "Idle"
554
      if attack == false then
555
        change = 0.8
556
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(15)), 0.1)
557
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1)
558
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1)
559
        LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1)
560
        RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(19 + 2 * math.cos(sine / 25))), 0.1)
561
        LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 25), -0.1) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(9 + 2 * math.cos(sine / 25))), 0.1)
562
      end
563
    elseif (Torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 and hit ~= nil and ice_mode == true then
564
      Anim = "Walk"
565
      if attack == false then
566
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.5 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(-70)), 0.1)
567
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(70)), 0.1)
568
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1)
569
        LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1)
570
        RH.C0 = clerp(RH.C0, cn(0.6, -0.8 - 0.1 * math.cos(sine / 25), -0.5) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(70), math.rad(4 + 2 * math.cos(sine / 25))), 0.1)
571
        LH.C0 = clerp(LH.C0, cn(-0.9, -0.8 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(70), math.rad(-19 + 2 * math.cos(sine / 25))), 0.1)
572
      end
573
    end
574
  end
575
  if 0 < #Effects then
576
    for e = 1, #Effects do
577
      if Effects[e] ~= nil then
578
        local Thing = Effects[e]
579
        if Thing ~= nil then
580
          local Part = Thing[1]
581
          local Mode = Thing[2]
582
          local Delay = Thing[3]
583
          local IncX = Thing[4]
584
          local IncY = Thing[5]
585
          local IncZ = Thing[6]
586
          if 1 >= Thing[1].Transparency then
587
            if Thing[2] == "Block1" then
588
              Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
589
              local Mesh = Thing[1].Mesh
590
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
591
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
592
            elseif Thing[2] == "Block2" then
593
              Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, -0.3, 0)
594
              local Mesh = Thing[7]
595
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
596
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
597
            elseif Thing[2] == "Block3" then
598
              Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.2, 0)
599
              local Mesh = Thing[7]
600
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
601
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
602
            elseif Thing[2] == "Cylinder" then
603
              local Mesh = Thing[1].Mesh
604
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
605
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
606
            elseif Thing[2] == "Blood" then
607
              local Mesh = Thing[7]
608
              Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
609
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
610
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
611
            elseif Thing[2] == "Elec" then
612
              local Mesh = Thing[1].Mesh
613
              Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
614
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
615
            elseif Thing[2] == "Disappear" then
616
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
617
            elseif Thing[2] == "Shatter" then
618
              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
619
              Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
620
              Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
621
              Thing[6] = Thing[6] + Thing[5]
622
            end
623
          else
624
            Part.Parent = nil
625
            table.remove(Effects, e)
626
          end
627
        end
628
      end
629
    end
630
  end
631
end)
632
function RemoveOutlines(part)
633
  part.TopSurface = 10
634
end
635
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
636
  local Part = Create("Part")({
637
    Parent = Parent,
638
    Reflectance = Reflectance,
639
    Transparency = Transparency,
640
    CanCollide = false,
641
    Locked = true,
642
    BrickColor = BrickColor.new(tostring(BColor)),
643
    Name = Name,
644
    Size = Size,
645
    Material = Material
646
  })
647
  RemoveOutlines(Part)
648
  return Part
649
end
650
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
651
  local Msh = Create(Mesh)({
652
    Parent = Part,
653
    Offset = OffSet,
654
    Scale = Scale
655
  })
656
  if Mesh == "SpecialMesh" then
657
    Msh.MeshType = MeshType
658
    Msh.MeshId = MeshId
659
  end
660
  return Msh
661
end
662
function CreateWeld(Parent, Part0, Part1, C0, C1)
663
  local Weld = Create("Weld")({
664
    Parent = Parent,
665
    Part0 = Part0,
666
    Part1 = Part1,
667
    C0 = C0,
668
    C1 = C1
669
  })
670
  return Weld
671
end
672
WSHM = {
673
  "White",
674
  "Pastel light blue"
675
}
676
WSH = WSHM[math.random(1, #WSHM)]
677
function IcePartFunk(HPart, aria, Min, Max)
678
  IcePart = Instance.new("Part", HPart)
679
  IcePart.Size = Vector3.new(math.random(Min, Max), math.random(Min, Max), math.random(Min, Max))
680
  IcePart.CanCollide = false
681
  IuW = Instance.new("Weld")
682
  IuW.Name = "GuW"
683
  IuW.Part0 = HPart
684
  IuW.C0 = cn(math.random(-aria, aria), math.random(-aria, aria), math.random(-aria, aria)) * angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
685
  IuW.C1 = cn(0, math.random(-aria / 2, aria / 2), 0)
686
  IuW.Part1 = IcePart
687
  IuW.Parent = HPart
688
  IcePart.Transparency = 0.85
689
  IcePart.Material = "Neon"
690
  WSH = WSHM[math.random(1, #WSHM)]
691
  IcePart.BrickColor = BrickColor.new("" .. WSH)
692
  RemoveOutlines(IcePart)
693
  game:GetService("Debris"):AddItem(IuW, 4)
694
  game:GetService("Debris"):AddItem(IcePart, 6)
695
end
696
SpikeMeshId = 1033714
697
local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
698
  local Part = Instance.new("Part", Parent)
699
  Part.Name = Name
700
  Part.BrickColor = BrickColor.new(Color)
701
  Part.Size = Size
702
  Part.Material = Material
703
  Part.Transparency = Transparency
704
  Part.CanCollide = false
705
  RemoveOutlines(Part)
706
  local Mesh = Instance.new("SpecialMesh", Part)
707
  Mesh.MeshType = "Sphere"
708
  Mesh.Scale = Scale
709
  return Mesh and Part
710
end
711
CFuncs = {
712
  Part = {
713
    Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
714
      local Part = Create("Part")({
715
        Parent = Parent,
716
        Reflectance = Reflectance,
717
        Transparency = Transparency,
718
        CanCollide = false,
719
        Locked = true,
720
        BrickColor = BrickColor.new(tostring(BColor)),
721
        Name = Name,
722
        Size = Size,
723
        Material = Material
724
      })
725
      RemoveOutlines(Part)
726
      return Part
727
    end
728
  },
729
  Mesh = {
730
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
731
      local Msh = Create(Mesh)({
732
        Parent = Part,
733
        Offset = OffSet,
734
        Scale = Scale
735
      })
736
      if Mesh == "SpecialMesh" then
737
        Msh.MeshType = MeshType
738
        Msh.MeshId = MeshId
739
      end
740
      return Msh
741
    end
742
  },
743
  Mesh = {
744
    Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
745
      local Msh = Create(Mesh)({
746
        Parent = Part,
747
        Offset = OffSet,
748
        Scale = Scale
749
      })
750
      if Mesh == "SpecialMesh" then
751
        Msh.MeshType = MeshType
752
        Msh.MeshId = MeshId
753
      end
754
      return Msh
755
    end
756
  },
757
  Weld = {
758
    Create = function(Parent, Part0, Part1, C0, C1)
759
      local Weld = Create("Weld")({
760
        Parent = Parent,
761
        Part0 = Part0,
762
        Part1 = Part1,
763
        C0 = C0,
764
        C1 = C1
765
      })
766
      return Weld
767
    end
768
  },
769
  Sound = {
770
    Create = function(id, par, vol, pit)
771
      coroutine.resume(coroutine.create(function()
772
        local S = Create("Sound")({
773
          Volume = vol,
774
          Pitch = pit or 1,
775
          SoundId = id,
776
          Parent = par or workspace
777
        })
778
        wait()
779
        S:play()
780
        game:GetService("Debris"):AddItem(S, 6)
781
      end))
782
    end
783
  },
784
  ParticleEmitter = {
785
    Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
786
      local fp = Create("ParticleEmitter")({
787
        Parent = Parent,
788
        Color = ColorSequence.new(Color1, Color2),
789
        LightEmission = LightEmission,
790
        Size = Size,
791
        Texture = Texture,
792
        Transparency = Transparency,
793
        ZOffset = ZOffset,
794
        Acceleration = Accel,
795
        Drag = Drag,
796
        LockedToPart = LockedToPart,
797
        VelocityInheritance = VelocityInheritance,
798
        EmissionDirection = EmissionDirection,
799
        Enabled = Enabled,
800
        Lifetime = LifeTime,
801
        Rate = Rate,
802
        Rotation = Rotation,
803
        RotSpeed = RotSpeed,
804
        Speed = Speed,
805
        VelocitySpread = VelocitySpread
806
      })
807
      return fp
808
    end
809
  }
810
}
811
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
812
  if hit.Parent == nil then
813
    return
814
  end
815
  local h = hit.Parent:FindFirstChild("Humanoid")
816
  for _, v in pairs(hit.Parent:children()) do
817
    if v:IsA("Humanoid") then
818
      h = v
819
    end
820
  end
821
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
822
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
823
      return
824
    end
825
    local c = Create("ObjectValue")({
826
      Name = "creator",
827-
      Value = game:service("Players").everymanbuthimself19,
827+
      Value = game:service("Players").DragonBxllinGamver,
828
      Parent = h
829
    })
830
    game:GetService("Debris"):AddItem(c, 0.5)
831
    if HitSound ~= nil and HitPitch ~= nil then
832
      CreateSound(HitSound, hit, 1, HitPitch)
833
    end
834
    local Damage = math.random(minim, maxim)
835
    local blocked = false
836
    local block = hit.Parent:findFirstChild("Block")
837
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
838
      blocked = true
839
      block.Value = block.Value - 1
840
      print(block.Value)
841
    end
842
    if blocked == false then
843
      h.Health = h.Health - Damage
844
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
845
    else
846
      h.Health = h.Health - Damage / 2
847
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
848
    end
849
    if Type == "Knockdown" then
850
      local hum = hit.Parent.Humanoid
851
      hum.PlatformStand = true
852
      coroutine.resume(coroutine.create(function(HHumanoid)
853
        swait(1)
854
        HHumanoid.PlatformStand = false
855
      end), hum)
856
      local angle = hit.Position - Property.Position + Vector3.new(0, 0, 0).unit
857
      local bodvol = Create("BodyVelocity")({
858
        velocity = angle * knockback,
859
        P = 5000,
860
        maxForce = Vector3.new(8000, 8000, 8000),
861
        Parent = hit
862
      })
863
      local rl = Create("BodyAngularVelocity")({
864
        P = 3000,
865
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
866
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
867
        Parent = hit
868
      })
869
      game:GetService("Debris"):AddItem(bodvol, 0.5)
870
      game:GetService("Debris"):AddItem(rl, 0.5)
871
    elseif Type == "Normal" then
872
      local vp = Create("BodyVelocity")({
873
        P = 500,
874
        maxForce = Vector3.new(math.huge, 0, math.huge),
875
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
876
      })
877
      if knockback > 0 then
878
        vp.Parent = hit.Parent.Torso
879
      end
880
      game:GetService("Debris"):AddItem(vp, 0.5)
881
    elseif Type == "Impale" then
882
      local Spike = CreateSpike(Services.Workspace, "Ice Spike", "Pastel light blue", Vector3.new(1, 1, 1), "Neon", 0.7, Vector3.new(1, 25, 1))
883
      Spike.Anchored = true
884
      Spike.Rotation = Vector3.new(math.random(-10, 10), 0, math.random(-10, 10))
885
      Spike.Position = hit.Parent.Torso.Position
886
      for i = 1, 5 do
887
        IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1)
888
      end
889
      Services.Debris:AddItem(Spike, 4)
890
      CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, 0.8, 2)
891
      hit.Parent.Humanoid.PlatformStand = true
892
      swait(1)
893
      hit.Parent.Humanoid.PlatformStand = false
894
    elseif Type == "Up" then
895
      local bodyVelocity = Create("BodyVelocity")({
896
        velocity = Vector3.new(0, 20, 0),
897
        P = 5000,
898
        maxForce = Vector3.new(8000, 8000, 8000),
899
        Parent = hit
900
      })
901
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
902
      local bodyVelocity = Create("BodyVelocity")({
903
        velocity = Vector3.new(0, 20, 0),
904
        P = 5000,
905
        maxForce = Vector3.new(8000, 8000, 8000),
906
        Parent = hit
907
      })
908
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
909
    elseif Type == "Snare" then
910
      local bp = Create("BodyPosition")({
911
        P = 900,
912
        D = 1000,
913
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
914
        position = hit.Parent.Torso.Position,
915
        Parent = hit.Parent.Torso
916
      })
917
      game:GetService("Debris"):AddItem(bp, 1)
918
    elseif Type == "Slowness" then
919
      local SpeedSave = hit.Parent.Humanoid.WalkSpeed
920
      for i = 1, 25 do
921
        hit.Parent.Humanoid.WalkSpeed = 4
922
        IcePartFunk(hit.Parent.Torso, 0.55, 0.1, 1)
923
      end
924
      wait(4)
925
      hit.Parent.Humanoid.WalkSpeed = SpeedSave
926
    elseif Type == "FireDmg" then
927
      for i = 1, math.random(10, 30) do
928
        BlockEffect(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 20, 20, 20, 1.5, 1.5, 1.5, 0.05, 3)
929
        BlockEffect(BrickColor.new("Gold"), hit.Parent.Torso.CFrame, 20, 20, 20, 2, 2, 2, 0.05, 3)
930
        BlockEffect(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 0, 0, 0, 2, 2, 2, 0.035, 3)
931
        wait(0.1)
932
        MagniDamage(hit.Parent.Torso, 5, 1, 8, 0, "Normal")
933
      end
934
    elseif Type == "Freeze" then
935
      local bp = Create("BodyPosition")({
936
        P = 900,
937
        D = 1000,
938
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
939
        position = hit.Parent.Torso.Position,
940
        Parent = hit.Parent.Torso
941
      })
942
      game:GetService("Debris"):AddItem(bp, 4)
943
      for i = 1, 25 do
944
        IcePartFunk(hit.Parent.Torso, 1, 1.5, 2)
945
      end
946
    elseif Type == "Freeze2" then
947
      local BodPos = Create("BodyPosition")({
948
        P = 50000,
949
        D = 1000,
950
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
951
        position = hit.Parent.Torso.Position,
952
        Parent = hit.Parent.Torso
953
      })
954
      local BodGy = Create("BodyGyro")({
955
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
956
        P = 20000,
957
        Parent = hit.Parent.Torso,
958
        cframe = hit.Parent.Torso.CFrame
959
      })
960
      hit.Parent.Torso.Anchored = true
961
      coroutine.resume(coroutine.create(function(Part)
962
        swait(1.5)
963
        Part.Anchored = false
964
      end), hit.Parent.Torso)
965
      game:GetService("Debris"):AddItem(BodPos, 3)
966
      game:GetService("Debris"):AddItem(BodGy, 3)
967
    end
968
    local debounce = Create("BoolValue")({
969
      Name = "DebounceHit",
970
      Parent = hit.Parent,
971
      Value = true
972
    })
973
    game:GetService("Debris"):AddItem(debounce, Delay)
974
    c = Instance.new("ObjectValue")
975
    c.Name = "creator"
976
    c.Value = Player
977
    c.Parent = h
978
    game:GetService("Debris"):AddItem(c, 0.5)
979
  end
980
end
981
function ShowDamage(Pos, Text, Time, Color)
982
  local Rate = 0.033333333333333
983
  if not Pos then
984
    local Pos = Vector3.new(0, 0, 0)
985
  end
986
  local Text = Text or ""
987
  local Time = Time or 2
988
  if not Color then
989
    local Color = Color3.new(1, 0, 1)
990
  end
991
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
992
  EffectPart.Anchored = true
993
  local BillboardGui = Create("BillboardGui")({
994
    Size = UDim2.new(3, 0, 3, 0),
995
    Adornee = EffectPart,
996
    Parent = EffectPart
997
  })
998
  local TextLabel = Create("TextLabel")({
999
    BackgroundTransparency = 1,
1000
    Size = UDim2.new(1, 0, 1, 0),
1001
    Text = Text,
1002
    TextColor3 = Color,
1003
    TextScaled = true,
1004
    Font = Enum.Font.ArialBold,
1005
    Parent = BillboardGui
1006
  })
1007
  game.Debris:AddItem(EffectPart, Time + 0.1)
1008
  EffectPart.Parent = game:GetService("Workspace")
1009
  delay(0, function()
1010
    local Frames = Time / Rate
1011
    for Frame = 1, Frames do
1012
      wait(Rate)
1013
      local Percent = Frame / Frames
1014
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1015
      TextLabel.TextTransparency = Percent
1016
    end
1017
    if EffectPart and EffectPart.Parent then
1018
      EffectPart:Destroy()
1019
    end
1020
  end)
1021
end
1022
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1023
  for _, c in pairs(workspace:children()) do
1024
    local hum = c:findFirstChild("Humanoid")
1025
    if hum ~= nil then
1026
      local head = c:findFirstChild("Head")
1027
      if head ~= nil then
1028
        local targ = head.Position - Part.Position
1029
        local mag = targ.magnitude
1030
        if magni >= mag and c.Name ~= Player.Name then
1031
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
1032
        end
1033
      end
1034
    end
1035
  end
1036
end
1037
function MagniKILL(Part, magni, knock, Type)
1038
  for _, c in pairs(workspace:children()) do
1039
    local hum = c:findFirstChild("Humanoid")
1040
    if hum ~= nil then
1041
      local head = c:findFirstChild("Head")
1042
      if head ~= nil then
1043
        local targ = head.Position - Part.Position
1044
        local mag = targ.magnitude
1045
        if magni >= mag and c.Name ~= Player.Name then
1046
          hum.Health = 0
1047
        end
1048
      end
1049
    end
1050
  end
1051
end
1052
EffectModel = Instance.new("Model", Character)
1053
EffectModel.Name = "Effects"
1054
Effects = {
1055
  Block = {
1056
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1057
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1058
      prt.Anchored = true
1059
      prt.CFrame = cframe
1060
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1061
      game:GetService("Debris"):AddItem(prt, 10)
1062
      if Type == 1 or Type == nil then
1063
        table.insert(Effects, {
1064
          prt,
1065
          "Block1",
1066
          delay,
1067
          x3,
1068
          y3,
1069
          z3,
1070
          msh
1071
        })
1072
      elseif Type == 2 then
1073
        table.insert(Effects, {
1074
          prt,
1075
          "Block2",
1076
          delay,
1077
          x3,
1078
          y3,
1079
          z3,
1080
          msh
1081
        })
1082
      else
1083
        table.insert(Effects, {
1084
          prt,
1085
          "Block3",
1086
          delay,
1087
          x3,
1088
          y3,
1089
          z3,
1090
          msh
1091
        })
1092
      end
1093
    end
1094
  },
1095
  Sphere = {
1096
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1097
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1098
      prt.Anchored = true
1099
      prt.CFrame = cframe
1100
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1101
      game:GetService("Debris"):AddItem(prt, 10)
1102
      table.insert(Effects, {
1103
        prt,
1104
        "Cylinder",
1105
        delay,
1106
        x3,
1107
        y3,
1108
        z3,
1109
        msh
1110
      })
1111
    end
1112
  },
1113
  Cylinder = {
1114
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1115
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1116
      prt.Anchored = true
1117
      prt.CFrame = cframe
1118
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1119
      game:GetService("Debris"):AddItem(prt, 10)
1120
      table.insert(Effects, {
1121
        prt,
1122
        "Cylinder",
1123
        delay,
1124
        x3,
1125
        y3,
1126
        z3,
1127
        msh
1128
      })
1129
    end
1130
  },
1131
  Wave = {
1132
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1133
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1134
      prt.Anchored = true
1135
      prt.CFrame = cframe
1136
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1137
      game:GetService("Debris"):AddItem(prt, 10)
1138
      table.insert(Effects, {
1139
        prt,
1140
        "Cylinder",
1141
        delay,
1142
        x3,
1143
        y3,
1144
        z3,
1145
        msh
1146
      })
1147
    end
1148
  },
1149
  Ring = {
1150
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1151
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
1152
      prt.Anchored = true
1153
      prt.CFrame = cframe
1154
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1155
      game:GetService("Debris"):AddItem(prt, 10)
1156
      table.insert(Effects, {
1157
        prt,
1158
        "Cylinder",
1159
        delay,
1160
        x3,
1161
        y3,
1162
        z3,
1163
        msh
1164
      })
1165
    end
1166
  },
1167
  Break = {
1168
    Create = function(brickcolor, cframe, x1, y1, z1)
1169
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1170
      prt.Anchored = true
1171
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1172
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1173
      local num = math.random(10, 50) / 1000
1174
      game:GetService("Debris"):AddItem(prt, 10)
1175
      table.insert(Effects, {
1176
        prt,
1177
        "Shatter",
1178
        num,
1179
        prt.CFrame,
1180
        math.random() - math.random(),
1181
        0,
1182
        math.random(50, 100) / 100
1183
      })
1184
    end
1185
  }
1186
}
1187
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1188
  local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1189
  prt.Anchored = true
1190
  prt.CFrame = cframe
1191
  local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1192
  game:GetService("Debris"):AddItem(prt, 10)
1193
  if Type == 1 or Type == nil then
1194
    table.insert(Effects, {
1195
      prt,
1196
      "Block1",
1197
      delay,
1198
      x3,
1199
      y3,
1200
      z3,
1201
      msh
1202
    })
1203
  elseif Type == 2 then
1204
    table.insert(Effects, {
1205
      prt,
1206
      "Block2",
1207
      delay,
1208
      x3,
1209
      y3,
1210
      z3,
1211
      msh
1212
    })
1213
  elseif Type == 3 then
1214
    table.insert(Effects, {
1215
      prt,
1216
      "Block3",
1217
      delay,
1218
      x3,
1219
      y3,
1220
      z3,
1221
      msh
1222
    })
1223
  end
1224
end
1225
function CreateSound(id, par, vol, pit)
1226
  coroutine.resume(coroutine.create(function()
1227
    local sou = Instance.new("Sound", par or workspace)
1228
    sou.Volume = vol
1229
    sou.Pitch = pit or 1
1230
    sou.SoundId = id
1231
    swait()
1232
    sou:play()
1233
    game:GetService("Debris"):AddItem(sou, 6)
1234
  end))
1235
end
1236
function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1237
  local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
1238
  prt.Anchored = true
1239
  prt.CFrame = cframe
1240
  prt.Material = "Neon"
1241
  local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1242
  game:GetService("Debris"):AddItem(prt, 10)
1243
  coroutine.resume(coroutine.create(function(Part, Mesh)
1244
    for i = 0, 6, delay do
1245
      swait()
1246
      Part.Transparency = i
1247
      Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
1248
    end
1249
    Part.Parent = nil
1250
  end), prt, msh)
1251
end
1252
function shoottraildd(mouse, partt, SpreadAmount, dmg)
1253
  local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1254
  local MainPos = partt.Position
1255
  local MainPos2 = mouse + SpreadVectors
1256
  local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1257
  local speed = 1000
1258
  local num = 1
1259
  coroutine.resume(coroutine.create(function()
1260
    repeat
1261
      swait()
1262
      local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1263
      local mag =(MainPos - pos).magnitude
1264
      Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -2.175, 0, -2.175, 0.15)
1265
      MainPos = MainPos + MouseLook.lookVector * speed
1266
      num = num - 1
1267
      MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1268
      if hit ~= nil then
1269
        num = 0
1270
        local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1271
        refpart.Anchored = true
1272
        refpart.CFrame = CFrame.new(pos)
1273
        game:GetService("Debris"):AddItem(refpart, 2)
1274
      end
1275
      if num <= 0 then
1276
        local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1277
        refpart.Anchored = true
1278
        refpart.CFrame = CFrame.new(pos)
1279
        if hit ~= nil then
1280
          CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
1281
          BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
1282
          BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
1283
          BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
1284
          MagniDamage(refpart, 6, dmg, dmg, 0, "FireDmg")
1285
        end
1286
        game:GetService("Debris"):AddItem(refpart, 0)
1287
      end
1288
    until num <= 0
1289
  end))
1290
end
1291
function shoottraildd2(mouse, partt, SpreadAmount)
1292
  local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1293
  local MainPos = partt.Position
1294
  local MainPos2 = mouse + SpreadVectors
1295
  local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1296
  local speed = 1000
1297
  local num = 1
1298
  coroutine.resume(coroutine.create(function()
1299
    repeat
1300
      swait()
1301
      local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1302
      local mag = (MainPos - pos).magnitude
1303
      Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -8.175, 0, -8.175, 0.15)
1304
      MainPos = MainPos + MouseLook.lookVector * speed
1305
      num = num - 1
1306
      MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1307
      if hit ~= nil then
1308
        num = 0
1309
        local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1310
        refpart.Anchored = true
1311
        refpart.CFrame = CFrame.new(pos)
1312
        game:GetService("Debris"):AddItem(refpart, 2)
1313
      end
1314
      if num <= 0 then
1315
        local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1316
        refpart.Anchored = true
1317
        refpart.CFrame = CFrame.new(pos)
1318
        if hit ~= nil then
1319
          CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
1320
          BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 86.5, 86.5, 86.5, 0.05)
1321
          BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
1322
          BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 87, 87, 87, 0.05)
1323
          MagniKILL(refpart, 80, 0, "Normal")
1324
        end
1325
        game:GetService("Debris"):AddItem(refpart, 0)
1326
      end
1327
    until num <= 0
1328
  end))
1329
end
1330
function shoottraildd3(mouse, partt, SpreadAmount, dmg)
1331
  local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1332
  local MainPos = partt.Position
1333
  local MainPos2 = mouse + SpreadVectors
1334
  local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1335
  local speed = 200
1336
  local num = 0
1337
  coroutine.resume(coroutine.create(function()
1338
    repeat
1339
      swait()
1340
      local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1341
      local mag = (MainPos - pos).magnitude
1342
      Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.375, 0, -0.375, 0.05)
1343
      MainPos = MainPos + MouseLook.lookVector * speed
1344
      num = num - 1
1345
      MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1346
      if hit ~= nil then
1347
        num = 0
1348
        local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1349
        refpart.Anchored = true
1350
        refpart.CFrame = CFrame.new(pos)
1351
        BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
1352
        game:GetService("Debris"):AddItem(refpart, 2)
1353
      end
1354
      if num <= 0 then
1355
        local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1356
        refpart.Anchored = true
1357
        refpart.CFrame = CFrame.new(pos)
1358
        if hit ~= nil then
1359
          CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
1360
          BlockEffect(BrickColor.new("White"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
1361
          BlockEffect(BrickColor.new("Pastel light blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
1362
          MagniDamage(refpart, 6, dmg, dmg, 0, "Slowness")
1363
        end
1364
        game:GetService("Debris"):AddItem(refpart, 0)
1365
      end
1366
    until num <= 0
1367
  end))
1368
end
1369
function shoottraildd4(mouse, partt, SpreadAmount, dmg)
1370
  local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
1371
  local MainPos = partt.Position
1372
  local MainPos2 = mouse + SpreadVectors
1373
  local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
1374
  local speed = 150
1375
  local num = 1
1376
  coroutine.resume(coroutine.create(function()
1377
    repeat
1378
      swait()
1379
      local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
1380
      local mag = (MainPos - pos).magnitude
1381
      Laser(BrickColor.new("Gold"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -1.175, 0, -1.175, 0.15)
1382
      MainPos = MainPos + MouseLook.lookVector * speed
1383
      num = num - 1
1384
      MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
1385
      if hit ~= nil then
1386
        num = 0
1387
        local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1388
        refpart.Anchored = true
1389
        refpart.CFrame = CFrame.new(pos)
1390
        game:GetService("Debris"):AddItem(refpart, 2)
1391
      end
1392
      if num <= 0 then
1393
        local refpart = CreatePart(EffectModel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
1394
        refpart.Anchored = true
1395
        refpart.CFrame = CFrame.new(pos)
1396
        if hit ~= nil then
1397
          CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 2, 1)
1398
          BlockEffect(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 6.5, 6.5, 6.5, 0.05)
1399
          BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
1400
          BlockEffect(BrickColor.new("Gold"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.05)
1401
          MagniDamage(refpart, 6, dmg, dmg, 0, "Normal")
1402
        end
1403
        game:GetService("Debris"):AddItem(refpart, 0)
1404
      end
1405
    until num <= 0
1406
  end))
1407
end
1408
musiccommand = 1
1409
musicwait = false
1410
mouse.KeyDown:connect(function(k)
1411
  if k == "m" and attack == false then
1412
    if musiccommand == 1 and musicwait == false then
1413
      musicwait = true
1414
      sou2:Stop()
1415
      musiccommand = 2
1416
    end
1417
    if musiccommand == 2 and musicwait == false then
1418
      musicwait = true
1419
      sou2:Play()
1420
      sou2.Volume = 2
1421
      musiccommand = 3
1422
    end
1423
    if musiccommand == 3 and musicwait == false then
1424
      musicwait = true
1425
      sou2.Volume = 0.5
1426
      musiccommand = 1
1427
    end
1428
    musicwait = false
1429
  end
1430
end)
1431
function HitpartFunk3(HPart3, Xv, Yv, Zv)
1432
  Hitpart3 = Instance.new("Part", HPart3)
1433
  Hitpart3.Size = Vector3.new(1, 1, 1)
1434
  Hitpart3.CanCollide = false
1435
  HuW3 = Instance.new("Weld")
1436
  HuW3.Name = "GuW"
1437
  HuW3.Part0 = HPart3
1438
  HuW3.C0 = cn(Xv, Yv, Zv)
1439
  HuW3.C1 = cn(0, 0, 0)
1440
  HuW3.Part1 = Hitpart3
1441
  HuW3.Parent = HPart3
1442
  Hitpart3.Transparency = 1
1443
  game:GetService("Debris"):AddItem(Hitpart3, 20)
1444
end
1445
function HitpartFunk2(HPart2, Xv, Yv, Zv)
1446
  Hitpart2 = Instance.new("Part", HPart2)
1447
  Hitpart2.Size = Vector3.new(1, 1, 1)
1448
  Hitpart2.CanCollide = false
1449
  HuW2 = Instance.new("Weld")
1450
  HuW2.Name = "GuW"
1451
  HuW2.Part0 = HPart2
1452
  HuW2.C0 = cn(Xv, Yv, Zv)
1453
  HuW2.C1 = cn(0, 0, 0)
1454
  HuW2.Part1 = Hitpart2
1455
  HuW2.Parent = HPart2
1456
  Hitpart2.Transparency = 1
1457
  game:GetService("Debris"):AddItem(Hitpart2, 20)
1458
end
1459
function HitpartFunk(HPart, Min, Max, Xv, Yv, Zv)
1460
  Hitpart = Instance.new("Part", HPart)
1461
  Hitpart.Size = Vector3.new(1, 1, 1)
1462
  Hitpart.CanCollide = false
1463
  HuW = Instance.new("Weld")
1464
  HuW.Name = "GuW"
1465
  HuW.Part0 = HPart
1466
  HuW.C0 = cn(Xv, Yv, Zv)
1467
  HuW.C1 = cn(0, 0, 0)
1468
  HuW.Part1 = Hitpart
1469
  HuW.Parent = HPart
1470
  Hitpart.Transparency = 1
1471
  MagniDamage(Hitpart, 4.5, Min, Max, 1, "Normal")
1472
end
1473
wait2 = false
1474
combo = 1
1475
mouse.Button1Down:connect(function(key)
1476
  if attack == false then
1477
    attack = true
1478
    Humanoid.WalkSpeed = 1.01
1479
    if combo == 1 and wait2 == false then
1480
      wait2 = true
1481
      CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", LeftArm, 1, 1.2)
1482
      for i = 0, 1, 0.1 do
1483
        swait()
1484
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3)
1485
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1486
        RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2)
1487
        LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
1488
        RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2)
1489
        LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2)
1490
      end
1491
      HitpartFunk(LeftArm, 5, 10, 0, -0.5, 0)
1492
      for i = 0, 1, 0.1 do
1493
        swait()
1494
        BlockEffect(BrickColor.new("White"), Hitpart.CFrame, 21, 21, 21, -2, -2, -2, 0.08)
1495
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3)
1496
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1497
        RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2)
1498
        LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3)
1499
        RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2)
1500
        LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2)
1501
      end
1502
      combo = 2
1503
    end
1504
    if combo == 2 and wait2 == false then
1505
      wait2 = true
1506
      for i = 0, 0.5, 0.1 do
1507
        swait()
1508
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1509
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
1510
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
1511
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
1512
        RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1513
        LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1514
      end
1515
      CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", RightArm, 1, 1.2)
1516
      for i = 0, 1, 0.1 do
1517
        swait()
1518
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1519
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
1520
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(35), math.rad(0), math.rad(0)), 0.3)
1521
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.1)
1522
        RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1523
        LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1524
      end
1525
      HitpartFunk(RightArm, 10, 20, 0, -0.5, 0)
1526
      for i = 0, 1, 0.1 do
1527
        swait()
1528
        BlockEffect(BrickColor.new("White"), Hitpart.CFrame, 21, 21, 21, -2, -2, -2, 0.08)
1529
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
1530
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
1531
        RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, -0.8) * angles(math.rad(120), math.rad(0), math.rad(-35)), 0.3)
1532
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3)
1533
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-45), math.rad(0)), 0.3)
1534
        LH.C0 = clerp(LH.C0, cn(-1, -1, -0.2) * LHCF * angles(math.rad(0), math.rad(-25), math.rad(10)), 0.3)
1535
      end
1536
      combo = 3
1537
    end
1538
    if combo == 3 and wait2 == false then
1539
      wait2 = true
1540
      CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", LeftArm, 1, 1.2)
1541
      for i = 0, 2, 0.1 do
1542
        swait()
1543
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.2, -0.2) * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
1544
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1545
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.3)
1546
        LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.3)
1547
        RH.C0 = clerp(RH.C0, cn(1, -1, 0.4) * RHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1548
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1549
      end
1550
      HitpartFunk(RightLeg, 5, 10, 0, -0.5, 0)
1551
      for i = 0, 1, 0.1 do
1552
        swait()
1553
        BlockEffect(BrickColor.new("White"), Hitpart.CFrame, 21, 21, 21, -2, -2, -2, 0.08)
1554
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3)
1555
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3)
1556
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3)
1557
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3)
1558
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3)
1559
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
1560
      end
1561
      combo = 1
1562
    end
1563
    Humanoid.WalkSpeed = 16
1564
    Hitpart:Destroy()
1565
    wait2 = false
1566
    attack = false
1567
  end
1568
end)
1569
MV1 = 20
1570
mouse.KeyDown:connect(function(k)
1571
  if k == "e" and attack == false then
1572
    if firemode == true then
1573
      firemode = false
1574
      print("ice mode")
1575
      icesmoke.Acceleration = Vector3.new(15, 0, 0)
1576
      icesmoke.Texture = "http://www.roblox.com/asset/?id=243728104"
1577
      icesmoke.Transparency = NumberSequence.new({
1578
        NumberSequenceKeypoint.new(0, 0.9),
1579
        NumberSequenceKeypoint.new(1, 1)
1580
      })
1581
    else
1582
      firemode = true
1583
      print("fire mode")
1584
      ice_mode = false
1585
      game.Players.LocalPlayer.Character.Head.Running.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
1586
      icesmoke.Acceleration = Vector3.new(-5, 0, 0)
1587
      icesmoke.Texture = "http://www.roblox.com/asset/?id=11601142"
1588
      icesmoke.Transparency = NumberSequence.new(0.7, 1)
1589
    end
1590
  end
1591
  if attack == false and k == "x" and MV1 > 19 and firemode == false then
1592
    MV1 = 0
1593
    Humanoid.WalkSpeed = 2.01
1594
    attack = true
1595
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=131632972", LeftArm, 1, 1.5)
1596
    Firepart2 = Instance.new("Part", LeftArm)
1597
    Firepart2.Size = Vector3.new(1, 1, 1)
1598
    Firepart2.CanCollide = false
1599
    GuW2 = Instance.new("Weld")
1600
    GuW2.Name = "GuW"
1601
    GuW2.Part0 = LeftArm
1602
    GuW2.C0 = cn(0, -0.5, 0)
1603
    GuW2.C1 = cn(0, 0, 0)
1604
    GuW2.Part1 = Firepart2
1605
    GuW2.Parent = LeftArm
1606
    Firepart2.Transparency = 1
1607
    MagniDamage(Firepart2, 6, 20, 40, 10, "Normal")
1608
    for i = 0, 2, 0.1 do
1609
      swait()
1610
      BlockEffect(BrickColor.new("Cyan"), Firepart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08)
1611
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-90)), 0.3)
1612
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1613
      RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 * math.cos(sine / 25)), math.rad(0 * math.cos(sine / 25))), 0.2)
1614
      LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.3, -0.2) * angles(math.rad(130 + 1 * math.cos(sine / 25)), math.rad(0), math.rad(-90 + 1 * math.cos(sine / 25))), 0.3)
1615
      RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), -0.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), 0.2)
1616
      LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0.4) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(20 + 2 * math.cos(sine / 25))), 0.2)
1617
    end
1618
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", LeftArm, 1, 2.7)
1619
    BlockEffect(BrickColor.new("Cyan"), Firepart2.CFrame, 1, 1, 1, 3, 3, 3, 0.025)
1620
    BlockEffect(BrickColor.new("White"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.02)
1621
    MagniDamage(Firepart2, 8, 10, 15, 0, "Freeze")
1622
    Humanoid.WalkSpeed = 16
1623
    attack = false
1624
    Firepart2:Destroy()
1625
  end
1626
end)
1627
MV2 = 90
1628
mouse.KeyDown:connect(function(k)
1629
  if attack == false and k == "x" and MV2 > 89 and firemode == true then
1630
    MV2 = 0
1631
    attack = true
1632
    Firepart = Instance.new("Part", RightArm)
1633
    Firepart.Size = Vector3.new(1, 1, 1)
1634
    GuW = Instance.new("Weld")
1635
    GuW.Name = "GuW"
1636
    GuW.Part0 = RightArm
1637
    GuW.C0 = cn(0, -1, 0)
1638
    GuW.C1 = cn(0, 0, 0)
1639
    GuW.Part1 = Firepart
1640
    GuW.Parent = RightArm
1641
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.7)
1642
    Firepart.Transparency = 1
1643
    Humanoid.WalkSpeed = 0.01
1644
    for i = 0, 4, 0.1 do
1645
      swait()
1646
      BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
1647
      BlockEffect(BrickColor.new("Really red"), Firepart.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
1648
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1649
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
1650
      RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(90 + 0.1 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.1)
1651
      LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1)
1652
      RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1653
      LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1654
    end
1655
    for i = 0, 4, 0.1 do
1656
      swait()
1657
      BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
1658
      BlockEffect(BrickColor.new("Really red"), Firepart.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
1659
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1660
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
1661
      RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.1)
1662
      LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1)
1663
      RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1664
      LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1665
    end
1666
    shoottraildd(mouse.Hit.p, RightArm, 0, 10)
1667
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433410", RightArm, 1, 0.8)
1668
    CreateSound("http://www.roblox.com/asset/?id=633130540", RightArm, 0.5, 1.5)
1669
    for i = 1, 3 do
1670
      BlockEffect(BrickColor.new("Gold"), Firepart.CFrame, 1, 1, 1, 6, 6, 6, 0.06)
1671
      BlockEffect(BrickColor.new("Really red"), Firepart.CFrame, 1, 1, 1, 5.8, 5.8, 5.8, 0.06)
1672
    end
1673
    for i = 0, 2, 0.1 do
1674
      BlockEffect(BrickColor.new("Really black"), Firepart.CFrame, 1, 1, 1, 1, 1, 1, 0.06)
1675
      swait()
1676
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1677
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
1678
      RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(130 + 1 * math.cos(sine / 25))), 0.05)
1679
      LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1)
1680
      RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1681
      LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1682
    end
1683
    Humanoid.WalkSpeed = 16
1684
    attack = false
1685
    Firepart:Destroy()
1686
  end
1687
  if attack == false and k == "c" and MV2 > 89 and firemode == false then
1688
    MV2 = 0
1689
    Humanoid.WalkSpeed = 0.1
1690
    attack = true
1691
    Firepart = Instance.new("Part", RightArm)
1692
    Firepart.Size = Vector3.new(1, 1, 1)
1693
    GuW = Instance.new("Weld")
1694
    GuW.Name = "GuW"
1695
    GuW.Part0 = RightArm
1696
    GuW.C0 = cn(0, -1, 0)
1697
    GuW.C1 = cn(0, 0, 0)
1698
    GuW.Part1 = Firepart
1699
    GuW.Parent = RightArm
1700
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.64)
1701
    Firepart.Transparency = 1
1702
    Humanoid.WalkSpeed = 0.01
1703
    for i = 0, 4, 0.1 do
1704
      swait()
1705
      BlockEffect(BrickColor.new("White"), Firepart.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
1706
      BlockEffect(BrickColor.new("Pastel light blue"), Firepart.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
1707
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1708
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
1709
      RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(90 + 0.1 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.1)
1710
      LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1)
1711
      RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1712
      LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1713
    end
1714
    for i = 0, 4, 0.1 do
1715
      swait()
1716
      BlockEffect(BrickColor.new("White"), Firepart.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
1717
      BlockEffect(BrickColor.new("Pastel light blue"), Firepart.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
1718
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1719
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
1720
      RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(90 + 1 * math.cos(sine / 25))), 0.1)
1721
      LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1)
1722
      RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1723
      LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1724
    end
1725
    shoottraildd3(mouse.Hit.p, RightArm, 0, 30)
1726
    CreateSound("http://www.roblox.com/asset/?id=633130540", RightArm, 0.35, 0.5)
1727
    BlockEffect(BrickColor.new("White"), Firepart.CFrame, 1, 1, 1, 2, 2, 2, 0.04)
1728
    BlockEffect(BrickColor.new("Pastel light blue"), Firepart.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.04)
1729
    for i = 0, 0.5, 0.1 do
1730
      swait()
1731
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1732
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
1733
      RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(0), math.rad(0 + 0.1 * math.cos(sine / 25)), math.rad(130 + 1 * math.cos(sine / 25))), 0.05)
1734
      LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, 0) * angles(math.rad(0 * math.cos(sine / 25)), math.rad(0), math.rad(0 + 1 * math.cos(sine / 25))), 0.1)
1735
      RH.C0 = clerp(RH.C0, cn(0.9, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1736
      LH.C0 = clerp(LH.C0, cn(-0.9, -1 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-10), math.rad(0 + 2 * math.cos(sine / 25))), 0.1)
1737
    end
1738
    Humanoid.WalkSpeed = 16
1739
    attack = false
1740
    MV2 = 0
1741
    Firepart:Destroy()
1742
  end
1743
end)
1744
Rapid = false
1745
BasePart = Instance.new("Part")
1746
BasePart.Shape = Enum.PartType.Block
1747
BasePart.Material = Enum.Material.Neon
1748
BasePart.TopSurface = Enum.SurfaceType.Smooth
1749
BasePart.BottomSurface = Enum.SurfaceType.Smooth
1750
BasePart.FormFactor = Enum.FormFactor.Custom
1751
BasePart.Size = Vector3.new(0.2, 0.2, 0.2)
1752
BasePart.CanCollide = true
1753
BasePart.Locked = true
1754
BasePart.Anchored = false
1755
local icy_Player = game.Players.LocalPlayer
1756
local icy_mouse = icy_Player:GetMouse()
1757
ice_mode = false
1758
local colors = {
1759
  BrickColor.new("Cyan"),
1760
  BrickColor.new("Medium blue"),
1761
  BrickColor.new("Pastel blue")
1762
}
1763
local root = game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
1764
if root then
1765
  icy_mouse.KeyDown:connect(function(k)
1766
    if k == "z" and firemode == false then
1767
      if ice_mode == true then
1768
        ice_mode = false
1769
        game.Players.LocalPlayer.Character.Head.Running.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
1770
      else
1771
        ice_mode = true
1772
        game.Players.LocalPlayer.Character.Head.Running.SoundId = "rbxassetid://571670708"
1773
      end
1774
    end
1775
    if k == "z" and firemode == true then
1776
      attack = true
1777
      do
1778
        local Stop = false
1779
        local Version = 0
1780
        local MaxSpeed = 1
1781
        local Speed = 0.5
1782
        local Keys = {}
1783
        local Force = 10000
1784
        CreateSound("http://www.roblox.com/asset/?id=260433410", Torso, 1, 1)
1785
        swait(1)
1786
        local Fly, Rot = char.Torso:FindFirstChild("LMMFly"), char.Torso:FindFirstChild("LMMRot")
1787
        if Fly then
1788
          Fly:Destroy()
1789
        end
1790
        if Rot then
1791
          Rot:Destroy()
1792
        end
1793
        Fly = Instance.new("BodyPosition", char.Torso)
1794
        Fly.Name = "LMMFly"
1795
        Fly.maxForce = Vector3.new(math.huge, math.huge, math.huge)
1796
        Fly.P = Force
1797
        Fly.position = char.Torso.Position
1798
        Rot = Instance.new("BodyGyro", char.Torso)
1799
        Rot.Name = "LMMRot"
1800
        Rot.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
1801
        Rot.P = Force
1802
        Rot.cframe = cam.CoordinateFrame
1803
        CreateSound("http://www.roblox.com/asset/?id=192104941", Fly, 2, 1.5)
1804
        local Thread, Old = Version, nil
1805
        char.Humanoid.PlatformStand = true
1806
        function StopFly()
1807
          Version = Version + 1
1808
          Stop = true
1809
          char.Humanoid.PlatformStand = false
1810
          Fly:Destroy()
1811
          Rot:Destroy()
1812
          attack = false
1813
        end
1814
        char.ChildAdded:connect(function(Obj)
1815
          wait()
1816
          if Obj.Name == "LM" .. "MFlyStop" then
1817
            Obj:Destroy()
1818
            StopFly()
1819
          end
1820
        end)
1821
        HitpartFunk2(RightArm, 0, -0.7, 0)
1822
        HitpartFunk3(LeftArm, 0, -0.7, 0)
1823
        for i = 0, 25, 0.1 do
1824
          if attack == true then
1825
            swait()
1826
            BlockEffect(BrickColor.new("Gold"), Hitpart2.CFrame, 13, 13, 13, 2, 2, 2, 0.1, 2)
1827
            BlockEffect(BrickColor.new("Really red"), Hitpart2.CFrame, 11, 11, 11, 1.8, 1.8, 1.8, 0.1, 2)
1828
            BlockEffect(BrickColor.new("Gold"), Hitpart3.CFrame, 13, 13, 13, 2, 2, 2, 0.1, 2)
1829
            BlockEffect(BrickColor.new("Really red"), Hitpart3.CFrame, 11, 11, 11, 1.8, 1.8, 1.8, 0.1, 2)
1830
          end
1831
          local Vectoring = Rot.cframe - Rot.cframe.p + Fly.position
1832
          if Keys[string.char(48)] then
1833
            Speed = 1
1834
          end
1835
          if Keys.w then
1836
            Vectoring = Vectoring + cam.CoordinateFrame.lookVector * Speed
1837
          end
1838
          if Keys.s then
1839
            Vectoring = Vectoring - cam.CoordinateFrame.lookVector * Speed
1840
          end
1841
          if Keys.d then
1842
            Vectoring = Vectoring * CFrame.new(Speed, 0, 0)
1843
          end
1844
          if Keys.a then
1845
            Vectoring = Vectoring * CFrame.new(-Speed, 0, 0)
1846
          end
1847
          if Keys.e or Keys[" "] then
1848
            Vectoring = Vectoring * CFrame.new(0, Speed, 0)
1849
          end
1850
          if Keys.q then
1851
            Vectoring = Vectoring * CFrame.new(0, -Speed, 0)
1852
          end
1853
          if Keys.z then
1854
            StopFly()
1855
          end
1856
          if Old ~= Vectoring then
1857
            Fly.position = Vectoring.p
1858
            Old = Vectoring
1859
            Speed = math.min(Speed + Speed * 0.025, MaxSpeed)
1860
          else
1861
            Speed = 1
1862
          end
1863
          Rot.cframe = cam.CoordinateFrame
1864
          mouse.KeyDown:connect(function(Key)
1865
            Keys[Key] = true
1866
          end)
1867
          mouse.KeyUp:connect(function(Key)
1868
            Keys[Key] = false
1869
          end)
1870
          RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1871
          Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05)
1872
          RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.2)
1873
          LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-20)), 0.2)
1874
          RH.C0 = clerp(RH.C0, cn(1, -0.6, -0.4) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)
1875
          LH.C0 = clerp(LH.C0, cn(-1, -0.9, -0.1) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(5)), 0.1)
1876
        end
1877
        CreateSound("http://www.roblox.com/asset/?id=633130540", Torso, 0.8, 0.8)
1878
        attack = false
1879
        char.Humanoid.PlatformStand = false
1880
        Fly:Destroy()
1881
        Rot:Destroy()
1882
      end
1883
    end
1884
  end)
1885
  game:GetService("RunService").Stepped:connect(function()
1886
    if ice_mode == true then
1887-
      local part, pos, normal = workspace:FindPartOnRay(Ray.new(root.Position, Vector3.new(0, -64, 0)), game:GetService("Players").everymanbuthimself19.Character)
1887+
      local part, pos, normal = workspace:FindPartOnRay(Ray.new(root.Position, Vector3.new(0, -64, 0)), game:GetService("Players").DragonBxllinGamver.Character)
1888
      local icePath = BasePart:Clone()
1889
      icePath.Anchored = true
1890
      icePath.Transparency = 0.85
1891
      icePath.Size = Vector3.new(3 + math.random(), 0.2 + math.random() * 0.2, 3 + math.random())
1892
      icePath.CFrame = CFrame.new(pos, pos + normal) * CFrame.Angles(-math.pi / 2, math.pi * 2 * math.random(), 0)
1893
      icePath.BrickColor = colors[math.random(1, #colors)]
1894
      icePath.Parent = game:GetService("Players").LocalPlayer.Character
1895
      game:GetService("Debris"):AddItem(icePath, 1)
1896
      icePath.Velocity = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 36
1897
    end
1898
  end)
1899
end
1900
MV3 = 190
1901
mouse.KeyDown:connect(function(k)
1902
  if attack == false and k == "v" and MV3 > 189 and firemode == false then
1903
    MV3 = 0
1904
    attack = true
1905
    Humanoid.WalkSpeed = 0
1906
    HitpartFunk2(RightArm, 0, -0.5, 0)
1907
    HitpartFunk3(LeftArm, 0, -0.5, 0)
1908
    for i = 0, 1.5, 0.1 do
1909
      swait()
1910
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1911
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3)
1912
      RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
1913
      LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
1914
      RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1915
      LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1916
    end
1917
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=608537390", Torso, 1, 0.6)
1918
    for i = 0, 2, 0.1 do
1919
      swait()
1920
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1921
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
1922
      RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.1)
1923
      LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.1)
1924
      RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1925
      LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
1926
    end
1927
    for i = 0, 4.2, 0.1 do
1928
      swait()
1929
      BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08)
1930
      BlockEffect(BrickColor.new("Medium blue"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.09)
1931
      BlockEffect(BrickColor.new("Cyan"), Hitpart3.CFrame, 21, 21, 21, -2, -2, -2, 0.08)
1932
      BlockEffect(BrickColor.new("Medium blue"), Hitpart3.CFrame, 21, 21, 21, -2, -2, -2, 0.09)
1933
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1.5, -1) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
1934
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
1935
      RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.1)
1936
      LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.1)
1937
      RH.C0 = clerp(RH.C0, cn(1, -0.7, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.2)
1938
      LH.C0 = clerp(LH.C0, cn(-1, -0.55, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
1939
    end
1940
    BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 61, 61, 61, -2, -2, -2, 0.04)
1941
    BlockEffect(BrickColor.new("White"), Hitpart2.CFrame, 10, 10, 10, 2, 2, 2, 0.06)
1942
    BlockEffect(BrickColor.new("Cyan"), Hitpart3.CFrame, 61, 61, 61, -2, -2, -2, 0.04)
1943
    BlockEffect(BrickColor.new("White"), Hitpart3.CFrame, 10, 10, 10, 2, 2, 2, 0.06)
1944
    BlockEffect(BrickColor.new("Cyan"), Torso.CFrame, 1, 1, 1, 55, 55, 55, 0.08)
1945
    MagniDamage(Torso, 25, 20, 35, 40, "Freeze")
1946
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Torso, 2, 0.5)
1947
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435136", Torso, 4, 1.5)
1948
    for i = 0, 2, 0.1 do
1949
      swait()
1950
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -1.5, -1) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
1951
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
1952
      RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.1)
1953
      LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.1)
1954
      RH.C0 = clerp(RH.C0, cn(1, -0.7, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(45)), 0.1)
1955
      LH.C0 = clerp(LH.C0, cn(-1, -0.55, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
1956
    end
1957
    for i = 0, 2, 0.1 do
1958
      swait()
1959
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1960
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), 0.3)
1961
      RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
1962
      LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.1)
1963
      RH.C0 = clerp(RH.C0, cn(1, 0, -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1964
      LH.C0 = clerp(LH.C0, cn(-1, -1.5, -0.6) * LHCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
1965
    end
1966
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=752527668", Torso, 3, 0.65)
1967
    for i = 0, 4, 0.1 do
1968
      swait()
1969
      BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08)
1970
      BlockEffect(BrickColor.new("Medium blue"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.09)
1971
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0.5, -0.1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
1972
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3)
1973
      RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.1)
1974
      LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
1975
      RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.1)
1976
      LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.1)
1977
    end
1978
    for i = 0, 2, 0.1 do
1979
      swait()
1980
      BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.08)
1981
      BlockEffect(BrickColor.new("Medium blue"), Hitpart2.CFrame, 21, 21, 21, -2, -2, -2, 0.09)
1982
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.5, -0.1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
1983
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(25), math.rad(0), math.rad(0)), 0.1)
1984
      RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3, -0.6) * angles(math.rad(100), math.rad(0), math.rad(-25)), 0.4)
1985
      LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1986
      RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.1)
1987
      LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1988
    end
1989
    for i = 1, 6 do
1990
      BlockEffect(BrickColor.new("Cyan"), Hitpart2.CFrame, 61, 61, 61, -2, -2, -2, 0.04)
1991
      BlockEffect(BrickColor.new("White"), Hitpart2.CFrame, 10, 10, 10, 2, 2, 2, 0.06)
1992
      MagniDamage(Torso, 25, 1, 65, 40, "Impale")
1993
      CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433850", Hitpart2, 1, 0.65)
1994
      wait(0.15)
1995
    end
1996
    attack = false
1997
    Humanoid.WalkSpeed = 16
1998
  end
1999
  if attack == false and k == "c" and MV3 > 189 and firemode == true then
2000
    Humanoid.WalkSpeed = 0.01
2001
    MV3 = 0
2002
    attack = true
2003
    FastFireBall = Instance.new("Part", RightArm)
2004
    FastFireBall.Size = Vector3.new(1, 1, 1)
2005
    FFW = Instance.new("Weld")
2006
    FFW.Name = "GuW"
2007
    FFW.Part0 = RightArm
2008
    FFW.C0 = cn(0, -1, 0)
2009
    FFW.C1 = cn(0, 0, 0)
2010
    FFW.Part1 = FastFireBall
2011
    FFW.Parent = RightArm
2012
    FastFireBall.Transparency = 1
2013
    FastFireBall2 = Instance.new("Part", LeftArm)
2014
    FastFireBall2.Size = Vector3.new(1, 1, 1)
2015
    FFW2 = Instance.new("Weld")
2016
    FFW2.Name = "GuW"
2017
    FFW2.Part0 = LeftArm
2018
    FFW2.C0 = cn(0, -1, 0)
2019
    FFW2.C1 = cn(0, 0, 0)
2020
    FFW2.Part1 = FastFireBall2
2021
    FFW2.Parent = LeftArm
2022
    FastFireBall2.Transparency = 1
2023
    BlockEffect(BrickColor.new("Really black"), FastFireBall.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.04, 1)
2024
    BlockEffect(BrickColor.new("Really black"), FastFireBall2.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.04, 1)
2025
    for i = 0, 1, 0.1 do
2026
      swait()
2027
      BlockEffect(BrickColor.new("Gold"), FastFireBall.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2028
      BlockEffect(BrickColor.new("Really red"), FastFireBall.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2029
      BlockEffect(BrickColor.new("Gold"), FastFireBall2.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2030
      BlockEffect(BrickColor.new("Really red"), FastFireBall2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2031
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2032
      Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
2033
      RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.2)
2034
      LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.2)
2035
      RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2036
      LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2037
    end
2038
    BlockEffect(BrickColor.new("White"), FastFireBall.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.05)
2039
    BlockEffect(BrickColor.new("White"), FastFireBall2.CFrame, 1, 1, 1, 1.85, 1.85, 1.85, 0.05)
2040
    function holding()
2041
      if Rapid == true and ice_mode == false then
2042
        for i = 0, 0.8, 0.1 do
2043
          swait()
2044
          BlockEffect(BrickColor.new("Gold"), FastFireBall2.CFrame, 1, 1, 1, 3, 3, 3, 0.09, 1)
2045
          BlockEffect(BrickColor.new("Really red"), FastFireBall2.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.09, 1)
2046
          RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(-5), math.rad(-20)), 0.3)
2047
          Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(5), math.rad(20)), 0.25)
2048
          RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(200), math.rad(0), math.rad(70)), 0.5)
2049
          LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(20)), 0.4)
2050
          RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(20), math.rad(0)), 0.3)
2051
          LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(20), math.rad(0)), 0.3)
2052
        end
2053
        CreateSound("http://www.roblox.com/asset/?id=150442604", FastFireBall2, 2, 2)
2054
        shoottraildd4(mouse.Hit.p, FastFireBall2, 0, 10)
2055
        for i = 0, 0.8, 0.1 do
2056
          swait()
2057
          BlockEffect(BrickColor.new("Gold"), FastFireBall.CFrame, 1, 1, 1, 3, 3, 3, 0.09, 1)
2058
          BlockEffect(BrickColor.new("Really red"), FastFireBall.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.09, 1)
2059
          RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(5), math.rad(20)), 0.3)
2060
          Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(-5), math.rad(-20)), 0.25)
2061
          RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-20)), 0.4)
2062
          LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(200), math.rad(0), math.rad(-70)), 0.5)
2063
          RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.3)
2064
          LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.3)
2065
        end
2066
        CreateSound("http://www.roblox.com/asset/?id=150442604", FastFireBall, 2, 2)
2067
        shoottraildd4(mouse.Hit.p, FastFireBall, 0, 10)
2068
        holding()
2069
      end
2070
    end
2071
    if Rapid == false then
2072
      Rapid = true
2073
      holding()
2074
    end
2075
  end
2076
end)
2077
mouse.KeyUp:connect(function(k)
2078
  if k == "c" and Rapid == true then
2079
    MV3 = 50
2080
    Rapid = false
2081
    CreateSound("http://www.roblox.com/asset/?id=150442604", Torso, 2, 0.8)
2082
    attack = false
2083
    wait(0.5)
2084
    Humanoid.WalkSpeed = 16
2085
    FastFireBall:Destroy()
2086
    FastFireBall2:Destroy()
2087
  end
2088
end)
2089
MV4 = 300
2090
mouse.KeyDown:connect(function(k)
2091
  if attack == false and k == "v" and MV4 > 499 and firemode == true then
2092
    MV4 = 0
2093
    Humanoid.WalkSpeed = 0.01
2094
    attack = true
2095
    Firepart1 = Instance.new("Part", RightArm)
2096
    Firepart1.Size = Vector3.new(1, 1, 1)
2097
    GuW1 = Instance.new("Weld")
2098
    GuW1.Name = "GuW"
2099
    GuW1.Part0 = RightArm
2100
    GuW1.C0 = cn(0, -1, 0)
2101
    GuW1.C1 = cn(0, 0, 0)
2102
    GuW1.Part1 = Firepart1
2103
    GuW1.Parent = RightArm
2104
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=257001355", Torso, 2, 0.7)
2105
    Firepart1.Transparency = 1
2106
    Firepart2 = Instance.new("Part", LeftArm)
2107
    Firepart2.Size = Vector3.new(1, 1, 1)
2108
    GuW2 = Instance.new("Weld")
2109
    GuW2.Name = "GuW"
2110
    GuW2.Part0 = LeftArm
2111
    GuW2.C0 = cn(0, -1, 0)
2112
    GuW2.C1 = cn(0, 0, 0)
2113
    GuW2.Part1 = Firepart2
2114
    GuW2.Parent = LeftArm
2115
    Firepart2.Transparency = 1
2116
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3)
2117
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3)
2118
    for i = 0, 2, 0.1 do
2119
      swait()
2120
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2121
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2122
      BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2123
      BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2124
      if Torsovelocity.Y > 2 then
2125
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2126
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1)
2127
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2)
2128
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2)
2129
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2)
2130
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2)
2131
      elseif Torsovelocity.Y < 1 then
2132
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2133
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.1)
2134
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2)
2135
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2)
2136
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2137
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2138
      end
2139
    end
2140
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3)
2141
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3)
2142
    for i = 0, 7, 0.1 do
2143
      swait()
2144
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2145
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2146
      BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2147
      BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2148
      if Torsovelocity.Y > 2 then
2149
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2150
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
2151
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2)
2152
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2)
2153
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2)
2154
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2)
2155
      elseif Torsovelocity.Y < 1 then
2156
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2157
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
2158
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2)
2159
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2)
2160
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2161
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2162
      end
2163
    end
2164
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3)
2165
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3)
2166
    for i = 0, 7, 0.1 do
2167
      swait()
2168
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2169
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2170
      BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2171
      BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2172
      if Torsovelocity.Y > 2 then
2173
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2174
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
2175
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1)
2176
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.1)
2177
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2)
2178
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2)
2179
      elseif Torsovelocity.Y < 1 then
2180
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
2181
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
2182
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1)
2183
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.2)
2184
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2185
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2186
      end
2187
    end
2188
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", RightArm, 2, 0.3)
2189
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=181004943", LeftArm, 2, 0.3)
2190
    for i = 0, 6, 0.1 do
2191
      swait()
2192
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2193
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2194
      BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2195
      BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2196
      if Torsovelocity.Y > 2 then
2197
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2198
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2199
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1)
2200
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.1)
2201
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2)
2202
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2)
2203
      elseif Torsovelocity.Y < 1 then
2204
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 1)
2205
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2206
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(35)), 0.1)
2207
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-35)), 0.1)
2208
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2209
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2210
      end
2211
    end
2212
    for i = 0, 5, 0.1 do
2213
      swait()
2214
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2215
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2216
      BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2217
      BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2218
      if Torsovelocity.Y > 2 then
2219
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2220
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2221
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1)
2222
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1)
2223
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(35)), 0.2)
2224
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-35)), 0.2)
2225
      elseif Torsovelocity.Y < 1 then
2226
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2227
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2228
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1)
2229
        LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1)
2230
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2231
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2232
      end
2233
    end
2234
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=331888777", Firepart2, 8, 1)
2235
    for i = 0, 7, 0.1 do
2236
      swait()
2237
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2238
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2239
      BlockEffect(BrickColor.new("Gold"), Firepart2.CFrame, 1, 1, 1, 2, 2, 2, 0.06)
2240
      BlockEffect(BrickColor.new("Really red"), Firepart2.CFrame, 1, 1, 1, 1.8, 1.8, 1.8, 0.06)
2241
      if Torsovelocity.Y > 2 then
2242
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2243
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
2244
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-65)), 0.1)
2245
        LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(65)), 0.1)
2246
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2247
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2248
      elseif Torsovelocity.Y < 1 then
2249
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2250
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05)
2251
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1)
2252
        LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1)
2253
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2254
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2)
2255
      end
2256
    end
2257
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=743499393", Firepart2, 2, 0.8)
2258
    GuW1:Destroy()
2259
    GuW1 = Instance.new("Weld")
2260
    GuW1.Name = "GuW"
2261
    GuW1.Part0 = Torso
2262
    GuW1.C0 = cn(0, 0, -6)
2263
    GuW1.C1 = cn(0, 0, 0)
2264
    GuW1.Part1 = Firepart1
2265
    GuW1.Parent = Torso
2266
    GuW2:Destroy()
2267
    GuW2 = Instance.new("Weld")
2268
    GuW2.Name = "GuW"
2269
    GuW2.Part0 = Torso
2270
    GuW2.C0 = cn(0, 0, -6)
2271
    GuW2.C1 = cn(0, 0, 0)
2272
    GuW2.Part1 = Firepart2
2273
    GuW2.Parent = Torso
2274
    BlockEffect(BrickColor.new("White"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.06)
2275
    BlockEffect(BrickColor.new("White"), Firepart2.CFrame, 1, 1, 1, 20, 20, 20, 0.06)
2276
    GuW2:Destroy()
2277
    GuW2 = Instance.new("Weld")
2278
    GuW2.Name = "GuW"
2279
    GuW2.Part0 = Torso
2280
    GuW2.C0 = cn(0, 0, -4)
2281
    GuW2.C1 = cn(0, 0, 0)
2282
    GuW2.Part1 = Firepart2
2283
    GuW2.Parent = Torso
2284
    for i = 0, 7, 0.1 do
2285
      swait()
2286
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06)
2287
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06)
2288
      if Torsovelocity.Y > 2 then
2289
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2290
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
2291
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2)
2292
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2)
2293
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2294
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2295
      elseif Torsovelocity.Y < 1 then
2296
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2297
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05)
2298
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2)
2299
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2)
2300
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2301
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2302
      end
2303
    end
2304
    local bp2 = Create("BodyPosition")({
2305
      P = 900,
2306
      D = 1000,
2307
      maxForce = Vector3.new(math.huge, math.huge, math.huge),
2308
      position = Torso.Position + Vector3.new(0, 60, 0),
2309
      Parent = Torso
2310
    })
2311
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=244578827", Firepart2, 2, 1)
2312
    for i = 0, 8, 0.1 do
2313
      swait()
2314
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06)
2315
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06)
2316
      Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w)
2317
      if Torsovelocity.Y > 2 then
2318
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2319
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2320
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1)
2321
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1)
2322
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2323
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2324
      elseif Torsovelocity.Y < 1 then
2325
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2326
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
2327
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1)
2328
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1)
2329
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2330
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2331
      end
2332
    end
2333
    for i = 0, 18, 0.1 do
2334
      swait()
2335
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 10, 10, 10, 0.06)
2336
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 9.5, 9.5, 9.5, 0.06)
2337
      Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w)
2338
      if Torsovelocity.Y > 2 then
2339
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2340
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2341
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1)
2342
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1)
2343
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2344
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2345
      elseif Torsovelocity.Y < 1 then
2346
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2347
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.05)
2348
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.1)
2349
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-120), math.rad(-90)), 0.1)
2350
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2351
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2352
      end
2353
    end
2354
    GuW1:Destroy()
2355
    GuW1 = Instance.new("Weld")
2356
    GuW1.Name = "GuW"
2357
    GuW1.Part0 = Torso
2358
    GuW1.C0 = cn(0, 0, -15)
2359
    GuW1.C1 = cn(0, 0, 0)
2360
    GuW1.Part1 = Firepart1
2361
    GuW1.Parent = Torso
2362
    GuW2:Destroy()
2363
    GuW2 = Instance.new("Weld")
2364
    GuW2.Name = "GuW"
2365
    GuW2.Part0 = Torso
2366
    GuW2.C0 = cn(0, 0, -17.5)
2367
    GuW2.C1 = cn(0, 0, 0)
2368
    GuW2.Part1 = Firepart2
2369
    GuW2.Parent = Torso
2370
    for i = 0, 1.25, 0.01 do
2371
      swait()
2372
      Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0, math.rad(0), 0) * CFrame.new(dir.d - dir.a, 0, dir.s - dir.w)
2373
      shoottraildd2(mouse.Hit.p, Firepart2, 0)
2374
      CFuncs.Sound.Create("http://www.roblox.com/asset/?id=463177334", Firepart2, 5, 2)
2375
      BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 30, 30, 30, 0.06)
2376
      BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 29.5, 29.5, 29.5, 0.06)
2377
      if Torsovelocity.Y > 2 then
2378
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2379
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2380
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1)
2381
        LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1)
2382
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2383
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2384
      elseif Torsovelocity.Y < 1 then
2385
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2386
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.05)
2387
        RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-75)), 0.1)
2388
        LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(75)), 0.1)
2389
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2390
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2391
      end
2392
    end
2393
    CFuncs.Sound.Create("http://www.roblox.com/asset/?id=170278900", Torso, 8, 1)
2394
    BlockEffect(BrickColor.new("Really black"), Firepart1.CFrame, 1, 1, 1, 50, 50, 50, 0.02)
2395
    BlockEffect(BrickColor.new("Gold"), Firepart1.CFrame, 1, 1, 1, 20, 20, 20, 0.04)
2396
    BlockEffect(BrickColor.new("Really red"), Firepart1.CFrame, 1, 1, 1, 19.5, 19.5, 19.5, 0.04)
2397
    for i = 0, 3, 0.1 do
2398
      swait()
2399
      if Torsovelocity.Y > 2 then
2400
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2401
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.1)
2402
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2)
2403
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2)
2404
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2405
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2406
      elseif Torsovelocity.Y < 1 then
2407
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2408
        Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05)
2409
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.2)
2410
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.2)
2411
        RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2412
        LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
2413
      end
2414
    end
2415
    wait(1)
2416
    bp2:Destroy()
2417
    Humanoid.WalkSpeed = 16
2418
    attack = false
2419
    MV4 = 0
2420
    Firepart1:Destroy()
2421
    Firepart2:Destroy()
2422
  end
2423
end)
2424
whiletruewait = false
2425
game:GetService("RunService").Stepped:connect(function()
2426
  if whiletruewait == false then
2427
    whiletruewait = true
2428
    wait()
2429
    whiletruewait = false
2430
  end
2431
end)
2432
game:GetService("RunService").Stepped:connect(function()
2433
  if whiletruewait == false then
2434
    if MV1 < 20 then
2435
      MV1 = MV1 + 0.2
2436
    end
2437
    if MV2 < 90 then
2438
      MV2 = MV2 + 1
2439
    end
2440
    if MV3 < 190 then
2441
      MV3 = MV3 + 0.4
2442
    end
2443
    if MV4 < 500 then
2444
      MV4 = MV4 + 0.3
2445
    end
2446
  end
2447
end)
2448
Humanoid.MaxHealth = 1000
2449
wait()
2450
for i = 1, 6 do
2451
  Humanoid.Health = Humanoid.MaxHealth
2452
  wait()
2453
end
2454
print([[
2455
-------------------------------------------------
2456
Made by: No one, why are you even reading this .-.?
2457
-------------------------------------------------]])