Advertisement
Ban43_GodOfEdits

test todo

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