Awooslayer699

Untitled

Mar 17th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player = owner
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5. script.Parent = Player.Character
  6. local CAS = {Actions={}}
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9. Event.Parent = Player.Character
  10. local fakeEvent = function()
  11. local t = {_fakeEvent=true}
  12. t.Connect = function(self,f)self.Function=f end
  13. t.connect = t.Connect
  14. return t
  15. end
  16. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18. function CAS:BindAction(name,fun,touch,...)
  19. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20. end
  21. function CAS:UnbindAction(name)
  22. CAS.Actions[name] = nil
  23. end
  24. local function te(self,ev,...)
  25. local t = m[ev]
  26. if t and t._fakeEvent and t.Function then
  27. t.Function(...)
  28. end
  29. end
  30. m.TrigEvent = te
  31. UIS.TrigEvent = te
  32. Event.OnServerEvent:Connect(function(plr,io)
  33. if plr~=Player then return end
  34. if io.isMouse then
  35. m.Target = io.Target
  36. m.Hit = io.Hit
  37. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38. if io.UserInputState == Enum.UserInputState.Begin then
  39. m:TrigEvent("Button1Down")
  40. else
  41. m:TrigEvent("Button1Up")
  42. end
  43. else
  44. for n,t in pairs(CAS.Actions) do
  45. for _,k in pairs(t.Keys) do
  46. if k==io.KeyCode then
  47. t.Function(t.Name,io.UserInputState,io)
  48. end
  49. end
  50. end
  51. if io.UserInputState == Enum.UserInputState.Begin then
  52. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53. UIS:TrigEvent("InputBegan",io,false)
  54. else
  55. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent("InputEnded",io,false)
  57. end
  58. end
  59. end)
  60. NLS([==[
  61. local Player = game:GetService("Players").LocalPlayer
  62.  
  63. local Char = Player.Character
  64. local Event = Char:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67.  
  68. local input = function(io,a)
  69. if a then return end
  70. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  71. Event:FireServer(io)
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75. local Changed = false
  76.  
  77. local h,t = Mouse.Hit,Mouse.Target
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  81. h,t=Mouse.Hit,Mouse.Target
  82. end
  83. end
  84. ]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. end
  87.  
  88.  
  89. --//====================================================\\--
  90. --|| CREATED BY SHACKLUSTER
  91. --\\====================================================//--
  92. --UPDATE: LOW LAG...
  93. --8th mode added by delta1035. Had to reuse moves, lol
  94.  
  95. wait(0.2)
  96.  
  97.  
  98.  
  99. Player = owner
  100. PlayerGui = Player.PlayerGui
  101. Cam = workspace.CurrentCamera
  102. Backpack = Player.Backpack
  103. Character = Player.Character
  104. Humanoid = Character.Humanoid
  105.  
  106. RootPart = Character["HumanoidRootPart"]
  107. Torso = Character["Torso"]
  108. Head = Character["Head"]
  109. RightArm = Character["Right Arm"]
  110. LeftArm = Character["Left Arm"]
  111. RightLeg = Character["Right Leg"]
  112. LeftLeg = Character["Left Leg"]
  113. RootJoint = RootPart["RootJoint"]
  114. Neck = Torso["Neck"]
  115. RightShoulder = Torso["Right Shoulder"]
  116. LeftShoulder = Torso["Left Shoulder"]
  117. RightHip = Torso["Right Hip"]
  118. LeftHip = Torso["Left Hip"]
  119. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  120. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  121. CF = CFrame.new
  122. local sick = Instance.new("Sound",Character)
  123. sick.SoundId = "rbxassetid://526814594"
  124. sick.Looped = true
  125. sick.Pitch = 1
  126. sick.Volume = 2
  127. sick:Play()
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140. function particles(art,enabled)
  141. local EyeSizes={
  142. NumberSequenceKeypoint.new(0,.8,0),
  143. NumberSequenceKeypoint.new(1,0,0)
  144. }
  145. local EyeTrans={
  146. NumberSequenceKeypoint.new(0,0,0),
  147. NumberSequenceKeypoint.new(1,1,0)
  148. }
  149. local PE=Instance.new("ParticleEmitter",art)
  150. PE.LightEmission=0.5
  151. PE.Transparency = NumberSequence.new(0.5)
  152. PE.Size=NumberSequence.new(EyeSizes)
  153. PE.Transparency=NumberSequence.new(EyeTrans)
  154. PE.Lifetime=NumberRange.new(2,3)
  155. PE.Rate=360
  156. PE.Speed = NumberRange.new(0,0,0)
  157. PE.Texture="rbxassetid://0"
  158. PE.ZOffset = 0
  159. PE.Name = "PE"
  160. PE.Enabled = enabled
  161. end
  162.  
  163. particles(RightArm,true)
  164. particles(LeftArm,true)
  165. particles(RightLeg,false)
  166. particles(LeftLeg,false)
  167. particles(Torso,false)
  168. particles(Head,false)
  169.  
  170. function particles(art,enabled)
  171. local EyeSizes={
  172. NumberSequenceKeypoint.new(0,.8,0),
  173. NumberSequenceKeypoint.new(1,0,0)
  174. }
  175. local EyeTrans={
  176. NumberSequenceKeypoint.new(0,0,0),
  177. NumberSequenceKeypoint.new(1,1,0)
  178. }
  179. local PE=Instance.new("ParticleEmitter",art)
  180. PE.LightEmission=0.5
  181. PE.Transparency = NumberSequence.new(0.5)
  182. PE.Size=NumberSequence.new(EyeSizes)
  183. PE.Transparency=NumberSequence.new(EyeTrans)
  184. PE.Lifetime=NumberRange.new(0.5,1)
  185. PE.Rate=360
  186. PE.Speed = NumberRange.new(0,0,0)
  187. PE.Texture="rbxassetid://567502351"
  188. PE.ZOffset = 0
  189. PE.Name = "PE"
  190. PE.Enabled = enabled
  191. end
  192.  
  193. particles(RightArm,true)
  194. particles(LeftArm,true)
  195. particles(RightLeg,true)
  196. particles(LeftLeg,true)
  197. particles(Torso,true)
  198. particles(Head,true)
  199.  
  200.  
  201. IT = Instance.new
  202. CF = CFrame.new
  203. VT = Vector3.new
  204. RAD = math.rad
  205. C3 = Color3.new
  206. UD2 = UDim2.new
  207. BRICKC = BrickColor.new
  208. ANGLES = CFrame.Angles
  209. EULER = CFrame.fromEulerAnglesXYZ
  210. COS = math.cos
  211. ACOS = math.acos
  212. SIN = math.sin
  213. ASIN = math.asin
  214. ABS = math.abs
  215. MRANDOM = math.random
  216. FLOOR = math.floor
  217.  
  218. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  219. local NEWMESH = IT(MESH)
  220. if MESH == "SpecialMesh" then
  221. NEWMESH.MeshType = MESHTYPE
  222. if MESHID ~= "nil" and MESHID ~= "" then
  223. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  224. end
  225. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  226. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  227. end
  228. end
  229. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  230. NEWMESH.Scale = SCALE
  231. NEWMESH.Parent = PARENT
  232. return NEWMESH
  233. end
  234.  
  235. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  236. local NEWPART = IT("Part")
  237. NEWPART.formFactor = FORMFACTOR
  238. NEWPART.Reflectance = REFLECTANCE
  239. NEWPART.Transparency = TRANSPARENCY
  240. NEWPART.CanCollide = false
  241. NEWPART.Locked = true
  242. NEWPART.Anchored = true
  243. if ANCHOR == false then
  244. NEWPART.Anchored = false
  245. end
  246. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  247. NEWPART.Name = NAME
  248. NEWPART.Size = SIZE
  249. NEWPART.Position = Torso.Position
  250. NEWPART.Material = MATERIAL
  251. NEWPART:BreakJoints()
  252. NEWPART.Parent = PARENT
  253. return NEWPART
  254. end
  255.  
  256. --//=================================\\
  257. --|| CUSTOMIZATION
  258. --\\=================================//
  259.  
  260. Class_Name = "Template"
  261. Weapon_Name = "Add-ons"
  262.  
  263. Custom_Colors = {
  264. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  265. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  266.  
  267. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  268. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  269. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  270. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  271. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  272.  
  273. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  274. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  275. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  276. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  277. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  278. }
  279.  
  280.  
  281. Player_Size = 1 --Size of the player.
  282. Animation_Speed = 3
  283. Animation_Speed2 = 1
  284. Frame_Speed = 1 / 30 -- (1 / 20) OR (1 / 20)
  285.  
  286. local Speed = 21
  287. local Effects2 = {}
  288.  
  289. --//=================================\\
  290. --|| END OF CUSTOMIZATION
  291. --\\=================================//
  292.  
  293. local function weldBetween(a, b)
  294. local weldd = Instance.new("ManualWeld")
  295. weldd.Part0 = a
  296. weldd.Part1 = b
  297. weldd.C0 = CFrame.new()
  298. weldd.C1 = b.CFrame:inverse() * a.CFrame
  299. weldd.Parent = a
  300. return weldd
  301. end
  302.  
  303. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  304. local acs = Instance.new("Part")
  305. acs.CanCollide = false
  306. acs.Anchored = false
  307. acs.Size = Vector3.new(0,0,0)
  308. acs.CFrame = attachmentpart.CFrame
  309. acs.Parent = Character
  310. acs.BrickColor = color
  311. local meshs = Instance.new("SpecialMesh")
  312. meshs.MeshId = mesh
  313. meshs.TextureId = texture
  314. meshs.Parent = acs
  315. meshs.Scale = scale
  316. meshs.Offset = offset
  317. weldBetween(attachmentpart,acs)
  318. end
  319.  
  320. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  321. if TYPE == "Gem" then
  322. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  323. acs.Anchored = false
  324. acs.CanCollide = false
  325. acs.CFrame = PART.CFrame
  326. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  327. weldBetween(PART,acs)
  328. elseif TYPE == "Skull" then
  329. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  330. acs.Anchored = false
  331. acs.CanCollide = false
  332. acs.CFrame = PART.CFrame
  333. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  334. weldBetween(PART,acs)
  335. elseif TYPE == "Eye" then
  336. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  337. acs.Anchored = false
  338. acs.CanCollide = false
  339. acs.CFrame = PART.CFrame
  340. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  341. weldBetween(PART,acs)
  342. end
  343. end
  344.  
  345. --//=================================\\
  346. --|| USEFUL VALUES
  347. --\\=================================//
  348.  
  349. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  350. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  351. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  352. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  353. local CHANGEDEFENSE = 0
  354. local CHANGEDAMAGE = 0
  355. local CHANGEMOVEMENT = 0
  356. local ANIM = "Idle"
  357. local ATTACK = false
  358. local EQUIPPED = false
  359. local HOLD = false
  360. local COMBO = 1
  361. local Rooted = false
  362. local SINE = 0
  363. local KEYHOLD = false
  364. local CHANGE = 2 / Animation_Speed
  365. local WALKINGANIM = false
  366. local WALK = 0
  367. local VALUE1 = false
  368. local VALUE2 = false
  369. local ROBLOXIDLEANIMATION = IT("Animation")
  370. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  371. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  372. --ROBLOXIDLEANIMATION.Parent = Humanoid
  373. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  374. WEAPONGUI.Name = "Weapon GUI"
  375. local Weapon = IT("Model")
  376. Weapon.Name = Weapon_Name
  377. local Effects = IT("Folder", Weapon)
  378. Effects.Name = "Effects"
  379. local ANIMATOR = Humanoid.Animator
  380. local ANIMATE = Character.Animate
  381. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  382. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  383. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  384. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  385. local CASTSOUNDS = {"1369158","2974000","2974249"}
  386. local BOLTSOUNDS = {"821439273","224339201","168586586"}
  387. local TORNADOSOUND = "362395087"
  388. local UNANCHOR = true
  389.  
  390. local SKILLTEXTCOLOR = C3(0,0,0)
  391.  
  392. --//=================================\\
  393. --\\=================================//
  394.  
  395.  
  396. --//=================================\\
  397. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  398. --\\=================================//
  399.  
  400. ArtificialHB = Instance.new("BindableEvent", script)
  401. ArtificialHB.Name = "ArtificialHB"
  402.  
  403. script:WaitForChild("ArtificialHB")
  404.  
  405. frame = Frame_Speed
  406. tf = 0
  407. allowframeloss = false
  408. tossremainder = false
  409. lastframe = tick()
  410. script.ArtificialHB:Fire()
  411.  
  412. game:GetService("RunService").Heartbeat:connect(function(s, p)
  413. tf = tf + s
  414. if tf >= frame then
  415. if allowframeloss then
  416. script.ArtificialHB:Fire()
  417. lastframe = tick()
  418. else
  419. for i = 1, math.floor(tf / frame) do
  420. script.ArtificialHB:Fire()
  421. end
  422. lastframe = tick()
  423. end
  424. if tossremainder then
  425. tf = 0
  426. else
  427. tf = tf - frame * math.floor(tf / frame)
  428. end
  429. end
  430. end)
  431.  
  432. --//=================================\\
  433. --\\=================================//
  434.  
  435.  
  436.  
  437.  
  438.  
  439. --//=================================\\
  440. --|| SOME FUNCTIONS
  441. --\\=================================//
  442.  
  443. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  444. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  445. end
  446.  
  447. function PositiveAngle(NUMBER)
  448. if NUMBER >= 0 then
  449. NUMBER = 0
  450. end
  451. return NUMBER
  452. end
  453.  
  454. function NegativeAngle(NUMBER)
  455. if NUMBER <= 0 then
  456. NUMBER = 0
  457. end
  458. return NUMBER
  459. end
  460.  
  461. function Swait(NUMBER)
  462. if NUMBER == 0 or NUMBER == nil then
  463. ArtificialHB.Event:wait()
  464. else
  465. for i = 1, NUMBER do
  466. ArtificialHB.Event:wait()
  467. end
  468. end
  469. end
  470.  
  471. function QuaternionFromCFrame(cf)
  472. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  473. local trace = m00 + m11 + m22
  474. if trace > 0 then
  475. local s = math.sqrt(1 + trace)
  476. local recip = 0.5 / s
  477. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  478. else
  479. local i = 0
  480. if m11 > m00 then
  481. i = 1
  482. end
  483. if m22 > (i == 0 and m00 or m11) then
  484. i = 2
  485. end
  486. if i == 0 then
  487. local s = math.sqrt(m00 - m11 - m22 + 1)
  488. local recip = 0.5 / s
  489. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  490. elseif i == 1 then
  491. local s = math.sqrt(m11 - m22 - m00 + 1)
  492. local recip = 0.5 / s
  493. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  494. elseif i == 2 then
  495. local s = math.sqrt(m22 - m00 - m11 + 1)
  496. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  497. end
  498. end
  499. end
  500.  
  501. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  502. local xs, ys, zs = x + x, y + y, z + z
  503. local wx, wy, wz = w * xs, w * ys, w * zs
  504. local xx = x * xs
  505. local xy = x * ys
  506. local xz = x * zs
  507. local yy = y * ys
  508. local yz = y * zs
  509. local zz = z * zs
  510. 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))
  511. end
  512.  
  513. function QuaternionSlerp(a, b, t)
  514. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  515. local startInterp, finishInterp;
  516. if cosTheta >= 0.0001 then
  517. if (1 - cosTheta) > 0.0001 then
  518. local theta = ACOS(cosTheta)
  519. local invSinTheta = 1 / SIN(theta)
  520. startInterp = SIN((1 - t) * theta) * invSinTheta
  521. finishInterp = SIN(t * theta) * invSinTheta
  522. else
  523. startInterp = 1 - t
  524. finishInterp = t
  525. end
  526. else
  527. if (1 + cosTheta) > 0.0001 then
  528. local theta = ACOS(-cosTheta)
  529. local invSinTheta = 1 / SIN(theta)
  530. startInterp = SIN((t - 1) * theta) * invSinTheta
  531. finishInterp = SIN(t * theta) * invSinTheta
  532. else
  533. startInterp = t - 1
  534. finishInterp = t
  535. end
  536. end
  537. 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
  538. end
  539.  
  540. function Clerp(a, b, t)
  541. local qa = {QuaternionFromCFrame(a)}
  542. local qb = {QuaternionFromCFrame(b)}
  543. local ax, ay, az = a.x, a.y, a.z
  544. local bx, by, bz = b.x, b.y, b.z
  545. local _t = 1 - t
  546. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  547. end
  548.  
  549. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  550. local frame = IT("Frame")
  551. frame.BackgroundTransparency = TRANSPARENCY
  552. frame.BorderSizePixel = BORDERSIZEPIXEL
  553. frame.Position = POSITION
  554. frame.Size = SIZE
  555. frame.BackgroundColor3 = COLOR
  556. frame.BorderColor3 = BORDERCOLOR
  557. frame.Name = NAME
  558. frame.Parent = PARENT
  559. return frame
  560. end
  561.  
  562. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  563. local label = IT("TextLabel")
  564. label.BackgroundTransparency = 1
  565. label.Size = UD2(1, 0, 1, 0)
  566. label.Position = UD2(0, 0, 0, 0)
  567. label.TextColor3 = TEXTCOLOR
  568. label.TextStrokeTransparency = STROKETRANSPARENCY
  569. label.TextTransparency = TRANSPARENCY
  570. label.FontSize = TEXTFONTSIZE
  571. label.Font = TEXTFONT
  572. label.BorderSizePixel = BORDERSIZEPIXEL
  573. label.TextScaled = false
  574. label.Text = TEXT
  575. label.Name = NAME
  576. label.Parent = PARENT
  577. return label
  578. end
  579.  
  580. function NoOutlines(PART)
  581. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  582. end
  583.  
  584.  
  585. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  586. local NEWWELD = IT(TYPE)
  587. NEWWELD.Part0 = PART0
  588. NEWWELD.Part1 = PART1
  589. NEWWELD.C0 = C0
  590. NEWWELD.C1 = C1
  591. NEWWELD.Parent = PARENT
  592. return NEWWELD
  593. end
  594.  
  595. function CreateSound(ID, PARENT, VOLUME, PITCH)
  596. local NEWSOUND = nil
  597. coroutine.resume(coroutine.create(function()
  598. NEWSOUND = IT("Sound", PARENT)
  599. NEWSOUND.Volume = VOLUME
  600. NEWSOUND.Pitch = PITCH
  601. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  602. NEWSOUND:play()
  603. game:GetService("Debris"):AddItem(NEWSOUND, 20)
  604. end))
  605. return NEWSOUND
  606. end
  607.  
  608. function CFrameFromTopBack(at, top, back)
  609. local right = top:Cross(back)
  610. 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)
  611. end
  612.  
  613. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  614. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  615. local mesh = IT("SpecialMesh",wave)
  616. mesh.MeshType = "FileMesh"
  617. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  618. mesh.Scale = SIZE
  619. mesh.Offset = VT(0,0,-SIZE.X/8)
  620. wave.CFrame = CFRAME
  621. coroutine.resume(coroutine.create(function(PART)
  622. for i = 1, WAIT do
  623. Swait()
  624. mesh.Scale = mesh.Scale + GROW
  625. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  626. if DOESROT == true then
  627. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  628. end
  629. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  630. if wave.Transparency > 0.99 then
  631. wave:remove()
  632. end
  633. end
  634. end))
  635. end
  636.  
  637. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  638. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  639. local mesh = IT("SpecialMesh",wave)
  640. mesh.MeshType = "FileMesh"
  641. mesh.MeshId = "http://www.roblox.com/asset/?id=0"
  642. mesh.Scale = SIZE
  643. mesh.Offset = VT(0,0,-SIZE.X/8)
  644. wave.CFrame = CFRAME
  645. coroutine.resume(coroutine.create(function(PART)
  646. for i = 1, WAIT do
  647. Swait()
  648. mesh.Scale = mesh.Scale + GROW
  649. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  650. if DOESROT == true then
  651. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  652. end
  653. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  654. if wave.Transparency > 0.99 then
  655. wave:remove()
  656. end
  657. end
  658. end))
  659. end
  660.  
  661. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  662. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  663. local mesh = IT("SpecialMesh",wave)
  664. mesh.MeshType = "FileMesh"
  665. mesh.MeshId = "http://www.roblox.com/asset/?id=967645205"
  666. mesh.Scale = SIZE
  667. mesh.Offset = VT(0,0,-SIZE.X/8)
  668. wave.CFrame = CFRAME
  669. coroutine.resume(coroutine.create(function(PART)
  670. for i = 1, WAIT do
  671. Swait()
  672. mesh.Scale = mesh.Scale + GROW
  673. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  674. if DOESROT == true then
  675. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  676. end
  677. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  678. if wave.Transparency > 0.99 then
  679. wave:remove()
  680. end
  681. end
  682. end))
  683. end
  684.  
  685. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  686. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  687. local mesh = IT("SpecialMesh",wave)
  688. mesh.MeshType = "FileMesh"
  689. mesh.MeshId = "http://www.roblox.com/asset/?id=1254390558"
  690. mesh.Scale = SIZE
  691. mesh.Offset = VT(0,0,-SIZE.X/8)
  692. wave.CFrame = CFRAME
  693. coroutine.resume(coroutine.create(function(PART)
  694. for i = 1, WAIT do
  695. Swait()
  696. mesh.Scale = mesh.Scale + GROW
  697. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  698. if DOESROT == true then
  699. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  700. end
  701. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  702. if wave.Transparency > 0.99 then
  703. wave:remove()
  704. end
  705. end
  706. end))
  707. end
  708.  
  709. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  710. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  711. local mesh = IT("SpecialMesh",wave)
  712. mesh.MeshType = "FileMesh"
  713. mesh.MeshId = "http://www.roblox.com/asset/?id=517721076"
  714. mesh.Scale = SIZE
  715. wave.CFrame = CFRAME
  716. coroutine.resume(coroutine.create(function(PART)
  717. for i = 1, WAIT do
  718. Swait()
  719. mesh.Scale = mesh.Scale + GROW
  720. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  721. if DOESROT == true then
  722. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  723. end
  724. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  725. if wave.Transparency > 0.99 then
  726. wave:remove()
  727. end
  728. end
  729. end))
  730. end
  731.  
  732. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS)
  733. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  734. local mesh = IT("SpecialMesh",wave)
  735. mesh.MeshType = "FileMesh"
  736. mesh.MeshId = "http://www.roblox.com/asset/?id=749436186"
  737. mesh.Scale = SIZE
  738. wave.CFrame = CFRAME
  739. coroutine.resume(coroutine.create(function(PART)
  740. for i = 1, WAIT do
  741. Swait()
  742. mesh.Scale = mesh.Scale + GROW
  743. if DOESROT == true then
  744. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  745. end
  746. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  747. if wave.Transparency > 0.99 then
  748. wave:remove()
  749. end
  750. end
  751. end))
  752. end
  753.  
  754. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS)
  755. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  756. local mesh = IT("SpecialMesh",wave)
  757. mesh.MeshType = "FileMesh"
  758. mesh.MeshId = "http://www.roblox.com/asset/?id=0"
  759. mesh.Scale = SIZE
  760. mesh.Offset = VT(0,0,0)
  761. wave.CFrame = CFRAME
  762. coroutine.resume(coroutine.create(function(PART)
  763. for i = 1, WAIT do
  764. Swait()
  765. mesh.Scale = mesh.Scale + GROW
  766. if DOESROT == true then
  767. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  768. end
  769. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  770. if wave.Transparency > 0.99 then
  771. wave:remove()
  772. end
  773. end
  774. end))
  775. end
  776.  
  777. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS)
  778. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  779. local mesh = IT("SpecialMesh",wave)
  780. mesh.MeshType = "Sphere"
  781. mesh.Scale = SIZE
  782. mesh.Offset = VT(0,0,0)
  783. wave.CFrame = CFRAME
  784. coroutine.resume(coroutine.create(function(PART)
  785. for i = 1, WAIT do
  786. Swait()
  787. mesh.Scale = mesh.Scale + GROW
  788. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  789. if wave.Transparency > 0.99 then
  790. wave:remove()
  791. end
  792. end
  793. end))
  794. end
  795.  
  796. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS)
  797. local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  798. wave.CFrame = CFRAME
  799. coroutine.resume(coroutine.create(function(PART)
  800. for i = 1, WAIT do
  801. Swait()
  802. wave.Size = wave.Size + GROW
  803. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  804. wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  805. if wave.Transparency > 0.99 then
  806. wave:remove()
  807. end
  808. end
  809. end))
  810. end
  811.  
  812. function MakeForm(PART,TYPE)
  813. if TYPE == "Cyl" then
  814. local MSH = IT("CylinderMesh",PART)
  815. elseif TYPE == "Ball" then
  816. local MSH = IT("SpecialMesh",PART)
  817. MSH.MeshType = "Sphere"
  818. elseif TYPE == "Wedge" then
  819. local MSH = IT("SpecialMesh",PART)
  820. MSH.MeshType = "Wedge"
  821. end
  822. end
  823.  
  824. function CheckTableForString(Table, String)
  825. for i, v in pairs(Table) do
  826. if string.find(string.lower(String), string.lower(v)) then
  827. return true
  828. end
  829. end
  830. return false
  831. end
  832.  
  833. function CheckIntangible(Hit)
  834. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  835. if Hit and Hit.Parent then
  836. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  837. return true
  838. end
  839. end
  840. return false
  841. end
  842.  
  843. Debris = game:GetService("Debris")
  844.  
  845. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  846. local Direction = CFrame.new(StartPos, Vec).lookVector
  847. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  848. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  849. if RayHit and CheckIntangible(RayHit) then
  850. if DelayIfHit then
  851. wait()
  852. end
  853. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  854. end
  855. return RayHit, RayPos, RayNormal
  856. end
  857.  
  858. function turnto(position)
  859. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  860. end
  861.  
  862. --//=================================\\
  863. --|| SPEECH
  864. --\\=================================//
  865.  
  866. function chatfunc(text,waitt)
  867. local chat = coroutine.wrap(function()
  868. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  869. Character:FindFirstChild("TalkingBillBoard"):destroy()
  870. end
  871. local naeeym2 = Instance.new("BillboardGui",Character)
  872. naeeym2.Size = UDim2.new(0,100,0,40)
  873. naeeym2.StudsOffset = Vector3.new(0,5,0)
  874. naeeym2.Adornee = Character.Head
  875. naeeym2.Name = "TalkingBillBoard"
  876. naeeym2.AlwaysOnTop = true
  877. local tecks2 = Instance.new("TextLabel",naeeym2)
  878. tecks2.BackgroundTransparency = 1
  879. tecks2.BorderSizePixel = 0
  880. tecks2.Text = ""
  881. tecks2.Font = "SciFi"
  882. tecks2.TextSize = 30
  883. tecks2.TextStrokeTransparency = 1
  884. tecks2.TextColor3 = SKILLTEXTCOLOR
  885. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  886. tecks2.Size = UDim2.new(1,0,0.5,0)
  887. for i = 1,string.len(text),1 do
  888. tecks2.Text = string.sub(text,1,i)
  889. Swait()
  890. end
  891. wait(waitt)
  892. coroutine.resume(coroutine.create(function()
  893. for i = 1, 10 do
  894. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  895. Swait()
  896. end
  897. naeeym2:Destroy()
  898. end))
  899. end)
  900. chat()
  901. end
  902.  
  903. --//=================================\\
  904. --|| WEAPON CREATION
  905. --\\=================================//
  906.  
  907. function CreateGauntlet(LIMB,ROT,OFFSET)
  908.  
  909. end
  910.  
  911. CreateGauntlet(RightArm,180,0.3)
  912. CreateGauntlet(LeftArm,0,-0.3)
  913.  
  914. for _, c in pairs(Weapon:GetChildren()) do
  915. if c.ClassName == "Part" then
  916. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  917. end
  918. end
  919.  
  920. Weapon.Parent = Character
  921.  
  922. Humanoid.Died:connect(function()
  923. ATTACK = true
  924. end)
  925.  
  926. print(Class_Name.." loaded.")
  927.  
  928. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  929. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  930. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  931.  
  932. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Turret cannon", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  933. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Shield pulse", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  934. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[1-8] Switch stance", C3(0,0,0), 6, "SciFi", 0, 2, 1, "Text 3")
  935.  
  936. --//=================================\\
  937. --|| DAMAGE FUNCTIONS
  938. --\\=================================//
  939.  
  940. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  941. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  942. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  943. local BODYGYRO = IT("BodyGyro", STATPART)
  944. local BODYPOSITION = IT("BodyPosition", STATPART)
  945. BODYPOSITION.P = 2000
  946. BODYPOSITION.D = 100
  947. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  948. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  949. game:GetService("Debris"):AddItem(STATPART ,5)
  950. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  951. BILLBOARDGUI.Adornee = STATPART
  952. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  953. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  954. BILLBOARDGUI.AlwaysOnTop = true
  955. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  956. TEXTLABEL.BackgroundTransparency = 1
  957. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  958. TEXTLABEL.Text = TEXT
  959. TEXTLABEL.Font = "SciFi"
  960. TEXTLABEL.FontSize="Size42"
  961. TEXTLABEL.TextColor3 = COLOR
  962. TEXTLABEL.TextStrokeTransparency = 1
  963. TEXTLABEL.TextScaled = true
  964. TEXTLABEL.TextWrapped = true
  965. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  966. if LABELTYPE == "Normal" then
  967. for i = 1, 20 do
  968. Swait()
  969. STATPART.Position = STATPART.Position + VT(0, (10-i)/10 ,0)
  970. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  971. end
  972. elseif LABELTYPE == "Debuff" then
  973. for i = 1, 20 do
  974. Swait()
  975. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  976. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  977. end
  978. elseif LABELTYPE == "Shock" then
  979. local ORIGIN = STATPART.Position
  980. for i = 1, 20 do
  981. Swait()
  982. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  983. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  984. end
  985. end
  986. THEPART.Parent = nil
  987. end),STATPART, BODYPOSITION, TEXTLABEL)
  988. end
  989.  
  990.  
  991. --//=================================\\
  992. --|| DAMAGING
  993. --\\=================================//
  994.  
  995. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  996. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  997. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  998. local dmg = math.random(min,max)
  999. if humanoid.Health > 0 then
  1000. if beserk == true then
  1001. humanoid.Health = 0
  1002. else
  1003. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1004. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1005. if math.random(1,100) < critrate+1 then
  1006. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1007. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1008. else
  1009. humanoid.Health = humanoid.Health - dmg
  1010. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  1011. end
  1012. local defence = Instance.new("BoolValue",hit.Parent)
  1013. defence.Name = ("HitBy"..Player.Name)
  1014. game:GetService("Debris"):AddItem(defence, 0.1)
  1015. end
  1016. end
  1017. end
  1018. end
  1019.  
  1020. function AoEWarp(position,radius)
  1021. for i,v in ipairs(workspace:GetChildren()) do
  1022. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1023. local body = v:GetChildren()
  1024. for part = 1, #body do
  1025. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1026. if(body[part].Position - position).Magnitude < radius then
  1027. if v.ClassName == "Model" then
  1028. if v:FindFirstChild("Humanoid") then
  1029. if v.Humanoid.Health ~= 0 then
  1030. if body[part].Position.Y < position.Y+12 then
  1031. print("Got "..v.Name)
  1032. local defence = Instance.new("BoolValue",v)
  1033. defence.Name = ("HitBy"..Player.Name)
  1034. game:GetService("Debris"):AddItem(defence, 0.01)
  1035. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1036. Warp(TORSO)
  1037. end
  1038. end
  1039. end
  1040. end
  1041. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1042. end
  1043. end
  1044. end
  1045. end
  1046. end
  1047. end
  1048.  
  1049. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1050. local dmg = math.random(min,max)
  1051. for i,v in ipairs(workspace:GetChildren()) do
  1052. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1053. local body = v:GetChildren()
  1054. for part = 1, #body do
  1055. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1056. if(body[part].Position - position).Magnitude < radius then
  1057. if v.ClassName == "Model" then
  1058. if v:FindFirstChild("Humanoid") then
  1059. if v.Humanoid.Health ~= 0 then
  1060. if CanBeDodgedByJumping == true then
  1061. if body[part].Position.Y < position.Y+5 then
  1062. if math.random(1,100) < critrate+1 then
  1063. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1064. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1065. else
  1066. v.Humanoid.Health = v.Humanoid.Health - dmg
  1067. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1068. end
  1069. local defence = Instance.new("BoolValue",v)
  1070. defence.Name = ("HitBy"..Player.Name)
  1071. game:GetService("Debris"):AddItem(defence, 0.1)
  1072. end
  1073. else
  1074. if beserk == true then
  1075. v.Humanoid.Health = 0
  1076. end
  1077. if math.random(1,100) < critrate+1 then
  1078. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1079. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1080. else
  1081. v.Humanoid.Health = v.Humanoid.Health - dmg
  1082. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1083. end
  1084. local defence = Instance.new("BoolValue",v)
  1085. defence.Name = ("HitBy"..Player.Name)
  1086. game:GetService("Debris"):AddItem(defence, 0.1)
  1087. end
  1088. end
  1089. end
  1090. end
  1091. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1092. end
  1093. end
  1094. end
  1095. if v.ClassName == "Part" then
  1096. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1097. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1098. end
  1099. end
  1100. end
  1101. end
  1102. end
  1103.  
  1104. function AoEStun(POS,RANGE,LAST,TYPE)
  1105. for i,v in ipairs(workspace:GetChildren()) do
  1106. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1107. local body = v:GetChildren()
  1108. for part = 1, #body do
  1109. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1110. if(body[part].Position - POS).Magnitude < RANGE then
  1111. if v.ClassName == "Model" then
  1112. if v:FindFirstChild("Humanoid") then
  1113. if v.Humanoid.Health ~= 0 then
  1114. if TYPE == "Stun" then
  1115. Stun(v.Humanoid,LAST)
  1116. elseif TYPE == "Freeze" then
  1117. Freeze(v.Humanoid,LAST)
  1118. end
  1119. local defence = Instance.new("BoolValue",v)
  1120. defence.Name = ("StunnedBy"..Player.Name)
  1121. game:GetService("Debris"):AddItem(defence, 0.1)
  1122. end
  1123. end
  1124. end
  1125. end
  1126. end
  1127. end
  1128. end
  1129. end
  1130. end
  1131.  
  1132. function Warp(Victim)
  1133. print("Warping "..Victim.Name.."...")
  1134. Victim.Anchored = true
  1135. coroutine.resume(coroutine.create(function()
  1136. local GUI,GUI2 = CreateGUICircle(Victim)
  1137. CreateSound("1377220307", Victim, 10, 1)
  1138. for i = 1, 200 do
  1139. Swait()
  1140. GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0)
  1141. GUI2.Rotation = GUI2.Rotation + 2
  1142. end
  1143. CastWarpOutlines(Victim.Parent)
  1144. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  1145. CreateSound("1177785010", Victim, 10, 1)
  1146. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  1147. if HUMANOID ~= nil then
  1148. local dmg = MRANDOM(75,95)
  1149. HUMANOID.Health = HUMANOID.Health - dmg
  1150. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  1151. end
  1152. for i = 1, 50 do
  1153. Swait()
  1154. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1155. GUI2.Rotation = GUI2.Rotation - 8
  1156. end
  1157. Victim.Anchored = false
  1158. GUI:remove()
  1159. end))
  1160. end
  1161.  
  1162. function Stun(HUMANOID,LAST)
  1163. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1164. HUMANOID.PlatformStand = true
  1165. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1166. defence.Name = ("StunnedBy"..Player.Name)
  1167. game:GetService("Debris"):AddItem(defence, LAST)
  1168. if HUMANOID.Parent:FindFirstChild("Head") then
  1169. StatLabel("Shock", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  1170. end
  1171. coroutine.resume(coroutine.create(function()
  1172. Swait(LAST*100)
  1173. HUMANOID.PlatformStand = false
  1174. end))
  1175. end
  1176. end
  1177.  
  1178. function Freeze(HUMANOID,LAST)
  1179. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1180. local q = HUMANOID.Parent:GetChildren()
  1181. for i = 1, #q do
  1182. local bob = q[i]
  1183. if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
  1184. if bob.Transparency < 1 then
  1185. bob.Anchored = true
  1186. local icelayer = bob:Clone()
  1187. icelayer.Parent = bob
  1188. icelayer.Material = "Ice"
  1189. icelayer.CanCollide = false
  1190. icelayer.BrickColor = BRICKC"Black"
  1191. icelayer.Transparency = 0.5
  1192. icelayer.CFrame = bob.CFrame
  1193. icelayer.Name = "Ice"
  1194. icelayer.Size = icelayer.Size + VT(0.1,0.1,0.1)
  1195. if icelayer:FindFirstChildOfClass("Decal") then
  1196. icelayer:FindFirstChildOfClass("Decal"):remove()
  1197. end
  1198. end
  1199. end
  1200. end
  1201. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1202. defence.Name = ("StunnedBy"..Player.Name)
  1203. game:GetService("Debris"):AddItem(defence, LAST)
  1204. if HUMANOID.Parent:FindFirstChild("Head") then
  1205. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 2), 0), "Frozen!", C3(0.4, 0.4, 0.3))
  1206. end
  1207. coroutine.resume(coroutine.create(function()
  1208. Swait(LAST*100)
  1209. local q = HUMANOID.Parent:GetChildren()
  1210. for i = 1, #q do
  1211. local bob = q[i]
  1212. if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
  1213. if bob.Transparency < 1 then
  1214. bob.Anchored = false
  1215. bob.Ice:remove()
  1216. end
  1217. end
  1218. end
  1219. end))
  1220. end
  1221. end
  1222.  
  1223. function killnearest(position,range,maxstrength)
  1224. for i,v in ipairs(workspace:GetChildren()) do
  1225. local body = v:GetChildren()
  1226. for part = 1, #body do
  1227. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1228. if(body[part].Position - position).Magnitude < range then
  1229. table.insert(Effects2,{body[part],"Evaporate",0.005,2,2,2,2})
  1230. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1231. end
  1232. end
  1233. end
  1234. if v.ClassName == "Part" then
  1235. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1236. table.insert(Effects2,{v,"Evaporate",0.005,2,2,2,2})
  1237. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1238. end
  1239. end
  1240. end
  1241. end
  1242.  
  1243. --//=================================\\
  1244. --|| ATTACK FUNCTIONS AND STUFF
  1245. --\\=================================//
  1246.  
  1247. function Stance1()
  1248. VALUE1 = 1
  1249. SKILL1TEXT.Text = "[Z] Turret cannon"
  1250. SKILL2TEXT.Text = "[X] Shield pulse"
  1251. sick.SoundId = "rbxassetid://1278973941"
  1252. local wep = Weapon:GetChildren()
  1253. for part = 1, #wep do
  1254. if wep[part].ClassName == "Part" then
  1255. local P = wep[part]
  1256. if P.Name == "01-Type" then
  1257. P.Material = "Granite"
  1258. P.BrickColor = BRICKC"Pearl"
  1259. elseif P.Name == "02-Type" then
  1260. P.Material = "Foil"
  1261. P.BrickColor = BRICKC"Pearl"
  1262. elseif P.Name == "03-Type" then
  1263. P.Material = "Foil"
  1264. P.BrickColor = BRICKC"Really black"
  1265. elseif P.Name == "04-Type" then
  1266. P.Material = "Neon"
  1267. P.BrickColor = BRICKC"Pearl"
  1268. end
  1269. end
  1270. end
  1271. end
  1272.  
  1273. function Stance2()
  1274. VALUE1 = 2
  1275. SKILL1TEXT.Text = "[Z] Fireball"
  1276. SKILL2TEXT.Text = "[X] Fire field"
  1277. sick.SoundId = "rbxassetid://854888194"
  1278. local wep = Weapon:GetChildren()
  1279. for part = 1, #wep do
  1280. if wep[part].ClassName == "Part" then
  1281. local P = wep[part]
  1282. if P.Name == "01-Type" then
  1283. P.Material = "Granite"
  1284. P.BrickColor = BRICKC"White"
  1285. elseif P.Name == "02-Type" then
  1286. P.Material = "Neon"
  1287. P.BrickColor = BRICKC"Maroon"
  1288. elseif P.Name == "03-Type" then
  1289. P.Material = "Neon"
  1290. P.BrickColor = BRICKC"Really black"
  1291. elseif P.Name == "04-Type" then
  1292. P.Material = "Neon"
  1293. P.BrickColor = BRICKC"CGA brown"
  1294. end
  1295. end
  1296. end
  1297. end
  1298.  
  1299. function Stance3()
  1300. VALUE1 = 3
  1301. SKILL1TEXT.Text = "[Z] Icicle storm"
  1302. SKILL2TEXT.Text = "[X] Frost breath"
  1303. sick.SoundId = "rbxassetid://715260221"
  1304. local wep = Weapon:GetChildren()
  1305. for part = 1, #wep do
  1306. if wep[part].ClassName == "Part" then
  1307. local P = wep[part]
  1308. if P.Name == "01-Type" then
  1309. P.Material = "Neon"
  1310. P.BrickColor = BRICKC"White"
  1311. elseif P.Name == "02-Type" then
  1312. P.Material = "Neon"
  1313. P.BrickColor = BRICKC"Cyan"
  1314. elseif P.Name == "03-Type" then
  1315. P.Material = "Metal"
  1316. P.BrickColor = BRICKC"Blue"
  1317. elseif P.Name == "04-Type" then
  1318. P.Material = "Ice"
  1319. P.BrickColor = BRICKC"Steel blue"
  1320. end
  1321. end
  1322. end
  1323. end
  1324.  
  1325. function Stance4()
  1326. VALUE1 = 4
  1327. SKILL1TEXT.Text = "[Z] Shriek"
  1328. SKILL2TEXT.Text = "[X] Bloodbath"
  1329. sick.SoundId = "rbxassetid://1169408368"
  1330. local wep = Weapon:GetChildren()
  1331. for part = 1, #wep do
  1332. if wep[part].ClassName == "Part" then
  1333. local P = wep[part]
  1334. if P.Name == "01-Type" then
  1335. P.Material = "Cobblestone"
  1336. P.BrickColor = BRICKC"Really black"
  1337. elseif P.Name == "02-Type" then
  1338. P.Material = "Metal"
  1339. P.BrickColor = BRICKC"Red"
  1340. elseif P.Name == "03-Type" then
  1341. P.Material = "Metal"
  1342. P.BrickColor = BRICKC"Red"
  1343. elseif P.Name == "04-Type" then
  1344. P.Material = "Neon"
  1345. P.BrickColor = BRICKC"Dark indigo"
  1346. end
  1347. end
  1348. end
  1349. end
  1350. function Stance5()
  1351. VALUE1 = 5
  1352. SKILL1TEXT.Text = "[Z] Rock throw"
  1353. SKILL2TEXT.Text = "[X] Earth tremor"
  1354. sick.SoundId = "rbxassetid://445767851"
  1355. local wep = Weapon:GetChildren()
  1356. for part = 1, #wep do
  1357. if wep[part].ClassName == "Part" then
  1358. local P = wep[part]
  1359. if P.Name == "01-Type" then
  1360. P.Material = "Cobblestone"
  1361. P.BrickColor = BRICKC"Rust"
  1362. elseif P.Name == "02-Type" then
  1363. P.Material = "Cobblestone"
  1364. P.BrickColor = BRICKC"Grey"
  1365. elseif P.Name == "03-Type" then
  1366. P.Material = "Marble"
  1367. P.BrickColor = BRICKC"Black"
  1368. elseif P.Name == "04-Type" then
  1369. P.Material = "Slate"
  1370. P.BrickColor = BRICKC"Pine cone"
  1371. end
  1372. end
  1373. end
  1374. end
  1375.  
  1376. function Stance6()
  1377. VALUE1 = 6
  1378. SKILL1TEXT.Text = "[Z] Radiant void"
  1379. SKILL2TEXT.Text = "[X] Void warp"
  1380. sick.SoundId = "rbxassetid://510176627"
  1381. local wep = Weapon:GetChildren()
  1382. for part = 1, #wep do
  1383. if wep[part].ClassName == "Part" then
  1384. local P = wep[part]
  1385. if P.Name == "01-Type" then
  1386. P.Material = "Granite"
  1387. P.BrickColor = BRICKC"Royal purple"
  1388. elseif P.Name == "02-Type" then
  1389. P.Material = "Slate"
  1390. P.BrickColor = BRICKC"Really black"
  1391. elseif P.Name == "03-Type" then
  1392. P.Material = "Metal"
  1393. P.BrickColor = BRICKC"Black"
  1394. elseif P.Name == "04-Type" then
  1395. P.Material = "Neon"
  1396. P.BrickColor = BRICKC"White"
  1397. end
  1398. end
  1399. end
  1400. end
  1401.  
  1402. function Stance7()
  1403. VALUE1 = 7
  1404. SKILL1TEXT.Text = "[Z] Divine glow"
  1405. SKILL2TEXT.Text = "[X] Divine evaporation"
  1406. sick.SoundId = "rbxassetid://630839495"
  1407. local wep = Weapon:GetChildren()
  1408. for part = 1, #wep do
  1409. if wep[part].ClassName == "Part" then
  1410. local P = wep[part]
  1411. if P.Name == "01-Type" then
  1412. P.Material = "Neon"
  1413. P.BrickColor = BRICKC"Yellow"
  1414. elseif P.Name == "02-Type" then
  1415. P.Material = "Neon"
  1416. P.BrickColor = BRICKC"Gold"
  1417. elseif P.Name == "03-Type" then
  1418. P.Material = "Neon"
  1419. P.BrickColor = BRICKC"Gold"
  1420. elseif P.Name == "04-Type" then
  1421. P.Material = "Neon"
  1422. P.BrickColor = BRICKC"New Yeller"
  1423. end
  1424. end
  1425. end
  1426. end
  1427.  
  1428. function Stance8()
  1429. VALUE1 = 8
  1430. SKILL1TEXT.Text = "[Z] Leaf Storm"
  1431. SKILL2TEXT.Text = "[X] Leaf Field"
  1432. sick.SoundId = "rbxassetid://625704768"
  1433. local wep = Weapon:GetChildren()
  1434. for part = 1, #wep do
  1435. if wep[part].ClassName == "Part" then
  1436. local P = wep[part]
  1437. if P.Name == "01-Type" then
  1438. P.Material = "Granite"
  1439. P.BrickColor = BRICKC"1020"
  1440. elseif P.Name == "02-Type" then
  1441. P.Material = "Slate"
  1442. P.BrickColor = BRICKC"Really black"
  1443. elseif P.Name == "03-Type" then
  1444. P.Material = "Metal"
  1445. P.BrickColor = BRICKC"Shamrock"
  1446. elseif P.Name == "04-Type" then
  1447. P.Material = "Neon"
  1448. P.BrickColor = BRICKC"1020"
  1449. end
  1450. end
  1451. end
  1452. end
  1453.  
  1454. function Stance9()
  1455. VALUE1 = 9
  1456. SKILL1TEXT.Text = "[Z] Mega blast"
  1457. SKILL2TEXT.Text = "[X] Explosive Bomb"
  1458. sick.SoundId = "rbxassetid://720984603"
  1459. local wep = Weapon:GetChildren()
  1460. for part = 1, #wep do
  1461. if wep[part].ClassName == "Part" then
  1462. local P = wep[part]
  1463. if P.Name == "01-Type" then
  1464. P.Material = "Granite"
  1465. P.BrickColor = BRICKC"Black"
  1466. elseif P.Name == "02-Type" then
  1467. P.Material = "Slate"
  1468. P.BrickColor = BRICKC"Really black"
  1469. elseif P.Name == "03-Type" then
  1470. P.Material = "Metal"
  1471. P.BrickColor = BRICKC"Black"
  1472. elseif P.Name == "04-Type" then
  1473. P.Material = "Neon"
  1474. P.BrickColor = BRICKC"Black"
  1475. end
  1476. end
  1477. end
  1478. end
  1479.  
  1480. function createfireball(size,explosionsize,pos,velocity)
  1481. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1482. local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"}
  1483. local FIREBALL = IT("Part",Effects)
  1484. FIREBALL.Shape = "Ball"
  1485. FIREBALL.Size = VT(size,size,size)
  1486. FIREBALL.Material = "Neon"
  1487. FIREBALL.CFrame = CF(pos)
  1488. FIREBALL.Transparency = 1
  1489. local bv = Instance.new("BodyVelocity")
  1490. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1491. bv.velocity = velocity
  1492. bv.Parent = FIREBALL
  1493. bv.Name = "MOVE"
  1494. local HIT = false
  1495. local harm = FIREBALL.Touched:Connect(function(hit)
  1496. if HIT == false and hit.Parent.ClassName ~= "Accessory" and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= FIREBALL.Parent then
  1497. HIT = true
  1498. coroutine.resume(coroutine.create(function()
  1499. FIREBALL.Anchored = true
  1500. FIREBALL.CanCollide = false
  1501. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FIREBALL, 3, 1)
  1502. AoEDamage(FIREBALL.Position,explosionsize*2,45,65,25,false,3,2,false,true)
  1503. MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3,3,3),0)
  1504. MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3.5,3.5,3.5),0)
  1505. Swait(250)
  1506. FIREBALL:remove()
  1507. end))
  1508. end
  1509. end)
  1510. coroutine.resume(coroutine.create(function()
  1511. repeat
  1512. Swait()
  1513. MagicSphere(VT(size,size,size),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-size/15,-size/15,-size/15),0)
  1514. until HIT == true
  1515. end))
  1516. return FIREBALL
  1517. end
  1518.  
  1519. function AttackTemplate()
  1520. ATTACK = true
  1521. Rooted = false
  1522. for i=0, 1, 0.1 / Animation_Speed do
  1523. Swait()
  1524. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1525. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1526. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1527. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1528. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1529. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1530. end
  1531. ATTACK = false
  1532. Rooted = false
  1533. end
  1534.  
  1535. local asd = Instance.new("ParticleEmitter")
  1536. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1537. asd.LightEmission = .1
  1538. asd.Size = NumberSequence.new(0.2)
  1539. asd.Texture = "http://www.roblox.com/asset/?ID=933102662"
  1540. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1541. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1542. asd.Transparency = bbb
  1543. asd.Size = aaa
  1544. asd.ZOffset = .9
  1545. asd.Acceleration = Vector3.new(0, -15, 0)
  1546. asd.LockedToPart = false
  1547. asd.EmissionDirection = "Back"
  1548. asd.Lifetime = NumberRange.new(1, 2)
  1549. asd.Rotation = NumberRange.new(-100, 100)
  1550. asd.RotSpeed = NumberRange.new(-100, 100)
  1551. asd.Speed = NumberRange.new(25,35)
  1552. asd.Enabled = false
  1553. asd.VelocitySpread = 1522
  1554.  
  1555. function getbloody(victim,amount)
  1556. local PART = IT("Part",Effects)
  1557. PART.Transparency = 1
  1558. PART.Size = victim.Size
  1559. PART.Anchored = true
  1560. PART.CanCollide = false
  1561. PART.CFrame = CF(victim.Position,Torso.Position)
  1562. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1563. Debris:AddItem(PART,5)
  1564. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1565. local prtcl = asd:Clone()
  1566. prtcl.Parent = PART
  1567. prtcl:Emit(amount*10)
  1568. end
  1569.  
  1570. function CreateMagicCircle()
  1571. local sinkhole = IT("Part")
  1572. sinkhole.Size = VT(0,0,0)
  1573. sinkhole.Parent = Effects
  1574. sinkhole.Material = "Neon"
  1575. sinkhole.Color = C3(0,0,0)
  1576. sinkhole.Anchored = true
  1577. sinkhole.CanCollide = false
  1578. sinkhole.Transparency = 1
  1579. local decal = IT("Decal",sinkhole)
  1580. decal.Face = "Top"
  1581. decal.Texture = "http://www.roblox.com/asset/?id=137243001"
  1582. local decal2 = IT("Decal",sinkhole)
  1583. decal2.Face = "Bottom"
  1584. decal2.Texture = "http://www.roblox.com/asset/?id=137243001"
  1585. return sinkhole
  1586. end
  1587.  
  1588. function CreateLeafMagicCircle()
  1589. local sinkhole = IT("Part")
  1590. sinkhole.Size = VT(0,0,0)
  1591. sinkhole.Parent = Effects
  1592. sinkhole.Material = "Neon"
  1593. sinkhole.Color = C3(0,0,0)
  1594. sinkhole.Anchored = true
  1595. sinkhole.CanCollide = false
  1596. sinkhole.Transparency = 1
  1597. local decal = IT("Decal",sinkhole)
  1598. decal.Face = "Top"
  1599. decal.Texture = "http://www.roblox.com/asset/?id=137243001"
  1600. local decal2 = IT("Decal",sinkhole)
  1601. decal2.Face = "Bottom"
  1602. decal2.Texture = "http://www.roblox.com/asset/?id=137243001"
  1603. return sinkhole
  1604. end
  1605.  
  1606. function CreateGUICircle(TARGET)
  1607. local GUI = Instance.new("BillboardGui",Character)
  1608. GUI.Size = UDim2.new(0,0,0,0)
  1609. GUI.Adornee = TARGET
  1610. local GUI2 = IT("ImageLabel",GUI)
  1611. GUI2.BackgroundTransparency = 1
  1612. GUI2.BorderSizePixel = 0
  1613. GUI2.Size = UDim2.new(1,0,1,0)
  1614. GUI2.SizeConstraint = "RelativeYY"
  1615. GUI.AlwaysOnTop = true
  1616. GUI2.Image = "http://www.roblox.com/asset/?id=137243001"
  1617. return GUI,GUI2
  1618. end
  1619.  
  1620. function CastWarpOutlines(TARGET)
  1621. coroutine.resume(coroutine.create(function()
  1622. local T = TARGET:GetChildren()
  1623. for i = 1, # T do
  1624. local child = T[i]
  1625. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1626. local clone = child:Clone()
  1627. clone.Parent = Effects
  1628. clone.Anchored = true
  1629. clone.CanCollide = false
  1630. clone:ClearAllChildren()
  1631. clone.CFrame = child.CFrame
  1632. if clone.Name == "Head" then
  1633. if TARGET:FindFirstChildOfClass("MeshPart") == nil then
  1634. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  1635. end
  1636. end
  1637. if clone.ClassName == "MeshPart" then
  1638. clone.TextureID = ""
  1639. end
  1640. clone.BrickColor = BRICKC"Black"
  1641. clone.Material = "Neon"
  1642. coroutine.resume(coroutine.create(function()
  1643. for i = 1, 200 do
  1644. Swait()
  1645. clone.Transparency = clone.Transparency + 0.005
  1646. clone.Size = clone.Size + VT(0.003,0.003,0.003)
  1647. end
  1648. clone:remove()
  1649. end))
  1650. end
  1651. end
  1652. end))
  1653. end
  1654.  
  1655. --Z MOVES--
  1656.  
  1657. function TurretCannon()
  1658. ATTACK = true
  1659. Rooted = false
  1660. for i=0, 2, 0.1 / Animation_Speed do
  1661. Swait()
  1662. turnto(Mouse.Hit.p)
  1663. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1664. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1665. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1666. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1667. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1668. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1669. end
  1670. Rooted = true
  1671. local TURRETS = {RightArm,LeftArm}
  1672. local soundeffect = IT("Sound",Torso)
  1673. soundeffect.SoundId = "rbxassetid://1160209243"
  1674. soundeffect.Looped = true
  1675. soundeffect.Volume = 1
  1676. soundeffect.Playing = true
  1677. repeat
  1678. Swait()
  1679. turnto(Mouse.Hit.p)
  1680. local TURRET = TURRETS[MRANDOM(1,#TURRETS)]
  1681. MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"New Yeller",VT(0.3,0.3,0.3),0)
  1682. local BULLET = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false)
  1683. BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  1684. local bv = Instance.new("BodyVelocity")
  1685. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1686. bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300
  1687. bv.Parent = BULLET
  1688. bv.Name = "PROJECTILEVELOCITY"
  1689. MakeForm(BULLET,"Ball")
  1690. local BOO = BULLET.Touched:Connect(function(hit)
  1691. dealdamage(hit,5,8,5,false,2,3)
  1692. end)
  1693. table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2})
  1694. until KEYHOLD == false
  1695. soundeffect:remove()
  1696. ATTACK = false
  1697. Rooted = false
  1698. end
  1699.  
  1700. function Fireball()
  1701. ATTACK = true
  1702. Rooted = true
  1703. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1704. CreateSound("169445572", RightArm, 2, 1.6)
  1705. for i=0, 5, 0.1 / Animation_Speed2 do
  1706. Swait()
  1707. MagicSphere(VT(2,2,2),35,RightArm.CFrame*CF(0,-1,0),FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-2/35,-2/35,-2/35),0.6)
  1708. turnto(Mouse.Hit.p)
  1709. 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_Speed2)
  1710. 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_Speed2)
  1711. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1712. 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_Speed2)
  1713. 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_Speed2)
  1714. 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_Speed2)
  1715. end
  1716. local aimpos = Mouse.Hit.p
  1717. createfireball(2,8,RightArm.CFrame * CF(0,-2,0).p,CF(RightArm.CFrame * CF(0,-2,0).p,aimpos).lookVector*100)
  1718. for i=0, 1.5, 0.1 / Animation_Speed2 do
  1719. Swait()
  1720. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.4 / Animation_Speed2)
  1721. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  1722. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1723. 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_Speed2)
  1724. 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_Speed2)
  1725. 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_Speed2)
  1726. end
  1727. ATTACK = false
  1728. Rooted = false
  1729. end
  1730.  
  1731. function IcicleStorm()
  1732. ATTACK = true
  1733. Rooted = false
  1734. local BulletHolder = IT("Folder",Weapon)
  1735. BulletHolder.Name = "Bullets"
  1736. game:GetService("Debris"):AddItem(BulletHolder, 40)
  1737. for i=0, 3, 0.1 / Animation_Speed do
  1738. Swait()
  1739. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1740. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1741. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1742. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1743. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1744. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1745. end
  1746. CreateSound("333476017", Torso, 10, 1)
  1747. for i = 1, 150 do
  1748. Swait()
  1749. RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1750. coroutine.resume(coroutine.create(function()
  1751. local gem = IT("Part",BulletHolder)
  1752. gem.Size = VT(0.3,0.3,0.3)
  1753. gem.CFrame = Torso.CFrame * CF(math.random(-25,25),math.random(25,50),math.random(-25,25))
  1754. gem.Anchored = true
  1755. gem.BrickColor = BRICKC"Steel blue"
  1756. local Cys = Instance.new("SpecialMesh", gem)
  1757. Cys.MeshType = "FileMesh"
  1758. Cys.MeshId = "rbxassetid://9756362"
  1759. Cys.Scale = Vector3.new(2,2,2)
  1760. end))
  1761. end
  1762. local IceHitSounds = {
  1763. "338594737",
  1764. "338594687",
  1765. "338594666",
  1766. "338594648",
  1767. "338594606",
  1768. "338594574",
  1769. "338594556",
  1770. "338594524",
  1771. "338594467"
  1772. }
  1773. coroutine.resume(coroutine.create(function()
  1774. q = BulletHolder:GetChildren()
  1775. for i = 1, #q do
  1776. Swait()
  1777. turnto(Mouse.Hit.p)
  1778. local bullet = q[i]
  1779. local bv = Instance.new("BodyVelocity")
  1780. bullet.Mesh.Scale = VT(2,2,5)
  1781. bullet.CFrame = CF(bullet.Position,Mouse.Hit.p)
  1782. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1783. bv.velocity = CF(bullet.Position,Mouse.Hit.p).lookVector*500
  1784. bv.Parent = bullet
  1785. bv.Name = "DASH"
  1786. bullet.Anchored = false
  1787. local paw = bullet.Touched:Connect(function(hit)
  1788. if bullet.Anchored == false then
  1789. CreateSound(IceHitSounds[math.random(1, #IceHitSounds)], bullet, 3, 1)
  1790. local cframe = bullet.CFrame
  1791. bullet.Anchored = true
  1792. table.insert(Effects2,{bullet,"Block1",0.15,0,0,0,5})
  1793. AoEDamage(bullet.Position,5,15,15,0,false,5,3,false)
  1794. if MRANDOM(1,45) == 1 then
  1795. AoEStun(bullet.Position,5,5,"Freeze")
  1796. end
  1797. end
  1798. end)
  1799. end
  1800. end))
  1801. ATTACK = false
  1802. Rooted = false
  1803. end
  1804.  
  1805. function Shriek()
  1806. ATTACK = true
  1807. Rooted = false
  1808. for i=0, 1, 0.1 / Animation_Speed do
  1809. Swait()
  1810. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  1811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1814. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  1815. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 , -0.8, -0.2) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  1816. end
  1817. Rooted = true
  1818. CreateSound("439369949", Effects, 10, 1)
  1819. for i=0, 3, 0.1 / Animation_Speed do
  1820. Swait()
  1821. MagicSphere(VT(2,2,2),5,Head.CFrame,"Pearl",VT(35,35,35),0.97)
  1822. AoEDamage(Head.Position,65,3,5,4,false,12,3,false)
  1823. AoEStun(Head.Position,65,2,"Stun")
  1824. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1825. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)),1 / Animation_Speed)
  1826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1828. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 1 / Animation_Speed)
  1829. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.2) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1830. end
  1831. ATTACK = false
  1832. Rooted = false
  1833. end
  1834.  
  1835. function clerp(a, b, t)
  1836. return a:lerp(b, t)
  1837. end
  1838.  
  1839. function newBezier(startpos, pos2, pos3, endpos, t)
  1840. local A = clerp(startpos, pos2, t)
  1841. local B = clerp(pos2, pos3, t)
  1842. local C = clerp(pos3, endpos, t)
  1843. local lerp1 = clerp(A, B, t)
  1844. local lerp2 = clerp(B, C, t)
  1845. local cubic = clerp(lerp1, lerp2, t)
  1846. return cubic
  1847. end
  1848.  
  1849. function RockThrow()
  1850. ATTACK = true
  1851. Rooted = false
  1852. for i=0, 2, 0.1 / Animation_Speed do
  1853. Swait()
  1854. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1855. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1856. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1857. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1858. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1859. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1860. end
  1861. local ROCK = IT("Part",Effects)
  1862. ROCK.CFrame = RightArm.CFrame * CF(0,-1.3,0)
  1863. ROCK.Size = VT(9,9,9)
  1864. ROCK.Material = "Cobblestone"
  1865. ROCK.Transparency = 1
  1866. ROCK.BrickColor = BRICKC"Pine Cone"
  1867. local WELD = weldBetween(RightArm,ROCK)
  1868. ROCK.CanCollide = false
  1869. for i = 1, 10 do
  1870. Swait()
  1871. ROCK.Transparency = ROCK.Transparency - 0.1
  1872. end
  1873. for i=0, 0.2, 0.1 / Animation_Speed do
  1874. Swait()
  1875. turnto(Mouse.Hit.p)
  1876. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1877. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 0.5 / Animation_Speed)
  1878. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1879. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1880. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1881. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1882. end
  1883. WELD:remove()
  1884. coroutine.resume(coroutine.create(function()
  1885. local POS = ROCK.Position
  1886. ROCK.Anchored = true
  1887. local onefourth = POS:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(0, math.random(25, 55),0)
  1888. local threefourths = POS:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(0, math.random(25, 55),0)
  1889. for i = 0, 1, 0.07 do
  1890. Swait()
  1891. ROCK.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, Mouse.Hit.p, i))
  1892. end
  1893. ROCK.Anchored = false
  1894. ROCK.CanCollide = true
  1895. CreateWave(VT(1,1,1),25,CF(ROCK.Position),false,0,"Pearl",VT(1,0.2,1),0.5)
  1896. AoEDamage(ROCK.Position,5,35,55,4,false,12,3,true)
  1897. Swait(500)
  1898. ROCK.Anchored = true
  1899. ROCK.CanCollide = false
  1900. for i = 1, 10 do
  1901. Swait()
  1902. ROCK.Transparency = ROCK.Transparency + 0.1
  1903. end
  1904. ROCK:remove()
  1905. end))
  1906. for i=0, 1.6, 0.1 / Animation_Speed do
  1907. Swait()
  1908. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1909. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 0.5 / Animation_Speed)
  1910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1912. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1913. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1914. end
  1915. ATTACK = false
  1916. Rooted = false
  1917. end
  1918.  
  1919. function RadiantVoid()
  1920. ATTACK = true
  1921. Rooted = true
  1922. for i=0, 1, 0.1 / Animation_Speed do
  1923. Swait()
  1924. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1925. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1926. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1927. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1928. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1929. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1930. end
  1931. local RING = CreateMagicCircle()
  1932. RING.CFrame = CF(RootPart.Position)*CF(0,-2.8,0)
  1933. CreateSound("1208650519", Torso, 10, 1)
  1934. for i = 1, 200 do
  1935. Swait()
  1936. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/15),RAD(0))
  1937. RING.Size = RING.Size + VT(1,0,1)
  1938. end
  1939. AoEWarp(RING.Position,RING.Size.X/2)
  1940. coroutine.resume(coroutine.create(function()
  1941. Swait(75)
  1942. for i = 1, 50 do
  1943. Swait()
  1944. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(-i/2),RAD(0))
  1945. RING.Size = RING.Size - VT(4,0,4)
  1946. end
  1947. RING:remove()
  1948. end))
  1949. ATTACK = false
  1950. Rooted = false
  1951. end
  1952.  
  1953. function DivineGlow()
  1954. ATTACK = true
  1955. Rooted = true
  1956. for i=0, 2, 0.1 / Animation_Speed do
  1957. Swait()
  1958. MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,0.5),0.5)
  1959. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1960. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1961. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1962. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1963. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1964. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1965. end
  1966. CreateSound("3264923", Torso, 10, 3)
  1967. coroutine.resume(coroutine.create(function()
  1968. local FRAME = Torso.CFrame
  1969. MagicSphere(VT(3,3,3),450,FRAME,"New Yeller",VT(-3/550,-3/550,-3/550),0)
  1970. for i = 1, 450 do
  1971. Swait()
  1972. MagicSphere(VT(0.2,0.2,0.2),15,CF(FRAME*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,FRAME.p),"New Yeller",VT(0.001,0.001,2.5),0.5)
  1973. AoEDamage(FRAME.p,1,1,1,-5,false,12,3,false)
  1974. end
  1975. MagicSphere(VT(6,6,6),70,FRAME,"New Yeller",VT(1,1,1),0)
  1976. MagicSphere(VT(5,5,5),70,FRAME,"Pearl",VT(1,1,1),0.5)
  1977. AoEDamage(FRAME.p,55,45,45,-5,false,2,30,false)
  1978. end))
  1979. ATTACK = false
  1980. Rooted = false
  1981. end
  1982.  
  1983. --X MOVES--
  1984.  
  1985. function ShieldPulse()
  1986. ATTACK = true
  1987. Rooted = false
  1988. for i=0, 1, 0.1 / Animation_Speed do
  1989. Swait()
  1990. turnto(Mouse.Hit.p)
  1991. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1992. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1993. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1994. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1995. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1996. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1997. end
  1998. local shield = IT("Part",Effects)
  1999. shield.CFrame = RootPart.CFrame * CF(0,0,-3)
  2000. shield.Size = VT(0.2,0.2,0.2)
  2001. shield.Anchored = true
  2002. shield.Material = "Neon"
  2003. shield.Color = C3(1,1,1)
  2004. shield.Transparency = 0.5
  2005. repeat
  2006. Swait()
  2007. turnto(Mouse.Hit.p)
  2008. shield.CFrame = RootPart.CFrame * CF(0,0,-3)
  2009. shield.Size = shield.Size + VT(0.2,0.2,0)
  2010. until KEYHOLD == false
  2011. local bv = Instance.new("BodyVelocity")
  2012. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2013. bv.velocity = RootPart.CFrame.lookVector*300
  2014. bv.Parent = shield
  2015. shield.Anchored = false
  2016. shield.CanCollide = false
  2017. bv.Name = "PROJECTILEVELOCITY"
  2018. local BOO = shield.Touched:Connect(function(hit)
  2019. dealdamage(hit,55,75,5,false,2,3)
  2020. end)
  2021. Debris:AddItem(shield,5)
  2022. ATTACK = false
  2023. Rooted = false
  2024. end
  2025.  
  2026. function FireField()
  2027. ATTACK = true
  2028. Rooted = true
  2029. for i=0, 1.5, 0.1 / Animation_Speed*3 do
  2030. Swait()
  2031. 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)
  2032. 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)
  2033. 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)
  2034. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * 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)
  2035. 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)
  2036. 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)
  2037. end
  2038. CreateSound("217767125", LeftArm, 10, 1)
  2039. local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  2040. coroutine.resume(coroutine.create(function()
  2041. local CFRAME = RootPart.CFrame * CF(0,-3.4,0)
  2042. for i = 1, 450 do
  2043. Swait()
  2044. AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true)
  2045. MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8)
  2046. end
  2047. end))
  2048. for i=0, 1.5, 0.1 / Animation_Speed do
  2049. Swait()
  2050. 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)
  2051. 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)
  2052. 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)
  2053. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * 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)
  2054. 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)
  2055. 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)
  2056. end
  2057. ATTACK = false
  2058. Rooted = false
  2059. end
  2060.  
  2061. function FrostBreath()
  2062. ATTACK = true
  2063. Rooted = true
  2064. for i=0, 2, 0.1 / Animation_Speed do
  2065. Swait()
  2066. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2067. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2068. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2069. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2070. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2071. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2072. end
  2073. CreateSound("976606790", Head, 10, 2)
  2074. local IceColors = {"Steel blue","Cyan","Pastel blue-green"}
  2075. for i=0, 4, 0.1 / Animation_Speed do
  2076. Swait()
  2077. for i = 1, 6 do
  2078. AoEStun(Head.CFrame * CF(0,-0.4,-i*3).p,i*3,35,"Freeze")
  2079. CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/15,i/10,i/15),0.7)
  2080. CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/10,i/10,i/10),0.7)
  2081. end
  2082. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2083. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2084. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(22)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2085. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-22)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2086. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2087. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2088. end
  2089. ATTACK = false
  2090. Rooted = false
  2091. end
  2092.  
  2093. function Bloodbath()
  2094. local HASSTARTED = false
  2095. local target = nil
  2096. local targettorso = nil
  2097. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2098. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2099. target = Mouse.Target.Parent.Humanoid
  2100. targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2101. end
  2102. end
  2103. if target ~= nil then
  2104. CreateSound("305685800", Head, 10, 1)
  2105. targettorso.Anchored = true
  2106. HASSTARTED = true
  2107. ATTACK = true
  2108. Rooted = true
  2109. CastWarpOutlines(Character)
  2110. RootPart.CFrame = targettorso.CFrame * CF(0,0,2)
  2111. coroutine.resume(coroutine.create(function()
  2112. Swait(10*100)
  2113. if HASSTARTED == true then
  2114. ATTACK = false
  2115. Rooted = false
  2116. UNANCHOR = true
  2117. end
  2118. end))
  2119. UNANCHOR = false
  2120. RootPart.Anchored = true
  2121. coroutine.resume(coroutine.create(function()
  2122. for i=0, 3, 0.1 / Animation_Speed do
  2123. Swait()
  2124. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.05 / Animation_Speed)
  2125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.05 / Animation_Speed)
  2126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  2127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  2128. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  2129. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  2130. end
  2131. for i=0, 3, 0.1 / Animation_Speed do
  2132. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 0.5 / Animation_Speed)
  2133. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  2134. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2135. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2136. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2137. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2138. end
  2139. getbloody(targettorso,25)
  2140. Swait(5)
  2141. targettorso:remove()
  2142. Swait(15)
  2143. ATTACK = false
  2144. Rooted = false
  2145. HASSTARTED = false
  2146. UNANCHOR = true
  2147. end))
  2148. end
  2149. end
  2150.  
  2151. function EarthTremor()
  2152. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2153. if HITFLOOR ~= nil then
  2154. ATTACK = true
  2155. Rooted = true
  2156. for i=0, 2, 0.1 / Animation_Speed do
  2157. Swait()
  2158. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2159. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2160. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2161. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2162. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2163. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.3 / Animation_Speed)
  2164. end
  2165. for i=0, 0.3, 0.1 / Animation_Speed do
  2166. Swait()
  2167. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2168. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2169. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2170. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2171. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed)
  2172. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed)
  2173. end
  2174. CreateSound("438666141", RightLeg, 5, 1)
  2175. local sinkhole = IT("Part")
  2176. sinkhole.Size = VT(35,0,35)
  2177. sinkhole.Parent = Effects
  2178. sinkhole.Material = "Neon"
  2179. sinkhole.Color = C3(0,0,0)
  2180. sinkhole.Anchored = true
  2181. sinkhole.CanCollide = false
  2182. sinkhole.Transparency = 1
  2183. local decal = IT("Decal",sinkhole)
  2184. decal.Face = "Top"
  2185. decal.Texture = "http://www.roblox.com/asset/?id=29268434"
  2186. decal.Transparency = 1
  2187. sinkhole.CFrame = CF(RightLeg.Position)*CF(0,-0.75,0)
  2188. AoEDamage(RightLeg.Position,35,15,25,4,false,32,7,true)
  2189. coroutine.resume(coroutine.create(function()
  2190. for i = 1, 5 do
  2191. Swait()
  2192. decal.Transparency = decal.Transparency - 0.2
  2193. end
  2194. Swait(500)
  2195. for i = 1, 5 do
  2196. Swait()
  2197. decal.Transparency = decal.Transparency + 0.2
  2198. end
  2199. sinkhole:remove()
  2200. end))
  2201. for i=0, 1, 0.1 / Animation_Speed do
  2202. Swait()
  2203. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2204. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2205. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2206. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2207. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed)
  2208. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed)
  2209. end
  2210. ATTACK = false
  2211. Rooted = false
  2212. end
  2213. end
  2214.  
  2215. function VoidWarp()
  2216. local HASSTARTED = false
  2217. local target = nil
  2218. local targettorso = nil
  2219. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2220. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2221. target = Mouse.Target.Parent.Humanoid
  2222. targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2223. end
  2224. end
  2225. if target ~= nil then
  2226. ATTACK = true
  2227. Rooted = true
  2228. for i=0, 1.5, 0.1 / Animation_Speed do
  2229. Swait()
  2230. if targettorso ~= nil then
  2231. turnto(targettorso.Position)
  2232. end
  2233. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2234. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2235. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2236. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2237. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2238. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2239. end
  2240. if targettorso ~= nil then
  2241. local GUI,GUI3 = CreateGUICircle(targettorso)
  2242. local GUI2,GUI4 = CreateGUICircle(Torso)
  2243. CreateSound("1208650519", targettorso, 10, 1)
  2244. CreateSound("1208650519", Torso, 10, 1)
  2245. targettorso.Anchored = true
  2246. for i = 1, 200 do
  2247. Swait()
  2248. GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0)
  2249. GUI2.Size = GUI.Size
  2250. GUI3.Rotation = GUI3.Rotation + 2
  2251. GUI4.Rotation = GUI4.Rotation - 2
  2252. end
  2253. if targettorso ~= nil then
  2254. CastWarpOutlines(targettorso.Parent)
  2255. CastWarpOutlines(Character)
  2256. local TFrame = Torso.CFrame
  2257. local TTFrame = targettorso.CFrame
  2258. Torso.CFrame = TTFrame
  2259. targettorso.CFrame = TFrame
  2260. local HUMANOID = targettorso.Parent:FindFirstChildOfClass("Humanoid")
  2261. local dmg = MRANDOM(75,95)
  2262. HUMANOID.Health = HUMANOID.Health - dmg
  2263. StatLabel("Normal", targettorso.CFrame * CF(0, 0 + (targettorso.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  2264. CreateSound("1177785010", targettorso, 10, 1)
  2265. CreateSound("1177785010", Torso, 10, 1)
  2266. HASSTARTED = true
  2267. coroutine.resume(coroutine.create(function()
  2268. for i = 1, 50 do
  2269. Swait()
  2270. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  2271. GUI2.Size = GUI.Size
  2272. GUI3.Rotation = GUI3.Rotation - 8
  2273. GUI4.Rotation = GUI4.Rotation + 8
  2274. end
  2275. GUI:remove()
  2276. GUI2:remove()
  2277. targettorso.Anchored = false
  2278. end))
  2279. end
  2280. if HASSTARTED == false then
  2281. GUI:remove()
  2282. GUI2:remove()
  2283. end
  2284. end
  2285. ATTACK = false
  2286. Rooted = false
  2287. end
  2288. end
  2289.  
  2290. function DivineEvaporation()
  2291. ATTACK = true
  2292. Rooted = false
  2293. for i=0, 6, 0.1 / Animation_Speed do
  2294. Swait()
  2295. MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,1),0)
  2296. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2297. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2298. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2299. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2300. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2301. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2302. end
  2303. CreateSound("3264923", Torso, 10, 1)
  2304. for i = 1, 50 do
  2305. MagicSphere(VT(0.2,0.2,0.2),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.005,0.005,0.1),0)
  2306. end
  2307. MagicSphere(VT(20,20,20),50,Torso.CFrame,"New Yeller",VT(0,0,0),0.9)
  2308. killnearest(Torso.Position,15,5)
  2309. ATTACK = false
  2310. Rooted = false
  2311. end
  2312.  
  2313.  
  2314. function LeafField()
  2315. ATTACK = true
  2316. Rooted = true
  2317. for i=0, 1.5, 0.1 / Animation_Speed*3 do
  2318. Swait()
  2319. 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)
  2320. 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)
  2321. 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)
  2322. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * 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)
  2323. 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)
  2324. 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)
  2325. end
  2326. CreateSound("217767125", LeftArm, 10, 1)
  2327. local FIREBALLCOLORS = {"Lime green", "Mint", "Forest green"}
  2328. coroutine.resume(coroutine.create(function()
  2329. local CFRAME = RootPart.CFrame * CF(0,-3.4,0)
  2330. for i = 1, 450 do
  2331. Swait()
  2332. AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true)
  2333. MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8)
  2334. end
  2335. end))
  2336. for i=0, 1.5, 0.1 / Animation_Speed do
  2337. Swait()
  2338. 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)
  2339. 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)
  2340. 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)
  2341. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * 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)
  2342. 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)
  2343. 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)
  2344. end
  2345. ATTACK = false
  2346. Rooted = false
  2347. end
  2348.  
  2349.  
  2350. function LeafStorm()
  2351. ATTACK = true
  2352. ATTACK = true
  2353. Rooted = false
  2354. for i=0, 2, 0.1 / Animation_Speed do
  2355. Swait()
  2356. turnto(Mouse.Hit.p)
  2357. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2358. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2359. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2360. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2361. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2362. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2363. end
  2364. Rooted = true
  2365. local TURRETS = {RightArm,LeftArm}
  2366. local soundeffect = IT("Sound",Torso)
  2367. soundeffect.SoundId = "rbxassetid://337638956"
  2368. soundeffect.Looped = true
  2369. soundeffect.Volume = 1
  2370. soundeffect.Playing = true
  2371. repeat
  2372. Swait()
  2373. turnto(Mouse.Hit.p)
  2374. local TURRET = TURRETS[MRANDOM(1,#TURRETS)]
  2375. MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"Shamrock",VT(0.3,0.3,0.3),0)
  2376. local BULLET = CreatePart(3, Effects, "Grass", 0, 0, "Shamrock", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false)
  2377. BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  2378. local bv = Instance.new("BodyVelocity")
  2379. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2380. bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300
  2381. bv.Parent = BULLET
  2382. bv.Name = "PROJECTILEVELOCITY"
  2383. MakeForm(BULLET,"Ball")
  2384. local BOO = BULLET.Touched:Connect(function(hit)
  2385. dealdamage(hit,5,8,5,false,2,3)
  2386. end)
  2387. table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2})
  2388. until KEYHOLD == false
  2389. soundeffect:remove()
  2390. ATTACK = false
  2391. Rooted = false
  2392. end
  2393.  
  2394. function Megablast()
  2395. local HASSTARTED = false
  2396. local target = nil
  2397. local targettorso = nil
  2398. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2399. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2400. target = Mouse.Target.Parent.Humanoid
  2401. targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2402. end
  2403. end
  2404. if target ~= nil then
  2405. ATTACK = true
  2406. Rooted = true
  2407. for i=0, 1.5, 0.1 / Animation_Speed do
  2408. Swait()
  2409. if targettorso ~= nil then
  2410. turnto(targettorso.Position)
  2411. end
  2412. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2413. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2414. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2415. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2416. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2417. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2418. end
  2419. if targettorso ~= nil then
  2420. local GUI,GUI3 = CreateGUICircle(targettorso)
  2421. local GUI2,GUI4 = CreateGUICircle(Torso)
  2422. CreateSound("1208650519", targettorso, 10, 1)
  2423. CreateSound("1208650519", Torso, 10, 1)
  2424. targettorso.Anchored = true
  2425. for i = 1, 200 do
  2426. Swait()
  2427. GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0)
  2428. GUI2.Size = GUI.Size
  2429. GUI3.Rotation = GUI3.Rotation + 2
  2430. GUI4.Rotation = GUI4.Rotation - 2
  2431. end
  2432. if targettorso ~= nil then
  2433. CastWarpOutlines(targettorso.Parent)
  2434. CastWarpOutlines(Character)
  2435. local TFrame = Torso.CFrame
  2436. local TTFrame = targettorso.CFrame
  2437. Torso.CFrame = TTFrame
  2438. targettorso.CFrame = TFrame
  2439. local HUMANOID = targettorso.Parent:FindFirstChildOfClass("Humanoid")
  2440. local dmg = MRANDOM(75,95)
  2441. HUMANOID.Health = HUMANOID.Health - dmg
  2442. StatLabel("Normal", targettorso.CFrame * CF(0, 0 + (targettorso.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  2443. CreateSound("1177785010", targettorso, 10, 1)
  2444. CreateSound("1177785010", Torso, 10, 1)
  2445. HASSTARTED = true
  2446. coroutine.resume(coroutine.create(function()
  2447. for i = 1, 50 do
  2448. Swait()
  2449. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  2450. GUI2.Size = GUI.Size
  2451. GUI3.Rotation = GUI3.Rotation - 8
  2452. GUI4.Rotation = GUI4.Rotation + 8
  2453. end
  2454. GUI:remove()
  2455. GUI2:remove()
  2456. targettorso.Anchored = false
  2457. end))
  2458. end
  2459. if HASSTARTED == false then
  2460. GUI:remove()
  2461. GUI2:remove()
  2462. end
  2463. end
  2464. ATTACK = false
  2465. Rooted = false
  2466. end
  2467. end
  2468.  
  2469. function ExplosiveBomb(size,explosionsize,pos,velocity)
  2470. local FIREBALLCOLORS = {"White", "Black", "White"}
  2471. local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"}
  2472. local FIREBALL = IT("Part",Effects)
  2473. FIREBALL.Shape = "Ball"
  2474. FIREBALL.Size = VT(4,4,4)
  2475. FIREBALL.Material = "Neon"
  2476. FIREBALL.CFrame = CF(pos)
  2477. FIREBALL.Transparency = 1
  2478. local bv = Instance.new("BodyVelocity")
  2479. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2480. bv.velocity = velocity
  2481. bv.Parent = FIREBALL
  2482. bv.Name = "MOVE"
  2483. local HIT = false
  2484. local harm = FIREBALL.Touched:Connect(function(hit)
  2485. if HIT == false and hit.Parent.ClassName ~= "Accessory" and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= FIREBALL.Parent then
  2486. HIT = true
  2487. coroutine.resume(coroutine.create(function()
  2488. FIREBALL.Anchored = true
  2489. FIREBALL.CanCollide = false
  2490. CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FIREBALL, 3, 1)
  2491. AoEDamage(FIREBALL.Position,explosionsize*2,45,65,25,false,3,2,false,true)
  2492. MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3,3,3),0)
  2493. MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3.5,3.5,3.5),0)
  2494. Swait(250)
  2495. FIREBALL:remove()
  2496. end))
  2497. end
  2498. end)
  2499. coroutine.resume(coroutine.create(function()
  2500. repeat
  2501. Swait()
  2502. MagicSphere(VT(size,size,size),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-size/15,-size/15,-size/15),0)
  2503. until HIT == true
  2504. end))
  2505. return FIREBALL
  2506. end
  2507. --//=================================\\
  2508. --|| ASSIGN THINGS TO KEYS
  2509. --\\=================================//
  2510.  
  2511. function ChineseEarthquake()
  2512. Rooted = true
  2513. local icri = CreateSound("1177999394", Torso, 10, 1)
  2514. Swait(130)
  2515. local FRAME = Torso.CFrame
  2516. repeat
  2517. Swait()
  2518. Torso.CFrame = FRAME * CF(0,1,0)
  2519. Swait()
  2520. Torso.CFrame = FRAME
  2521. until icri.Playing == false
  2522. Rooted = false
  2523. end
  2524.  
  2525. function MouseDown(Mouse)
  2526. if ATTACK == false then
  2527. end
  2528. end
  2529.  
  2530. function MouseUp(Mouse)
  2531. HOLD = false
  2532. end
  2533.  
  2534. function KeyDown(Key)
  2535. KEYHOLD = true
  2536. if Rooted == false then
  2537. if Key == "z" and ATTACK == false then
  2538. if VALUE1 == 1 then
  2539. TurretCannon()
  2540. elseif VALUE1 == 2 then
  2541. Fireball()
  2542. elseif VALUE1 == 3 then
  2543. IcicleStorm()
  2544. elseif VALUE1 == 4 then
  2545. Shriek()
  2546. elseif VALUE1 == 5 then
  2547. RockThrow()
  2548. elseif VALUE1 == 6 then
  2549. RadiantVoid()
  2550. elseif VALUE1 == 7 then
  2551. DivineGlow()
  2552. elseif VALUE1 == 8 then
  2553. LeafStorm()
  2554. elseif VALUE1 == 9 then
  2555. ExplosiveBomb()
  2556. end
  2557. end
  2558.  
  2559. if Key == "x" and ATTACK == false then
  2560. if VALUE1 == 1 then
  2561. ShieldPulse()
  2562. elseif VALUE1 == 2 then
  2563. FireField()
  2564. elseif VALUE1 == 3 then
  2565. FrostBreath()
  2566. elseif VALUE1 == 4 then
  2567. Bloodbath()
  2568. elseif VALUE1 == 5 then
  2569. EarthTremor()
  2570. elseif VALUE1 == 6 then
  2571. VoidWarp()
  2572. elseif VALUE1 == 7 then
  2573. DivineEvaporation()
  2574. elseif VALUE1 == 8 then
  2575. LeafField()
  2576. elseif VALUE1 == 9 then
  2577. Megablast()
  2578. end
  2579. end
  2580.  
  2581. if Key == "1" and ATTACK == false then
  2582. Stance1()
  2583. end
  2584.  
  2585. if Key == "2" and ATTACK == false then
  2586. Stance2()
  2587. end
  2588.  
  2589. if Key == "3" and ATTACK == false then
  2590. Stance3()
  2591. end
  2592.  
  2593. if Key == "4" and ATTACK == false then
  2594. Stance4()
  2595. end
  2596.  
  2597. if Key == "5" and ATTACK == false then
  2598. Stance5()
  2599. end
  2600.  
  2601. if Key == "6" and ATTACK == false then
  2602. Stance6()
  2603. end
  2604.  
  2605. if Key == "7" and ATTACK == false then
  2606. Stance7()
  2607. end
  2608.  
  2609. if Key == "8" and ATTACK == false then
  2610. Stance8()
  2611. end
  2612.  
  2613. if Key == "9" and ATTACK == false then
  2614. Stance9()
  2615. end
  2616.  
  2617.  
  2618. if Key == "t" and ATTACK == false and VALUE1 == 5 then
  2619. ChineseEarthquake()
  2620. end
  2621. end
  2622. end
  2623.  
  2624. function KeyUp(Key)
  2625. KEYHOLD = false
  2626. end
  2627.  
  2628. Mouse.Button1Down:connect(function(NEWKEY)
  2629. MouseDown(NEWKEY)
  2630. end)
  2631. Mouse.Button1Up:connect(function(NEWKEY)
  2632. MouseUp(NEWKEY)
  2633. end)
  2634. Mouse.KeyDown:connect(function(NEWKEY)
  2635. KeyDown(NEWKEY)
  2636. end)
  2637. Mouse.KeyUp:connect(function(NEWKEY)
  2638. KeyUp(NEWKEY)
  2639. end)
  2640.  
  2641. --//=================================\\
  2642. --\\=================================//
  2643.  
  2644.  
  2645. function unanchor()
  2646. if UNANCHOR == true then
  2647. g = Character:GetChildren()
  2648. for i = 1, #g do
  2649. if g[i].ClassName == "Part" then
  2650. g[i].Anchored = false
  2651. end
  2652. end
  2653. end
  2654. end
  2655.  
  2656.  
  2657. --//=================================\\
  2658. --|| WRAP THE WHOLE SCRIPT UP
  2659. --\\=================================//
  2660.  
  2661. Humanoid.Changed:connect(function(Jump)
  2662. if Jump == "Jump" and (Disable_Jump == true) then
  2663. Humanoid.Jump = false
  2664. end
  2665. end)
  2666.  
  2667. VALUE1 = 1
  2668. Speed = 25
  2669.  
  2670. while true do
  2671. Swait()
  2672. ANIMATE.Parent = nil
  2673. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2674. IDLEANIMATION:Play()
  2675. SINE = SINE + CHANGE
  2676. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2677. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2678. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2679. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2680. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  2681. if ANIM == "Walk" and TORSOVELOCITY > 1 and VALUE1 ~= 7 then
  2682. 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)
  2683. 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)
  2684. --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)
  2685. --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)
  2686. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2687. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2688. 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)
  2689. --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)
  2690. --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)
  2691. end
  2692. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2693. ANIM = "Jump"
  2694. if ATTACK == false then
  2695. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2696. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2697. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2698. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2699. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2700. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2701. end
  2702. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2703. ANIM = "Fall"
  2704. if ATTACK == false then
  2705. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2706. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2707. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2708. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2709. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2710. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2711. end
  2712. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2713. ANIM = "Idle"
  2714. if ATTACK == false then
  2715. if VALUE1 == 1 then
  2716. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2717. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2718. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2719. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2720. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2721. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2722. elseif VALUE1 == 2 then
  2723. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  2724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.2, -0.3) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2727. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2729. elseif VALUE1 == 3 then
  2730. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2731. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2732. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2733. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2734. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2735. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2736. elseif VALUE1 == 4 then
  2737. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2738. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2739. if MRANDOM(1,5) == 1 then
  2740. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25))), 1)
  2741. end
  2742. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2743. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2744. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2745. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2746. elseif VALUE1 == 5 then
  2747. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2748. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2749. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2750. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2751. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2752. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2753. elseif VALUE1 == 6 then
  2754. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2755. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2756. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2757. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2758. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2759. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2760. if MRANDOM(1,25) == 1 then
  2761. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25))), 1)
  2762. end
  2763. elseif VALUE1 == 7 then
  2764. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2765. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2766. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2767. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2768. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2769. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2770. elseif VALUE1 == 8 then
  2771. 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)
  2772. 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.15 / Animation_Speed)
  2773. 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)
  2774. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2775. 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)
  2776. 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)
  2777. end
  2778. end
  2779. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2780. ANIM = "Walk"
  2781. WALK = WALK + 1 / Animation_Speed
  2782. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2783. WALK = 0
  2784. if WALKINGANIM == true then
  2785. WALKINGANIM = false
  2786. elseif WALKINGANIM == false then
  2787. WALKINGANIM = true
  2788. end
  2789. end
  2790. --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)
  2791. --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)
  2792. if ATTACK == false then
  2793. if VALUE1 < 4 or VALUE1 == 6 then
  2794. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2795. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2796. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2797. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2798. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2799. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2800. elseif VALUE1 == 4 then
  2801. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2803. if MRANDOM(1,15) == 1 then
  2804. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  2805. end
  2806. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2807. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2808. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
  2809. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
  2810. elseif VALUE1 == 7 then
  2811. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2815. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2816. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2817. elseif VALUE1 == 5 then
  2818. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2819. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2820. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2821. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2822. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2823. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2824. elseif VALUE1 == 8 then
  2825. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2826. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2829. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2830. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2831. end
  2832. end
  2833. end
  2834. if #Effects2>0 then
  2835. for e=1,#Effects2 do
  2836. if Effects2[e]~=nil then
  2837. local Thing=Effects2[e]
  2838. if Thing~=nil then
  2839. local Part=Thing[1]
  2840. local Mode=Thing[2]
  2841. local Delay=Thing[3]
  2842. local IncX=Thing[4]
  2843. local IncY=Thing[5]
  2844. local IncZ=Thing[6]
  2845. local Part2=Thing[8]
  2846. if Thing[1].Transparency<=1 then
  2847. if Thing[2]=="Block1" then
  2848. Thing[1].CFrame=Thing[1].CFrame
  2849. Mesh=Thing[1].Mesh
  2850. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2851. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2852. elseif Thing[2]=="Cylinder" then
  2853. Mesh=Thing[1].Mesh
  2854. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2855. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2856. elseif Thing[2]=="Blood" then
  2857. Mesh=Thing[7]
  2858. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2859. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2860. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2861. elseif Thing[2]=="Elec" then
  2862. Mesh=Thing[1].Mesh
  2863. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2864. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2865. elseif Thing[2]=="Disappear" then
  2866. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2867. elseif Thing[2]=="Evaporate" then
  2868. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2869. local C = {-5,-2,2,5}
  2870. MagicSphere(VT(0,0,0),15,CF(Thing[1].CFrame*CF(C[MRANDOM(1,#C)],C[MRANDOM(1,#C)],C[MRANDOM(1,#C)]).p,Thing[1].Position),"New Yeller",VT(0.01,0.01,0.5),0.8)
  2871. end
  2872. else
  2873. Part.Parent=nil
  2874. table.remove(Effects2,e)
  2875. end
  2876. end
  2877. end
  2878. end
  2879. end
  2880. unanchor()
  2881. Humanoid.MaxHealth = "inf"
  2882. Humanoid.Health = "inf"
  2883. if Rooted == false then
  2884. Disable_Jump = false
  2885. Humanoid.WalkSpeed = Speed
  2886. elseif Rooted == true then
  2887. Disable_Jump = true
  2888. Humanoid.WalkSpeed = 0
  2889. end
  2890. local MATHS = {"0","1"}
  2891. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  2892. Humanoid.PlatformStand = false
  2893. end
  2894.  
  2895. --//=================================\\
  2896. --\\=================================//
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902. --//====================================================\\--
  2903. --|| END OF SCRIPT
  2904. --\\===========================================
Advertisement
Add Comment
Please, Sign In to add comment