Advertisement
DarkScriptZEditors

SHOTO TODOROKI FE

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