rcubed1003

Shoto Todoroki fe script

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