Advertisement
Guest User

Sun Powers edit

a guest
Jul 18th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --|| CREATED BY MEWY23
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",Character)
  32. sick.SoundId = "rbxassetid://577829461"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1000000
  36. sick:Play()
  37.  
  38. local FF = Instance.new("ForceField",Character)
  39. FF.Visible = false
  40.  
  41. IT = Instance.new
  42. CF = CFrame.new
  43. VT = Vector3.new
  44. RAD = math.rad
  45. C3 = Color3.new
  46. UD2 = UDim2.new
  47. BRICKC = BrickColor.new
  48. ANGLES = CFrame.Angles
  49. EULER = CFrame.fromEulerAnglesXYZ
  50. COS = math.cos
  51. ACOS = math.acos
  52. SIN = math.sin
  53. ASIN = math.asin
  54. ABS = math.abs
  55. MRANDOM = math.random
  56. FLOOR = math.floor
  57.  
  58. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  59. local NEWMESH = IT(MESH)
  60. if MESH == "SpecialMesh" then
  61. NEWMESH.MeshType = MESHTYPE
  62. if MESHID ~= "nil" and MESHID ~= "" then
  63. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  64. end
  65. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  66. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  67. end
  68. end
  69. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  70. NEWMESH.Scale = SCALE
  71. NEWMESH.Parent = PARENT
  72. return NEWMESH
  73. end
  74.  
  75. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  76. local NEWPART = IT("Part")
  77. NEWPART.formFactor = FORMFACTOR
  78. NEWPART.Reflectance = REFLECTANCE
  79. NEWPART.Transparency = TRANSPARENCY
  80. NEWPART.CanCollide = false
  81. NEWPART.Locked = true
  82. NEWPART.Anchored = true
  83. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  84. NEWPART.Name = NAME
  85. NEWPART.Size = SIZE
  86. NEWPART.Position = Torso.Position
  87. NEWPART.Material = MATERIAL
  88. NEWPART:BreakJoints()
  89. NEWPART.Parent = PARENT
  90. return NEWPART
  91. end
  92.  
  93.  
  94. --//=================================\\
  95. --|| CUSTOMIZATION
  96. --\\=================================//
  97.  
  98. Class_Name = "Template"
  99. Weapon_Name = "Add-ons"
  100.  
  101. Custom_Colors = {
  102. Custom_Color_1 = BRICKC("Pink"); --1st color for the weapon.
  103. Custom_Color_2 = BRICKC("White"); --2nd color for the weapon.
  104.  
  105. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  106. Custom_Color_4 = BRICKC("Cyan"); --Color for the secondary bar.
  107. Custom_Color_5 = BRICKC("Pink"); --Color for the mana bar.
  108. Custom_Color_6 = BRICKC("
  109. Pink"); --Color for the health bar.
  110. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  111.  
  112. Custom_Color_8 = BRICKC("
  113. Lilac"); --Background for the mana bar.
  114. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  115. Custom_Color_10 = BRICKC("Lilac"); --Background for the stun bar.
  116. Custom_Color_11 = BRICKC("Lilac"); --Background for the health bar.
  117. Custom_Color_12 = BRICKC("Pastel brown"); --Background for the abilities.
  118. }
  119.  
  120.  
  121. Player_Size = 1 --Size of the player.
  122. Animation_Speed = 3
  123. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  124.  
  125. local Speed = 16
  126. local Effects2 = {}
  127.  
  128. --//=================================\\
  129. --|| END OF CUSTOMIZATION
  130. --\\=================================//
  131.  
  132. local function weldBetween(a, b)
  133. local weldd = Instance.new("ManualWeld")
  134. weldd.Part0 = a
  135. weldd.Part1 = b
  136. weldd.C0 = CFrame.new()
  137. weldd.C1 = b.CFrame:inverse() * a.CFrame
  138. weldd.Parent = a
  139. return weldd
  140. end
  141.  
  142. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  143. local acs = Instance.new("Part")
  144. acs.CanCollide = false
  145. acs.Anchored = false
  146. acs.Size = Vector3.new(0,0,0)
  147. acs.CFrame = attachmentpart.CFrame
  148. acs.Parent = Character
  149. acs.BrickColor = color
  150. local meshs = Instance.new("SpecialMesh")
  151. meshs.MeshId = mesh
  152. meshs.TextureId = texture
  153. meshs.Parent = acs
  154. meshs.Scale = scale
  155. meshs.Offset = offset
  156. weldBetween(attachmentpart,acs)
  157. end
  158.  
  159. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  160. if TYPE == "Gem" then
  161. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  162. acs.Anchored = false
  163. acs.CanCollide = false
  164. acs.CFrame = PART.CFrame
  165. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  166. weldBetween(PART,acs)
  167. elseif TYPE == "Skull" then
  168. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  169. acs.Anchored = false
  170. acs.CanCollide = false
  171. acs.CFrame = PART.CFrame
  172. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  173. weldBetween(PART,acs)
  174. elseif TYPE == "Eye" then
  175. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  176. acs.Anchored = false
  177. acs.CanCollide = false
  178. acs.CFrame = PART.CFrame
  179. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  180. weldBetween(PART,acs)
  181. end
  182. end
  183.  
  184. local FIREHAND = IT("Attachment",RightArm)
  185. FIREHAND.Position = VT(0,-1.2,0)
  186.  
  187. --//=================================\\
  188. --|| USEFUL VALUES
  189. --\\=================================//
  190.  
  191. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  192. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  193. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  194. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  195. local CO1 = 0
  196. local CO2 = 0
  197. local CO3 = 0
  198. local CO4 = 0
  199. local CHANGEDEFENSE = 0
  200. local CHANGEDAMAGE = 0
  201. local CHANGEMOVEMENT = 0
  202. local ANIM = "Idle"
  203. local ATTACK = false
  204. local EQUIPPED = false
  205. local HOLD = false
  206. local COMBO = 1
  207. local LASTPOINT = nil
  208. local BLCF = nil
  209. local SCFR = nil
  210. local STAGGERHITANIM = false
  211. local STAGGERANIM = false
  212. local STUNANIM = false
  213. local CRITCHANCENUMBER = 0
  214. local IDLENUMBER = 0
  215. local DONUMBER = 0
  216. local HANDIDLE = false
  217. local SINE = 0
  218. local CHANGE = 2 / Animation_Speed
  219. local WALKINGANIM = false
  220. local WALK = 0
  221. local DISABLEJUMPING = false
  222. local HASBEENBLOCKED = false
  223. local STUNDELAYNUMBER = 0
  224. local MANADELAYNUMBER = 0
  225. local SECONDARYMANADELAYNUMBER = 0
  226. local ROBLOXIDLEANIMATION = IT("Animation")
  227. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  228. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  229. --ROBLOXIDLEANIMATION.Parent = Humanoid
  230. local WEAPONGUI = IT("ScreenGui", nil)
  231. WEAPONGUI.Name = "Weapon GUI"
  232. local WEAPONTOOL = IT("HopperBin", nil)
  233. WEAPONTOOL.Name = Weapon_Name
  234. local Weapon = IT("Model")
  235. Weapon.Name = Weapon_Name
  236. local Effects = IT("Folder", Weapon)
  237. Effects.Name = "Effects"
  238. local ANIMATOR = Humanoid.Animator
  239. local ANIMATE = Character.Animate
  240. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  241. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  242. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  243. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  244. local UNANCHOR = true
  245. local CIRCLESOUND = "462809305"
  246. local FIREBALL = "463598785"
  247. local EXPLOSION = "416328540"
  248. local RING1 = "462798941"
  249. local RING2 = "462798912"
  250.  
  251. --//=================================\\
  252. --\\=================================//
  253.  
  254. --//=================================\\
  255. --|| STATS
  256. --\\=================================//
  257.  
  258. if Character:FindFirstChild("Stats") ~= nil then
  259. Character:FindFirstChild("Stats").Parent = nil
  260. end
  261.  
  262. local Stats = IT("Folder", nil)
  263. Stats.Name = "Stats"
  264. local ChangeStat = IT("Folder", Stats)
  265. ChangeStat.Name = "ChangeStat"
  266. local Defense = IT("NumberValue", Stats)
  267. Defense.Name = "Defense"
  268. Defense.Value = 1
  269. local Movement = IT("NumberValue", Stats)
  270. Movement.Name = "Movement"
  271. Movement.Value = 1
  272. local Damage = IT("NumberValue", Stats)
  273. Damage.Name = "Damage"
  274. Damage.Value = 1
  275. local Mana = IT("NumberValue", Stats)
  276. Mana.Name = "Mana"
  277. Mana.Value = 0
  278. local SecondaryMana = IT("NumberValue", Stats)
  279. SecondaryMana.Name = "SecondaryMana"
  280. SecondaryMana.Value = 0
  281. local CanCrit = IT("BoolValue", Stats)
  282. CanCrit.Name = "CanCrit"
  283. CanCrit.Value = false
  284. local CritChance = IT("NumberValue", Stats)
  285. CritChance.Name = "CritChance"
  286. CritChance.Value = 20
  287. local CanPenetrateArmor = IT("BoolValue", Stats)
  288. CanPenetrateArmor.Name = "CanPenetrateArmor"
  289. CanPenetrateArmor.Value = false
  290. local AntiTeamKill = IT("BoolValue", Stats)
  291. AntiTeamKill.Name = "AntiTeamKill"
  292. AntiTeamKill.Value = false
  293. local Rooted = IT("BoolValue", Stats)
  294. Rooted.Name = "Rooted"
  295. Rooted.Value = false
  296. local Block = IT("BoolValue", Stats)
  297. Block.Name = "Block"
  298. Block.Value = false
  299. local RecentEnemy = IT("ObjectValue", Stats)
  300. RecentEnemy.Name = "RecentEnemy"
  301. RecentEnemy.Value = nil
  302. local StaggerHit = IT("BoolValue", Stats)
  303. StaggerHit.Name = "StaggerHit"
  304. StaggerHit.Value = false
  305. local Stagger = IT("BoolValue", Stats)
  306. Stagger.Name = "Stagger"
  307. Stagger.Value = false
  308. local Stun = IT("BoolValue", Stats)
  309. Stun.Name = "Stun"
  310. Stun.Value = false
  311. local StunValue = IT("NumberValue", Stats)
  312. StunValue.Name = "StunValue"
  313. StunValue.Value = 0
  314.  
  315.  
  316. --//=================================\\
  317. --\\=================================//
  318.  
  319.  
  320.  
  321.  
  322.  
  323. --//=================================\\
  324. --|| DEBUFFS / BUFFS
  325. --\\=================================//
  326.  
  327. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  328. DEFENSECHANGE1.Name = "ChangeDefense"
  329. DEFENSECHANGE1.Value = 0
  330.  
  331. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  332. MOVEMENTCHANGE1.Name = "ChangeMovement"
  333. MOVEMENTCHANGE1.Value = 0
  334.  
  335. --//=================================\\
  336. --\\=================================//
  337.  
  338.  
  339.  
  340.  
  341.  
  342. --//=================================\\
  343. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  344. --\\=================================//
  345.  
  346. ArtificialHB = Instance.new("BindableEvent", script)
  347. ArtificialHB.Name = "ArtificialHB"
  348.  
  349. script:WaitForChild("ArtificialHB")
  350.  
  351. frame = Frame_Speed
  352. tf = 0
  353. allowframeloss = false
  354. tossremainder = false
  355. lastframe = tick()
  356. script.ArtificialHB:Fire()
  357.  
  358. game:GetService("RunService").Heartbeat:connect(function(s, p)
  359. tf = tf + s
  360. if tf >= frame then
  361. if allowframeloss then
  362. script.ArtificialHB:Fire()
  363. lastframe = tick()
  364. else
  365. for i = 1, math.floor(tf / frame) do
  366. script.ArtificialHB:Fire()
  367. end
  368. lastframe = tick()
  369. end
  370. if tossremainder then
  371. tf = 0
  372. else
  373. tf = tf - frame * math.floor(tf / frame)
  374. end
  375. end
  376. end)
  377.  
  378. --//=================================\\
  379. --\\=================================//
  380.  
  381.  
  382.  
  383.  
  384.  
  385. --//=================================\\
  386. --|| SOME FUNCTIONS
  387. --\\=================================//
  388.  
  389. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  390. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  391. end
  392.  
  393. function PositiveAngle(NUMBER)
  394. if NUMBER >= 0 then
  395. NUMBER = 0
  396. end
  397. return NUMBER
  398. end
  399.  
  400. function NegativeAngle(NUMBER)
  401. if NUMBER <= 0 then
  402. NUMBER = 0
  403. end
  404. return NUMBER
  405. end
  406.  
  407. function Swait(NUMBER)
  408. if NUMBER == 0 or NUMBER == nil then
  409. ArtificialHB.Event:wait()
  410. else
  411. for i = 1, NUMBER do
  412. ArtificialHB.Event:wait()
  413. end
  414. end
  415. end
  416.  
  417. function QuaternionFromCFrame(cf)
  418. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  419. local trace = m00 + m11 + m22
  420. if trace > 0 then
  421. local s = math.sqrt(1 + trace)
  422. local recip = 0.5 / s
  423. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  424. else
  425. local i = 0
  426. if m11 > m00 then
  427. i = 1
  428. end
  429. if m22 > (i == 0 and m00 or m11) then
  430. i = 2
  431. end
  432. if i == 0 then
  433. local s = math.sqrt(m00 - m11 - m22 + 1)
  434. local recip = 0.5 / s
  435. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  436. elseif i == 1 then
  437. local s = math.sqrt(m11 - m22 - m00 + 1)
  438. local recip = 0.5 / s
  439. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  440. elseif i == 2 then
  441. local s = math.sqrt(m22 - m00 - m11 + 1)
  442. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  443. end
  444. end
  445. end
  446.  
  447. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  448. local xs, ys, zs = x + x, y + y, z + z
  449. local wx, wy, wz = w * xs, w * ys, w * zs
  450. local xx = x * xs
  451. local xy = x * ys
  452. local xz = x * zs
  453. local yy = y * ys
  454. local yz = y * zs
  455. local zz = z * zs
  456. 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))
  457. end
  458.  
  459. function QuaternionSlerp(a, b, t)
  460. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  461. local startInterp, finishInterp;
  462. if cosTheta >= 0.0001 then
  463. if (1 - cosTheta) > 0.0001 then
  464. local theta = ACOS(cosTheta)
  465. local invSinTheta = 1 / SIN(theta)
  466. startInterp = SIN((1 - t) * theta) * invSinTheta
  467. finishInterp = SIN(t * theta) * invSinTheta
  468. else
  469. startInterp = 1 - t
  470. finishInterp = t
  471. end
  472. else
  473. if (1 + cosTheta) > 0.0001 then
  474. local theta = ACOS(-cosTheta)
  475. local invSinTheta = 1 / SIN(theta)
  476. startInterp = SIN((t - 1) * theta) * invSinTheta
  477. finishInterp = SIN(t * theta) * invSinTheta
  478. else
  479. startInterp = t - 1
  480. finishInterp = t
  481. end
  482. end
  483. 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
  484. end
  485.  
  486. function Clerp(a, b, t)
  487. local qa = {QuaternionFromCFrame(a)}
  488. local qb = {QuaternionFromCFrame(b)}
  489. local ax, ay, az = a.x, a.y, a.z
  490. local bx, by, bz = b.x, b.y, b.z
  491. local _t = 1 - t
  492. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  493. end
  494.  
  495. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  496. local frame = IT("Frame")
  497. frame.BackgroundTransparency = TRANSPARENCY
  498. frame.BorderSizePixel = BORDERSIZEPIXEL
  499. frame.Position = POSITION
  500. frame.Size = SIZE
  501. frame.BackgroundColor3 = COLOR
  502. frame.BorderColor3 = BORDERCOLOR
  503. frame.Name = NAME
  504. frame.Parent = PARENT
  505. return frame
  506. end
  507.  
  508. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  509. local label = IT("TextLabel")
  510. label.BackgroundTransparency = 1
  511. label.Size = UD2(1, 0, 1, 0)
  512. label.Position = UD2(0, 0, 0, 0)
  513. label.TextColor3 = C3(255, 255, 255)
  514. label.TextStrokeTransparency = STROKETRANSPARENCY
  515. label.TextTransparency = TRANSPARENCY
  516. label.FontSize = TEXTFONTSIZE
  517. label.Font = TEXTFONT
  518. label.BorderSizePixel = BORDERSIZEPIXEL
  519. label.TextScaled = true
  520. label.Text = TEXT
  521. label.Name = NAME
  522. label.Parent = PARENT
  523. return label
  524. end
  525.  
  526. function NoOutlines(PART)
  527. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  528. end
  529.  
  530.  
  531. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  532. local NEWWELD = IT(TYPE)
  533. NEWWELD.Part0 = PART0
  534. NEWWELD.Part1 = PART1
  535. NEWWELD.C0 = C0
  536. NEWWELD.C1 = C1
  537. NEWWELD.Parent = PARENT
  538. return NEWWELD
  539. end
  540.  
  541. function CreateSound(ID, PARENT, VOLUME, PITCH)
  542. coroutine.resume(coroutine.create(function()
  543. local NEWSOUND = IT("Sound", PARENT)
  544. NEWSOUND.Volume = VOLUME
  545. NEWSOUND.Pitch = PITCH
  546. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  547. Swait()
  548. NEWSOUND:play()
  549. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  550. end))
  551. end
  552.  
  553. function CFrameFromTopBack(at, top, back)
  554. local right = top:Cross(back)
  555. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  556. end
  557.  
  558. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  559. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  560. local mesh = IT("SpecialMesh",wave)
  561. mesh.MeshType = "FileMesh"
  562. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  563. mesh.Scale = VT(size,size,size)
  564. mesh.Offset = VT(0,0,-size/8)
  565. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  566. coroutine.resume(coroutine.create(function(PART)
  567. for i = 1, waitt do
  568. Swait()
  569. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  570. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  571. if doesrotate == true then
  572. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  573. end
  574. wave.Transparency = wave.Transparency + (0.5/waitt)
  575. if wave.Transparency > 0.99 then
  576. wave:remove()
  577. end
  578. end
  579. end))
  580. end
  581.  
  582. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  583. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  584. local mesh = IT("SpecialMesh",wave)
  585. mesh.MeshType = "FileMesh"
  586. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  587. mesh.Scale = VT(size,size,size)
  588. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  589. coroutine.resume(coroutine.create(function(PART)
  590. for i = 1, waitt do
  591. Swait()
  592. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  593. if doesrotate == true then
  594. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  595. end
  596. wave.Transparency = wave.Transparency + (0.5/waitt)
  597. if wave.Transparency > 0.99 then
  598. wave:remove()
  599. end
  600. end
  601. end))
  602. end
  603.  
  604. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  605. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  606. local mesh = IT("SpecialMesh",wave)
  607. mesh.MeshType = "FileMesh"
  608. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  609. mesh.Scale = VT(size,size,size)
  610. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  611. coroutine.resume(coroutine.create(function(PART)
  612. for i = 1, waitt do
  613. Swait()
  614. if doesrotate == true then
  615. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  616. end
  617. wave.Transparency = wave.Transparency + (0.5/waitt)
  618. if wave.Transparency > 0.99 then
  619. wave.Parent = nil
  620. end
  621. end
  622. end))
  623. return wave
  624. end
  625.  
  626. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2,color)
  627. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  628. local mesh = IT("SpecialMesh",wave)
  629. mesh.MeshType = "FileMesh"
  630. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  631. mesh.Scale = VT(size,size,size)
  632. mesh.Offset = VT(0,0,0)
  633. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  634. coroutine.resume(coroutine.create(function(PART)
  635. for i = 1, waitt do
  636. Swait()
  637. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  638. if doesrotate == true then
  639. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  640. end
  641. wave.Transparency = wave.Transparency + (0.5/waitt)
  642. if wave.Transparency > 0.99 then
  643. wave:remove()
  644. end
  645. end
  646. end))
  647. end
  648.  
  649. function MagicSphere(size,waitt,part,offset,color)
  650. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(0,0,0))
  651. local mesh = IT("SpecialMesh",wave)
  652. mesh.MeshType = "FileMesh"
  653. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  654. mesh.Scale = VT(size,size,size)
  655. mesh.Offset = VT(0,0,0)
  656. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  657. coroutine.resume(coroutine.create(function(PART)
  658. for i = 1, waitt do
  659. Swait()
  660. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  661. wave.Transparency = wave.Transparency + (1/waitt)
  662. if wave.Transparency > 0.99 then
  663. wave:remove()
  664. end
  665. end
  666. end))
  667. end
  668.  
  669. function MagicBlock(size,waitt,part,offset,color)
  670. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  671. local mesh = IT("BlockMesh",wave)
  672. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  673. coroutine.resume(coroutine.create(function(PART)
  674. for i = 1, waitt do
  675. Swait()
  676. mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
  677. wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  678. wave.Transparency = wave.Transparency + (1/waitt)
  679. if wave.Transparency > 0.99 then
  680. wave:remove()
  681. end
  682. end
  683. end))
  684. end
  685.  
  686. local EyeSizes={
  687. NumberSequenceKeypoint.new(0,0.5,0),
  688. NumberSequenceKeypoint.new(1,0.2,0)
  689. }
  690. local EyeTrans={
  691. NumberSequenceKeypoint.new(0,0,0),
  692. NumberSequenceKeypoint.new(1,1,0)
  693. }
  694. local PE=Instance.new("ParticleEmitter")
  695. PE.LightEmission=0.8
  696. PE.Size=NumberSequence.new(EyeSizes)
  697. PE.Transparency=NumberSequence.new(EyeTrans)
  698. PE.Rotation=NumberRange.new(0,360)
  699. PE.LockedToPart = false
  700. PE.Speed = NumberRange.new(0,0,0)
  701. PE.ZOffset = 0.3
  702. PE.Rate = 999
  703. PE.VelocitySpread = 90000
  704. PE.Name = "Particles"
  705.  
  706. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  707. local particle = nil
  708. coroutine.resume(coroutine.create(function(PART)
  709. particle = PE:Clone()
  710. Swait()
  711. particle.Rate = 999
  712. particle.Parent = art
  713. particle.Acceleration = accel
  714. if type == "Fire" then
  715. local EyeSizes={
  716. NumberSequenceKeypoint.new(0,size,size/2),
  717. NumberSequenceKeypoint.new(1,size/4,size/8)
  718. }
  719. particle.Size = NumberSequence.new(EyeSizes)
  720. elseif type == "Smoke" then
  721. local EyeSizes={
  722. NumberSequenceKeypoint.new(0,0.5,0),
  723. NumberSequenceKeypoint.new(1,5,0.5)
  724. }
  725. particle.Size = NumberSequence.new(EyeSizes)
  726. elseif type == "Solid" then
  727. local EyeSizes={
  728. NumberSequenceKeypoint.new(0,0.5,0),
  729. NumberSequenceKeypoint.new(1,0.5,0)
  730. }
  731. particle.Size = NumberSequence.new(EyeSizes)
  732. end
  733. particle.Lifetime=NumberRange.new(lifetime)
  734. particle.Drag = drag
  735. if locked == true then
  736. particle.LockedToPart = true
  737. end
  738. particle.Speed = NumberRange.new(speed,speed,speed)
  739. particle.Texture = "http://www.roblox.com/asset/?id=296874871"
  740. particle.Enabled = isenabledbydefault
  741. particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
  742. end))
  743. return particle
  744. end
  745.  
  746. local Decal = IT("Decal")
  747.  
  748. function CreateMagicCircle(size,doesrotate,rotatedirection,waitt,cframe,alwaysfade)
  749. local sinkhole = IT("Part")
  750. sinkhole.Size = VT(size,0,size)
  751. sinkhole.CFrame = cframe
  752. --sinkhole.Orientation = VT(0,0,0)
  753. sinkhole.Parent = Effects
  754. sinkhole.Material = "Neon"
  755. sinkhole.Color = C3(1,0,0)
  756. sinkhole.Anchored = true
  757. sinkhole.CanCollide = false
  758. sinkhole.Transparency = 1
  759. local decal = Decal:Clone()
  760. decal.Parent = sinkhole
  761. decal.Face = "Top"
  762. decal.Texture = "http://www.roblox.com/asset/?id=1217786509"
  763. local decal2 = Decal:Clone()
  764. decal2.Parent = sinkhole
  765. decal2.Face = "Bottom"
  766. decal2.Texture = "http://www.roblox.com/asset/?id=1217788749"
  767. coroutine.resume(coroutine.create(function(PART)
  768. for i = 1, waitt do
  769. Swait()
  770. if doesrotate == true then
  771. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  772. end
  773. if alwaysfade == true then
  774. decal.Transparency = decal.Transparency + (1/waitt)
  775. decal2.Transparency = decal.Transparency + (1/waitt)
  776. end
  777. if i > waitt-11 and (alwaysfade ~= true) then
  778. decal.Transparency = decal.Transparency + 0.1
  779. decal2.Transparency = decal.Transparency + 0.1
  780. end
  781. end
  782. sinkhole.Parent = nil
  783. end))
  784. return sinkhole
  785. end
  786.  
  787. function CreateMagicRingTilSize(cframe,size,waitt)
  788. for i = 1, size do
  789. CreateMagicCircle(i/5,false,0,3,cframe,true)
  790. Swait()
  791. end
  792. CreateMagicCircle(size/5,false,0,waitt,cframe,false)
  793. end
  794.  
  795. --//=================================\\
  796. --\\=================================//
  797.  
  798.  
  799. --//=================================\\
  800. --|| WEAPON CREATION
  801. --\\=================================//
  802.  
  803. if Player_Size ~= 1 then
  804. for _, v in pairs (Weapon:GetChildren()) do
  805. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  806. local p1 = v.Part1
  807. v.Part1 = nil
  808. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  809. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  810. v.Part1 = p1
  811. elseif v.ClassName == "Part" then
  812. for _, b in pairs (v:GetChildren()) do
  813. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  814. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  815. end
  816. end
  817. end
  818. end
  819. end
  820.  
  821. for _, c in pairs(Weapon:GetChildren()) do
  822. if c.ClassName == "Part" then
  823. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  824. end
  825. end
  826.  
  827. Weapon.Parent = Character
  828.  
  829. Humanoid.Died:connect(function()
  830. ATTACK = true
  831. end)
  832.  
  833. print(Class_Name.." loaded.")
  834.  
  835. --//=================================\\
  836. --\\=================================//
  837.  
  838.  
  839.  
  840.  
  841.  
  842. --//=================================\\
  843. --|| DAMAGE FUNCTIONS
  844. --\\=================================//
  845.  
  846. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  847. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  848. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  849. local BODYGYRO = IT("BodyGyro", STATPART)
  850. local BODYPOSITION = IT("BodyPosition", STATPART)
  851. BODYPOSITION.P = 2000
  852. BODYPOSITION.D = 100
  853. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  854. if LABELTYPE == "Normal" then
  855. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  856. elseif LABELTYPE == "Debuff" then
  857. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  858. elseif LABELTYPE == "Interruption" then
  859. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  860. end
  861. game:GetService("Debris"):AddItem(STATPART ,5)
  862. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  863. BILLBOARDGUI.Adornee = STATPART
  864. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  865. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  866. BILLBOARDGUI.AlwaysOnTop = false
  867. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  868. TEXTLABEL.BackgroundTransparency = 1
  869. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  870. TEXTLABEL.Text = TEXT
  871. TEXTLABEL.Font = "SciFi"
  872. TEXTLABEL.FontSize="Size42"
  873. TEXTLABEL.TextColor3 = COLOR
  874. TEXTLABEL.TextStrokeTransparency = 1
  875. TEXTLABEL.TextScaled = true
  876. TEXTLABEL.TextWrapped = true
  877. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  878. wait(0.2)
  879. for i=1, 5 do
  880. wait()
  881. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  882. end
  883. wait(1.2)
  884. for i=1, 5 do
  885. wait()
  886. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  887. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  888. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  889. end
  890. THEPART.Parent = nil
  891. end),STATPART, BODYPOSITION, TEXTLABEL)
  892. end
  893.  
  894.  
  895. --//=================================\\
  896. --|| DAMAGING
  897. --\\=================================//
  898.  
  899. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  900. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  901. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  902. local dmg = math.random(min,max)
  903. if humanoid.Health > 0 then
  904. if beserk == true then
  905. humanoid.Health = 0
  906. else
  907. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  908. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  909. if math.random(1,100) < critrate+1 then
  910. humanoid.Health = humanoid.Health - dmg*critmultiplier
  911. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  912. else
  913. humanoid.Health = humanoid.Health - dmg
  914. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
  915. end
  916. local defence = Instance.new("BoolValue",hit.Parent)
  917. defence.Name = ("HitBy"..Player.Name)
  918. game:GetService("Debris"):AddItem(defence, 0.5)
  919. end
  920. end
  921. end
  922. end
  923.  
  924. function killnearest(position,range,maxstrength)
  925. for i,v in ipairs(workspace:GetChildren()) do
  926. local body = v:GetChildren()
  927. for part = 1, #body do
  928. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  929. if(body[part].Position - position).Magnitude < range then
  930. if v.ClassName == "Model" then
  931. v:BreakJoints()
  932. end
  933. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  934. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  935. end
  936. end
  937. end
  938. if v.ClassName == "Part" then
  939. if v.Anchored == false and (v.Position - position).Magnitude < range then
  940. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  941. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  942. end
  943. end
  944. end
  945. end
  946.  
  947. --//=================================\\
  948. --|| ATTACK FUNCTIONS AND STUFF
  949. --\\=================================//
  950.  
  951. function chatfunc(text,waitt)
  952. local chat = coroutine.wrap(function()
  953. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  954. Character:FindFirstChild("TalkingBillBoard"):destroy()
  955. end
  956. local naeeym2 = Instance.new("BillboardGui",Character)
  957. naeeym2.Size = UDim2.new(0,100,0,40)
  958. naeeym2.StudsOffset = Vector3.new(0,2,0)
  959. naeeym2.Adornee = Character.Head
  960. naeeym2.Name = "TalkingBillBoard"
  961. naeeym2.AlwaysOnTop = true
  962. local tecks2 = Instance.new("TextLabel",naeeym2)
  963. tecks2.BackgroundTransparency = 1
  964. tecks2.BorderSizePixel = 0
  965. tecks2.Text = ""
  966. tecks2.Font = "Fantasy"
  967. tecks2.TextSize = 30
  968. tecks2.TextStrokeTransparency = 1
  969. tecks2.TextColor3 = Color3.new(255/255, 176/255, 0)
  970. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  971. tecks2.Size = UDim2.new(1,0,0.5,0)
  972. local tecks3 = Instance.new("TextLabel",naeeym2)
  973. tecks3.BackgroundTransparency = 1
  974. tecks3.BorderSizePixel = 0
  975. tecks3.Text = ""
  976. tecks3.Font = "Fantasy"
  977. tecks3.TextSize = 30
  978. tecks3.TextStrokeTransparency = 1
  979. tecks3.TextColor3 = Color3.new(255/255, 176/255, 0)
  980. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  981. tecks3.Size = UDim2.new(1,0,0.5,0)
  982. for i = 1,string.len(text),1 do
  983. tecks2.Text = string.sub(text,1,i)
  984. tecks3.Text = string.sub(text,1,i)
  985. wait(0.01)
  986. end
  987. wait(waitt)
  988. naeeym2:Destroy()
  989. end)
  990. chat()
  991. end
  992.  
  993. function turnto(pos,part)
  994. part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  995. end
  996.  
  997. function createfireball(size,enabled)
  998. local FIREBALL = IT("Part",Effects)
  999. FIREBALL.Shape = "Ball"
  1000. FIREBALL.Size = VT(size,size,size)
  1001. FIREBALL.Material = "Neon"
  1002. FIREBALL.BrickColor = BRICKC("White")
  1003. local PARTICLES = CreateParticles(FIREBALL,VT(0,0,0),2,1,"Fire",enabled,false,size*1.5,5)
  1004. return FIREBALL,PARTICLES
  1005. end
  1006.  
  1007. function Fireball()
  1008. ATTACK = true
  1009. chatfunc("Rice >:3...",100)
  1010. for i=0, 1.5, 0.1 / Animation_Speed do
  1011. Swait()
  1012. turnto(Mouse.Hit.p,RootPart)
  1013. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed)
  1014. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed)
  1015. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1016. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1017. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1018. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1019. end
  1020. local aimpos = Mouse.Hit.p
  1021. CreateSound(CIRCLESOUND, RightArm, 2, 1)
  1022. CreateMagicRingTilSize(RightArm.CFrame*CF(0,-1.2,0),35,25)
  1023. chatfunc("Burnt!",2)
  1024. local FIRE,PARTICLES = createfireball(3,true)
  1025. CreateSound(FIREBALL, FIRE, 2, 1)
  1026. FIRE.CFrame = RightArm.CFrame*CF(0,-1.2,0)
  1027. local bv = Instance.new("BodyVelocity")
  1028. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1029. bv.velocity = CF(FIRE.Position,aimpos).lookVector*50
  1030. bv.Parent = FIRE
  1031. bv.Name = "MOVE"
  1032. local HIT = false
  1033. local harm = FIRE.Touched:Connect(function(hit)
  1034. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  1035. HIT = true
  1036. coroutine.resume(coroutine.create(function()
  1037. FIRE.Anchored = true
  1038. FIRE.CanCollide = false
  1039. PARTICLES.Enabled = false
  1040. CreateSound(EXPLOSION, FIRE, 10, 1)
  1041. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,85)
  1042. BURST:Emit(750)
  1043. killnearest(FIRE.Position,35,75)
  1044. for i = 1, 35 do
  1045. Swait()
  1046. FIRE.Size = FIRE.Size + VT(2,2,2)
  1047. FIRE.Transparency = FIRE.Transparency + (1/35)
  1048. end
  1049. Swait(250)
  1050. FIRE:remove()
  1051. end))
  1052. end
  1053. end)
  1054. ATTACK = false
  1055. end
  1056.  
  1057. function SolarPunch()
  1058. ATTACK = true
  1059. for i=0, 0.5, 0.1 / Animation_Speed do
  1060. Swait()
  1061. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1062. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1063. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1064. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1065. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1066. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1067. end
  1068. local GRAB = nil
  1069. local HIT = false
  1070. local hitting = RightArm.Touched:connect(function(hit)
  1071. if GRAB == nil then
  1072. if hit.Parent:FindFirstChild("Humanoid") then
  1073. if hit.Parent.Humanoid.Health ~= 0 then
  1074. HIT = true
  1075. GRAB = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1076. MagicBlock(1.2,20,GRAB,0,BRICKC("Pearl").Color)
  1077. GRAB.Anchored = true
  1078. CreateSound("131237241", GRAB, 3, 1)
  1079. end
  1080. end
  1081. end
  1082. end)
  1083. for i=0, 1, 0.1 / Animation_Speed do
  1084. Swait()
  1085. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(55)), 0.15 / Animation_Speed)
  1086. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.45 / Animation_Speed)
  1087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1089. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1090. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1091. if HIT == true then
  1092. break
  1093. end
  1094. end
  1095. hitting:disconnect()
  1096. if GRAB ~= nil then
  1097. Rooted = true
  1098. local BURST = CreateParticles(FIREHAND,VT(0,0,0),1,2,"Fire",true,false,1,2)
  1099. turnto(RootPart.Position,GRAB)
  1100. RootPart.CFrame = GRAB.CFrame * CF(0,0,-4) * ANGLES(RAD(0),RAD(180),RAD(0))
  1101. for i=0, 3, 0.1 / Animation_Speed*4 do
  1102. if GRAB ~= nil then
  1103. Swait()
  1104. turnto(GRAB.Position,RootPart)
  1105. turnto(RootPart.Position,GRAB)
  1106. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed*8)
  1107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed*8)
  1108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*8)
  1109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-30)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*8)
  1110. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*8)
  1111. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*8)
  1112. end
  1113. end
  1114. chatfunc("Hottu...",100)
  1115. CreateSound(CIRCLESOUND, GRAB, 2, 1)
  1116. CreateMagicRingTilSize(GRAB.CFrame * CF(0,0,2) * ANGLES(RAD(90),RAD(0),RAD(0)),45,75)
  1117. BURST.Enabled = false
  1118. local BURST = CreateParticles(FIREHAND,VT(0,0,0),1,2,"Fire",false,false,6,25)
  1119. for i=0, 1, 0.1 / Animation_Speed*6 do
  1120. if GRAB ~= nil then
  1121. Swait()
  1122. turnto(GRAB.Position,RootPart)
  1123. turnto(RootPart.Position,GRAB)
  1124. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed*8)
  1125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed*8)
  1126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*8)
  1127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*8)
  1128. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  1129. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  1130. end
  1131. end
  1132. chatfunc("Doggu!",2)
  1133. if GRAB ~= nil then
  1134. CreateSound(EXPLOSION, GRAB, 10, 1)
  1135. BURST:Emit(300)
  1136. GRAB.Parent:BreakJoints()
  1137. Swait(150)
  1138. end
  1139. end
  1140. FIREHAND:ClearAllChildren()
  1141. GRAB = nil
  1142. Rooted = false
  1143. HIT = nil
  1144. ATTACK = false
  1145. end
  1146.  
  1147. function SunEruption()
  1148. ATTACK = true
  1149. Rooted = true
  1150. chatfunc("Spicy...",100)
  1151. for i=0, 1, 0.1 / Animation_Speed do
  1152. Swait()
  1153. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.1 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-12.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1154. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1155. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1156. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1157. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-12.5)), 0.15 / Animation_Speed)
  1158. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed)
  1159. end
  1160. CreateSound(CIRCLESOUND, LeftLeg, 2, 1)
  1161. CreateMagicRingTilSize(LeftLeg.CFrame*CF(0,-1.2,0),75,25)
  1162. chatfunc("Boy!",2)
  1163. local Animation_Speed2 = Animation_Speed/8
  1164. for i=0, 1, 0.1 / Animation_Speed2 do
  1165. Swait()
  1166. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1167. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1168. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1169. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1170. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed2)
  1171. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(5), RAD(-25)), 0.15 / Animation_Speed2)
  1172. end
  1173. RootPart.Anchored = true
  1174. local FIRE,PARTICLES = createfireball(6,false)
  1175. FIRE.CFrame = LeftLeg.CFrame
  1176. PARTICLES:remove()
  1177. CreateMagicCircle(75,true,-0.01,75,CF(LeftLeg.Position) * CF(0,-1,0),false)
  1178. coroutine.resume(coroutine.create(function()
  1179. FIRE.Anchored = true
  1180. FIRE.CanCollide = false
  1181. CreateSound(EXPLOSION, FIRE, 10, 1)
  1182. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,75)
  1183. BURST:Emit(750)
  1184. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,55)
  1185. BURST:Emit(750)
  1186. killnearest(FIRE.Position,45,75)
  1187. local mesh = IT("CylinderMesh",FIRE)
  1188. mesh.Scale = VT(1,10000,1)
  1189. for i = 1, 35 do
  1190. Swait()
  1191. FIRE.Size = FIRE.Size + VT(1,1,1)
  1192. FIRE.Transparency = FIRE.Transparency + (1/35)
  1193. end
  1194. Swait(250)
  1195. FIRE:remove()
  1196. end))
  1197. RootPart.Anchored = false
  1198. Rooted = false
  1199. ATTACK = false
  1200. end
  1201.  
  1202. function SolarImpact()
  1203. ATTACK = true
  1204. for i=0, 0.5, 0.1 / Animation_Speed do
  1205. Swait()
  1206. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1207. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1210. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1211. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1212. end
  1213. local GRAB = nil
  1214. local HIT = false
  1215. local hitting = RightArm.Touched:connect(function(hit)
  1216. if GRAB == nil then
  1217. if hit.Parent:FindFirstChild("Humanoid") then
  1218. if hit.Parent.Humanoid.Health ~= 0 then
  1219. HIT = true
  1220. GRAB = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1221. MagicBlock(1.2,20,GRAB,0,BRICKC("Pearl").Color)
  1222. GRAB.Anchored = true
  1223. CreateSound("131237241", GRAB, 3, 1)
  1224. end
  1225. end
  1226. end
  1227. end)
  1228. for i=0, 1, 0.1 / Animation_Speed do
  1229. Swait()
  1230. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(55)), 0.15 / Animation_Speed)
  1231. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.45 / Animation_Speed)
  1232. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1233. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1234. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1235. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1236. if HIT == true then
  1237. break
  1238. end
  1239. end
  1240. hitting:disconnect()
  1241. if GRAB ~= nil then
  1242. Rooted = true
  1243. turnto(RootPart.Position,GRAB)
  1244. RootPart.CFrame = GRAB.CFrame * CF(0,0,-6) * ANGLES(RAD(0),RAD(180),RAD(0))
  1245. for i=0, 2, 0.1 / Animation_Speed do
  1246. Swait()
  1247. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1248. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1249. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1250. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1251. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1252. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1253. end
  1254. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  1255. CreateWave(0,1.5,true,0.02,150,RootPart,-2,"Deep orange")
  1256. CreateWave(0,3,true,-0.02,150,RootPart,-2,"Deep orange")
  1257. local bv = Instance.new("BodyVelocity")
  1258. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1259. bv.velocity = Vector3.new(0,300,0)
  1260. bv.Parent = Torso
  1261. bv.Name = "DASH"
  1262. game:GetService("Debris"):AddItem(bv, 0.5)
  1263. coroutine.resume(coroutine.create(function()
  1264. for i=0, 2, 0.1 / Animation_Speed do
  1265. Swait()
  1266. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1267. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1268. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1269. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1270. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1271. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1272. end
  1273. end))
  1274. Swait(125)
  1275. UNANCHOR = false
  1276. RootPart.Anchored = true
  1277. chatfunc("Solar...",100)
  1278. for i=0, 0.5, 0.1 / Animation_Speed do
  1279. Swait()
  1280. turnto(GRAB.Position,RootPart)
  1281. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1282. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1285. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1286. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1287. --HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1288. end
  1289. local TRAIL = CreateParticles(Torso,VT(0,0,0),2,2,"Fire",true,true,6,15)
  1290. local A1 = IT("Attachment",Torso)
  1291. A1.Position = Vector3.new(0, 0.5, 0)
  1292. local A2 = IT("Attachment",Torso)
  1293. A2.Position = Vector3.new(0, -0.5, 0)
  1294. local Trail = IT("Trail",Torso)
  1295. Trail.LightEmission = 1
  1296. Trail.FaceCamera = true
  1297. Trail.Texture = "rbxassetid://945758042"
  1298. Trail.Attachment0 = A1
  1299. Trail.Attachment1 = A2
  1300. Trail.Lifetime = 0.6
  1301. Trail.MinLength = 0
  1302. Trail.Transparency = NumberSequence.new(0)
  1303. Trail.Color = ColorSequence.new(BrickColor.new("Deep orange").Color)
  1304. CreateMagicRingTilSize(GRAB.CFrame * CF(0,0,2) * ANGLES(RAD(90),RAD(0),RAD(0)),45,75)
  1305. Swait(30)
  1306. TRAIL.Enabled = false
  1307. for i=0, 3, 0.1 / Animation_Speed do
  1308. turnto(GRAB.Position,RootPart)
  1309. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1310. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1311. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1312. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1313. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1314. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1315. end
  1316. RootPart.CFrame = GRAB.CFrame * CF(0,0,4) * ANGLES(RAD(0),RAD(180),RAD(0))
  1317. chatfunc("Impact!",2)
  1318. CreateSound(EXPLOSION, Torso, 10, 1)
  1319. killnearest(Torso.Position,5,0)
  1320. local BURST = CreateParticles(Torso,VT(0,0,0),2,2,"Fire",false,true,6,25)
  1321. BURST:Emit(750)
  1322. Swait(150)
  1323. Trail:remove()
  1324. BURST:remove()
  1325. UNANCHOR = true
  1326. TRAIL:remove()
  1327. end
  1328. FIREHAND:ClearAllChildren()
  1329. GRAB = nil
  1330. Rooted = false
  1331. HIT = nil
  1332. ATTACK = false
  1333. end
  1334.  
  1335. function SolarDemise()
  1336. Rooted = true
  1337. for i=0, 2, 0.1 / Animation_Speed do
  1338. Swait()
  1339. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1340. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1341. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1342. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1343. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1344. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1345. end
  1346. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  1347. CreateWave(0,3.5,true,0.02,150,RootPart,-2,"Deep orange")
  1348. CreateWave(0,5,true,-0.02,150,RootPart,-2,"Deep orange")
  1349. local bv = Instance.new("BodyVelocity")
  1350. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1351. bv.velocity = Vector3.new(0,300,0)
  1352. bv.Parent = Torso
  1353. bv.Name = "DASH"
  1354. game:GetService("Debris"):AddItem(bv, 0.5)
  1355. Swait(125)
  1356. ATTACK = true
  1357. UNANCHOR = false
  1358. RootPart.Anchored = true
  1359. for i=0, 1, 0.1 / Animation_Speed do
  1360. Swait()
  1361. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.1 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-12.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1362. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1363. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1364. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1365. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-12.5)), 0.15 / Animation_Speed)
  1366. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed)
  1367. end
  1368. chatfunc("SOLAR...",500)
  1369. CreateSound(CIRCLESOUND, Effects, 10, 0.5)
  1370. local Animation_Speed2 = Animation_Speed/8
  1371. CreateMagicRingTilSize(RootPart.CFrame*CF(0,-4,0),350,750)
  1372. chatfunc("FLARES!",5)
  1373. for i = 1, 35 do
  1374. for i=0, 1, 0.1 / Animation_Speed2 do
  1375. Swait()
  1376. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.1 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-12.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1377. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1378. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1380. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-12.5)), 0.15 / Animation_Speed)
  1381. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed)
  1382. end
  1383. local FIRE,PARTICLES = createfireball(7,true)
  1384. CreateSound(FIREBALL, FIRE, 2, 1)
  1385. FIRE.CFrame = RootPart.CFrame*CF(0,-7,0)
  1386. local bv = Instance.new("BodyVelocity")
  1387. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1388. bv.velocity = CF(FIRE.Position,Mouse.Hit.p).lookVector*350
  1389. bv.Parent = FIRE
  1390. bv.Name = "MOVE"
  1391. local HIT = false
  1392. local harm = FIRE.Touched:Connect(function(hit)
  1393. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  1394. HIT = true
  1395. coroutine.resume(coroutine.create(function()
  1396. FIRE.Anchored = true
  1397. FIRE.CanCollide = false
  1398. PARTICLES.Enabled = false
  1399. CreateSound(EXPLOSION, FIRE, 10, 1)
  1400. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,145)
  1401. BURST:Emit(750)
  1402. killnearest(FIRE.Position,65,75)
  1403. for i = 1, 35 do
  1404. Swait()
  1405. FIRE.Size = FIRE.Size + VT(3,3,3)
  1406. FIRE.Transparency = FIRE.Transparency + (1/35)
  1407. end
  1408. Swait(250)
  1409. FIRE:remove()
  1410. end))
  1411. end
  1412. end)
  1413. for i=0, 1, 0.1 / Animation_Speed2 do
  1414. Swait()
  1415. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1416. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1417. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1418. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1419. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed2)
  1420. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(5), RAD(-25)), 0.15 / Animation_Speed2)
  1421. end
  1422. end
  1423. UNANCHOR = true
  1424. ATTACK = false
  1425. Rooted = false
  1426. --ATTACK = false
  1427. end
  1428.  
  1429. --//=================================\\
  1430. --|| ASSIGN THINGS TO KEYS
  1431. --\\=================================//
  1432.  
  1433. Humanoid.Changed:connect(function(Jump)
  1434. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1435. Humanoid.Jump = false
  1436. end
  1437. end)
  1438.  
  1439. function MouseDown(Mouse)
  1440. if ATTACK == false then
  1441. end
  1442. end
  1443.  
  1444. function MouseUp(Mouse)
  1445. HOLD = false
  1446. end
  1447.  
  1448. function KeyDown(Key)
  1449. if Rooted == false then
  1450. if Key == "q" and ATTACK == false then
  1451. Fireball()
  1452. end
  1453.  
  1454. if Key == "e" and ATTACK == false then
  1455. SolarPunch()
  1456. end
  1457.  
  1458. if Key == "r" and ATTACK == false then
  1459. SunEruption()
  1460. end
  1461.  
  1462. if Key == "f" and ATTACK == false then
  1463. SolarImpact()
  1464. end
  1465.  
  1466. if Key == "x" and ATTACK == false then
  1467. SolarDemise()
  1468. end
  1469.  
  1470. if Key == "7" and ATTACK == false then
  1471. CreateSound("907333294", Head, 5, 1.1)
  1472. end
  1473.  
  1474. if Key == "8" and ATTACK == false then
  1475. CreateSound("907333406", Head, 5, 1.1)
  1476. end
  1477.  
  1478. if Key == "9" and ATTACK == false then
  1479. CreateSound("907329293", Head, 5, 1.1)
  1480. end
  1481. end
  1482. end
  1483.  
  1484. function KeyUp(Key)
  1485. end
  1486.  
  1487. Mouse.Button1Down:connect(function(NEWKEY)
  1488. MouseDown(NEWKEY)
  1489. end)
  1490. Mouse.Button1Up:connect(function(NEWKEY)
  1491. MouseUp(NEWKEY)
  1492. end)
  1493. Mouse.KeyDown:connect(function(NEWKEY)
  1494. KeyDown(NEWKEY)
  1495. end)
  1496. Mouse.KeyUp:connect(function(NEWKEY)
  1497. KeyUp(NEWKEY)
  1498. end)
  1499.  
  1500. --//=================================\\
  1501. --\\=================================//
  1502.  
  1503.  
  1504. function unanchor()
  1505. if UNANCHOR == true then
  1506. g = Character:GetChildren()
  1507. for i = 1, #g do
  1508. if g[i].ClassName == "Part" then
  1509. g[i].Anchored = false
  1510. end
  1511. end
  1512. end
  1513. end
  1514.  
  1515.  
  1516. --//=================================\\
  1517. --|| WRAP THE WHOLE SCRIPT UP
  1518. --\\=================================//
  1519.  
  1520. Humanoid.Changed:connect(function(Jump)
  1521. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1522. Humanoid.Jump = false
  1523. end
  1524. end)
  1525.  
  1526. ANIMATE.Parent = nil
  1527. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1528. IDLEANIMATION:Play()
  1529. Rooted = false
  1530.  
  1531. local eye = IT("Part",Weapon)
  1532. eye.Size = VT(0.2,0.2,0.2)
  1533. eye.Shape = "Ball"
  1534. eye.CFrame = Head.CFrame * CF(0.15,0.2,-0.55)
  1535. eye.Material = "Neon"
  1536. eye.BrickColor = BRICKC("White")
  1537. weldBetween(Head,eye)
  1538. CreateParticles(eye,VT(1,-5,0),1,1,"Fire",true,true,0.1,0)
  1539.  
  1540. local eye = IT("Part",Weapon)
  1541. eye.Size = VT(0.15,0.15,0.15)
  1542. eye.Shape = "Ball"
  1543. eye.CFrame = Head.CFrame * CF(-0.15,0.2,-0.55)
  1544. eye.BrickColor = BRICKC("White")
  1545. weldBetween(Head,eye)
  1546.  
  1547. while true do
  1548. Swait()
  1549. SINE = SINE + CHANGE
  1550. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1551. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1552. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1553. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1554. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1555. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1556. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1557. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1558. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1559. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1560. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1561. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1562. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1563. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1564. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1565. end
  1566. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1567. ANIM = "Jump"
  1568. if ATTACK == false then
  1569. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1570. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1571. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1572. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1573. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1574. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1575. end
  1576. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1577. ANIM = "Fall"
  1578. if ATTACK == false then
  1579. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1580. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1581. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1582. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1583. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1584. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1585. end
  1586. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1587. ANIM = "Idle"
  1588. if ATTACK == false then
  1589. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1590. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1591. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1592. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1593. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1594. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1595. end
  1596. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1597. ANIM = "Walk"
  1598. WALK = WALK + 1 / Animation_Speed
  1599. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1600. WALK = 0
  1601. if WALKINGANIM == true then
  1602. WALKINGANIM = false
  1603. elseif WALKINGANIM == false then
  1604. WALKINGANIM = true
  1605. end
  1606. end
  1607. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1608. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1609. if ATTACK == false then
  1610. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1611. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1612. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1613. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1614. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1615. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1616. end
  1617. end
  1618. if #Effects2>0 then
  1619. for e=1,#Effects2 do
  1620. if Effects2[e]~=nil then
  1621. local Thing=Effects2[e]
  1622. if Thing~=nil then
  1623. local Part=Thing[1]
  1624. local Mode=Thing[2]
  1625. local Delay=Thing[3]
  1626. local IncX=Thing[4]
  1627. local IncY=Thing[5]
  1628. local IncZ=Thing[6]
  1629. local Part2=Thing[8]
  1630. if Thing[1].Transparency<=1 then
  1631. if Thing[2]=="Block1" then
  1632. Thing[1].CFrame=Thing[1].CFrame
  1633. Mesh=Thing[1].Mesh
  1634. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1635. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1636. elseif Thing[2]=="Cylinder" then
  1637. Mesh=Thing[1].Mesh
  1638. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1639. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1640. elseif Thing[2]=="Blood" then
  1641. Mesh=Thing[7]
  1642. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1643. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1644. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1645. elseif Thing[2]=="Elec" then
  1646. Mesh=Thing[1].Mesh
  1647. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1648. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1649. elseif Thing[2]=="Disappear" then
  1650. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1651. end
  1652. else
  1653. Part.Parent=nil
  1654. table.remove(Effects2,e)
  1655. end
  1656. end
  1657. end
  1658. end
  1659. end
  1660. unanchor()
  1661. Humanoid.MaxHealth = "inf"
  1662. Humanoid.Health = "inf"
  1663. if Rooted == false then
  1664. Disable_Jump = false
  1665. Humanoid.WalkSpeed = Speed
  1666. elseif Rooted == true then
  1667. Disable_Jump = true
  1668. Humanoid.WalkSpeed = 0
  1669. end
  1670. if Head:FindFirstChild("face") then
  1671. Head.face:remove()
  1672. end
  1673. end
  1674.  
  1675. --//=================================\\
  1676. --\\=================================//
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. --//====================================================\\--
  1683. --|| END OF SCRIPT
  1684. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement