Advertisement
cr8brooo

Untitled

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