Advertisement
Mediakiller7Cool

Todoroki

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