Advertisement
Guest User

Untitled

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