Advertisement
memberhero

Terra God Updated

Jul 7th, 2018
466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.04 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(1)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27.  
  28. IT = Instance.new
  29. CF = CFrame.new
  30. VT = Vector3.new
  31. RAD = math.rad
  32. C3 = Color3.new
  33. UD2 = UDim2.new
  34. BRICKC = BrickColor.new
  35. ANGLES = CFrame.Angles
  36. EULER = CFrame.fromEulerAnglesXYZ
  37. COS = math.cos
  38. ACOS = math.acos
  39. SIN = math.sin
  40. ASIN = math.asin
  41. ABS = math.abs
  42. MRANDOM = math.random
  43. FLOOR = math.floor
  44.  
  45. --//=================================\\
  46. --|| USEFUL VALUES
  47. --\\=================================//
  48.  
  49. Animation_Speed = 3
  50. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  51. local Speed = 35
  52. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  53. local NECKC0 = CF(0, 1.75, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  55. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  56. local DAMAGEMULTIPLIER = 1
  57. local ANIM = "Idle"
  58. local ATTACK = false
  59. local EQUIPPED = false
  60. local HOLD = false
  61. local COMBO = 1
  62. local Rooted = false
  63. local SINE = 0
  64. local KEYHOLD = false
  65. local CHANGE = 2 / Animation_Speed
  66. local WALKINGANIM = false
  67. local VALUE1 = false
  68. local VALUE2 = false
  69. local ROBLOXIDLEANIMATION = IT("Animation")
  70. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  71. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  72. --ROBLOXIDLEANIMATION.Parent = Humanoid
  73. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  74. WEAPONGUI.Name = "Weapon GUI"
  75. local Effects = IT("Folder", Character)
  76. Effects.Name = "Effects"
  77. local ANIMATOR = Humanoid.Animator
  78. local ANIMATE = Character.Animate
  79. local UNANCHOR = true
  80. local PLAYSONG = true
  81. local EXTRATRANS = 0
  82.  
  83. --//=================================\\
  84. --\\=================================//
  85.  
  86.  
  87. --//=================================\\
  88. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  89. --\\=================================//
  90.  
  91. ArtificialHB = Instance.new("BindableEvent", script)
  92. ArtificialHB.Name = "ArtificialHB"
  93.  
  94. script:WaitForChild("ArtificialHB")
  95.  
  96. frame = Frame_Speed
  97. tf = 0
  98. allowframeloss = false
  99. tossremainder = false
  100. lastframe = tick()
  101. script.ArtificialHB:Fire()
  102.  
  103. game:GetService("RunService").Heartbeat:connect(function(s, p)
  104. tf = tf + s
  105. if tf >= frame then
  106. if allowframeloss then
  107. script.ArtificialHB:Fire()
  108. lastframe = tick()
  109. else
  110. for i = 1, math.floor(tf / frame) do
  111. script.ArtificialHB:Fire()
  112. end
  113. lastframe = tick()
  114. end
  115. if tossremainder then
  116. tf = 0
  117. else
  118. tf = tf - frame * math.floor(tf / frame)
  119. end
  120. end
  121. end)
  122.  
  123. --//=================================\\
  124. --\\=================================//
  125.  
  126. --//=================================\\
  127. --|| SOME FUNCTIONS
  128. --\\=================================//
  129.  
  130. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  131. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  132. end
  133.  
  134. function PositiveAngle(NUMBER)
  135. if NUMBER >= 0 then
  136. NUMBER = 0
  137. end
  138. return NUMBER
  139. end
  140.  
  141. function NegativeAngle(NUMBER)
  142. if NUMBER <= 0 then
  143. NUMBER = 0
  144. end
  145. return NUMBER
  146. end
  147.  
  148. function Swait(NUMBER)
  149. if NUMBER == 0 or NUMBER == nil then
  150. ArtificialHB.Event:wait()
  151. else
  152. for i = 1, NUMBER do
  153. ArtificialHB.Event:wait()
  154. end
  155. end
  156. end
  157.  
  158. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  159. local NEWMESH = IT(MESH)
  160. if MESH == "SpecialMesh" then
  161. NEWMESH.MeshType = MESHTYPE
  162. if MESHID ~= "nil" and MESHID ~= "" then
  163. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  164. end
  165. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  166. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  167. end
  168. end
  169. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  170. NEWMESH.Scale = SCALE
  171. NEWMESH.Parent = PARENT
  172. return NEWMESH
  173. end
  174.  
  175. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  176. local NEWPART = IT("Part")
  177. NEWPART.formFactor = FORMFACTOR
  178. NEWPART.Reflectance = REFLECTANCE
  179. NEWPART.Transparency = TRANSPARENCY
  180. NEWPART.CanCollide = false
  181. NEWPART.Locked = true
  182. NEWPART.Anchored = true
  183. if ANCHOR == false then
  184. NEWPART.Anchored = false
  185. end
  186. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  187. NEWPART.Name = NAME
  188. NEWPART.Size = SIZE
  189. NEWPART.Position = Torso.Position
  190. NEWPART.Material = MATERIAL
  191. NEWPART:BreakJoints()
  192. NEWPART.Parent = PARENT
  193. return NEWPART
  194. end
  195.  
  196. local function weldBetween(a, b)
  197. local weldd = Instance.new("ManualWeld")
  198. weldd.Part0 = a
  199. weldd.Part1 = b
  200. weldd.C0 = CFrame.new()
  201. weldd.C1 = b.CFrame:inverse() * a.CFrame
  202. weldd.Parent = a
  203. return weldd
  204. end
  205.  
  206.  
  207. function QuaternionFromCFrame(cf)
  208. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  209. local trace = m00 + m11 + m22
  210. if trace > 0 then
  211. local s = math.sqrt(1 + trace)
  212. local recip = 0.5 / s
  213. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  214. else
  215. local i = 0
  216. if m11 > m00 then
  217. i = 1
  218. end
  219. if m22 > (i == 0 and m00 or m11) then
  220. i = 2
  221. end
  222. if i == 0 then
  223. local s = math.sqrt(m00 - m11 - m22 + 1)
  224. local recip = 0.5 / s
  225. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  226. elseif i == 1 then
  227. local s = math.sqrt(m11 - m22 - m00 + 1)
  228. local recip = 0.5 / s
  229. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  230. elseif i == 2 then
  231. local s = math.sqrt(m22 - m00 - m11 + 1)
  232. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  233. end
  234. end
  235. end
  236.  
  237. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  238. local xs, ys, zs = x + x, y + y, z + z
  239. local wx, wy, wz = w * xs, w * ys, w * zs
  240. local xx = x * xs
  241. local xy = x * ys
  242. local xz = x * zs
  243. local yy = y * ys
  244. local yz = y * zs
  245. local zz = z * zs
  246. 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))
  247. end
  248.  
  249. function QuaternionSlerp(a, b, t)
  250. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  251. local startInterp, finishInterp;
  252. if cosTheta >= 0.0001 then
  253. if (1 - cosTheta) > 0.0001 then
  254. local theta = ACOS(cosTheta)
  255. local invSinTheta = 1 / SIN(theta)
  256. startInterp = SIN((1 - t) * theta) * invSinTheta
  257. finishInterp = SIN(t * theta) * invSinTheta
  258. else
  259. startInterp = 1 - t
  260. finishInterp = t
  261. end
  262. else
  263. if (1 + cosTheta) > 0.0001 then
  264. local theta = ACOS(-cosTheta)
  265. local invSinTheta = 1 / SIN(theta)
  266. startInterp = SIN((t - 1) * theta) * invSinTheta
  267. finishInterp = SIN(t * theta) * invSinTheta
  268. else
  269. startInterp = t - 1
  270. finishInterp = t
  271. end
  272. end
  273. 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
  274. end
  275.  
  276. function Clerp(a, b, t)
  277. local qa = {QuaternionFromCFrame(a)}
  278. local qb = {QuaternionFromCFrame(b)}
  279. local ax, ay, az = a.x, a.y, a.z
  280. local bx, by, bz = b.x, b.y, b.z
  281. local _t = 1 - t
  282. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  283. end
  284.  
  285. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  286. local frame = IT("Frame")
  287. frame.BackgroundTransparency = TRANSPARENCY
  288. frame.BorderSizePixel = BORDERSIZEPIXEL
  289. frame.Position = POSITION
  290. frame.Size = SIZE
  291. frame.BackgroundColor3 = COLOR
  292. frame.BorderColor3 = BORDERCOLOR
  293. frame.Name = NAME
  294. frame.Parent = PARENT
  295. return frame
  296. end
  297.  
  298. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  299. local label = IT("TextLabel")
  300. label.BackgroundTransparency = 1
  301. label.Size = UD2(1, 0, 1, 0)
  302. label.Position = UD2(0, 0, 0, 0)
  303. label.TextColor3 = TEXTCOLOR
  304. label.TextStrokeTransparency = STROKETRANSPARENCY
  305. label.TextTransparency = TRANSPARENCY
  306. label.FontSize = TEXTFONTSIZE
  307. label.Font = TEXTFONT
  308. label.BorderSizePixel = BORDERSIZEPIXEL
  309. label.TextScaled = false
  310. label.Text = TEXT
  311. label.Name = NAME
  312. label.Parent = PARENT
  313. return label
  314. end
  315. local SPIKE = Instance.new("Part")
  316. SPIKE.Shape = "Cylinder"
  317. SPIKE.Parent = nil
  318. function GetSpike(FLOOROBJECT)
  319. local Rock = SPIKE:Clone()
  320. Rock.Parent = Effects
  321. if FLOOROBJECT ~= nil then
  322. if FLOOROBJECT.Material ~= Enum.Material.Grass and FLOOROBJECT.Material ~= Enum.Material.Fabric then
  323. Rock.Material = FLOOROBJECT.Material
  324. Rock.Color = FLOOROBJECT.Color
  325. else
  326. Rock.Material = "Slate"
  327. Rock.Color = BRICKC"Dirt brown".Color
  328. end
  329. else
  330. Rock.Material = "Slate"
  331. Rock.Color = BRICKC"Dirt brown".Color
  332. end
  333. return Rock
  334. end
  335.  
  336. local SHIELD = Instance.new("Part")
  337. SHIELD.Material = "SmoothPlastic"
  338. SHIELD.Parent = nil
  339. function GetShield(FLOOROBJECT)
  340. local Rock = SHIELD:Clone()
  341. Rock.Parent = Effects
  342. if FLOOROBJECT ~= nil then
  343. Rock.Material = FLOOROBJECT.Material
  344. Rock.Color = FLOOROBJECT.Color
  345. else
  346. Rock.Material = "Slate"
  347. Rock.Color = BRICKC"Dirt brown".Color
  348. end
  349. return Rock
  350. end
  351.  
  352. local ROCK = Instance.new("Part")
  353. ROCK.Shape = "Ball"
  354. ROCK.Anchored = true
  355. Core = Instance.new("Attachment",ROCK)
  356. Core.Name = "Core"
  357. ROCK.Parent = nil
  358. function GetRock(FLOOROBJECT)
  359. local Rock = ROCK:Clone()
  360. Rock.Parent = Effects
  361. if FLOOROBJECT ~= nil then
  362. if FLOOROBJECT.Material ~= Enum.Material.Grass and FLOOROBJECT.Material ~= Enum.Material.Fabric then
  363. Rock.Material = FLOOROBJECT.Material
  364. Rock.Color = FLOOROBJECT.Color
  365. else
  366. Rock.Material = "Slate"
  367. Rock.Color = BRICKC"Dirt brown".Color
  368. end
  369. else
  370. Rock.Material = "Slate"
  371. Rock.Color = BRICKC"Dirt brown".Color
  372. end
  373. ---Rock.Core.Emit.Color = ColorSequence.new(Rock.Color)
  374. return Rock
  375. end
  376. function NoOutlines(PART)
  377. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  378. end
  379.  
  380. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  381. local NEWWELD = IT(TYPE)
  382. NEWWELD.Part0 = PART0
  383. NEWWELD.Part1 = PART1
  384. NEWWELD.C0 = C0
  385. NEWWELD.C1 = C1
  386. NEWWELD.Parent = PARENT
  387. return NEWWELD
  388. end
  389.  
  390. local S = IT("Sound")
  391. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  392. local NEWSOUND = nil
  393. coroutine.resume(coroutine.create(function()
  394. NEWSOUND = S:Clone()
  395. NEWSOUND.Parent = PARENT
  396. NEWSOUND.Volume = VOLUME
  397. NEWSOUND.Pitch = PITCH
  398. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  399. NEWSOUND:play()
  400. if DOESLOOP == true then
  401. NEWSOUND.Looped = true
  402. else
  403. repeat wait(1) until NEWSOUND.Playing == false
  404. NEWSOUND:remove()
  405. end
  406. end))
  407. return NEWSOUND
  408. end
  409.  
  410. function CFrameFromTopBack(at, top, back)
  411. local right = top:Cross(back)
  412. 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)
  413. end
  414.  
  415. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  416. function WACKYEFFECT(Table)
  417. local TYPE = (Table.EffectType or "Sphere")
  418. local SIZE = (Table.Size or VT(1,1,1))
  419. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  420. local TRANSPARENCY = (Table.Transparency or 0)
  421. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  422. local CFRAME = (Table.CFrame or Torso.CFrame)
  423. local MOVEDIRECTION = (Table.MoveToPos or nil)
  424. local ROTATION1 = (Table.RotationX or 0)
  425. local ROTATION2 = (Table.RotationY or 0)
  426. local ROTATION3 = (Table.RotationZ or 0)
  427. local MATERIAL = (Table.Material or "Neon")
  428. local COLOR = (Table.Color or C3(1,1,1))
  429. local TIME = (Table.Time or 45)
  430. local SOUNDID = (Table.SoundID or nil)
  431. local SOUNDPITCH = (Table.SoundPitch or nil)
  432. local SOUNDVOLUME = (Table.SoundVolume or nil)
  433. coroutine.resume(coroutine.create(function()
  434. local PLAYSSOUND = false
  435. local SOUND = nil
  436. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  437. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  438. PLAYSSOUND = true
  439. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  440. end
  441. EFFECT.Color = COLOR
  442. local MSH = nil
  443. if TYPE == "Sphere" then
  444. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  445. elseif TYPE == "Block" then
  446. MSH = IT("BlockMesh",EFFECT)
  447. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  448. elseif TYPE == "Wave" then
  449. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  450. elseif TYPE == "Ring" then
  451. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  452. elseif TYPE == "Slash" then
  453. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  454. elseif TYPE == "Round Slash" then
  455. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  456. elseif TYPE == "Swirl" then
  457. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  458. elseif TYPE == "Skull" then
  459. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  460. elseif TYPE == "Crystal" then
  461. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  462. end
  463. if MSH ~= nil then
  464. local MOVESPEED = nil
  465. if MOVEDIRECTION ~= nil then
  466. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  467. end
  468. local GROWTH = SIZE - ENDSIZE
  469. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  470. if TYPE == "Block" then
  471. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  472. else
  473. EFFECT.CFrame = CFRAME
  474. end
  475. for LOOP = 1, TIME+1 do
  476. Swait()
  477. MSH.Scale = MSH.Scale - GROWTH/TIME
  478. if TYPE == "Wave" then
  479. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  480. end
  481. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  482. if TYPE == "Block" then
  483. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  484. else
  485. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  486. end
  487. if MOVEDIRECTION ~= nil then
  488. local ORI = EFFECT.Orientation
  489. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  490. EFFECT.Orientation = ORI
  491. end
  492. end
  493. if PLAYSSOUND == false then
  494. EFFECT:remove()
  495. else
  496. repeat Swait() until EFFECT:FindFirstChild("Sound") == nil
  497. EFFECT:remove()
  498. end
  499. else
  500. if PLAYSSOUND == false then
  501. EFFECT:remove()
  502. else
  503. repeat Swait() until EFFECT:FindFirstChild("Sound") == nil
  504. EFFECT:remove()
  505. end
  506. end
  507. end))
  508. end
  509.  
  510. function MakeForm(PART,TYPE)
  511. if TYPE == "Cyl" then
  512. local MSH = IT("CylinderMesh",PART)
  513. elseif TYPE == "Ball" then
  514. local MSH = IT("SpecialMesh",PART)
  515. MSH.MeshType = "Sphere"
  516. elseif TYPE == "Wedge" then
  517. local MSH = IT("SpecialMesh",PART)
  518. MSH.MeshType = "Wedge"
  519. end
  520. end
  521.  
  522. Debris = game:GetService("Debris")
  523.  
  524. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  525. local DIRECTION = CF(StartPos,EndPos).lookVector
  526. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  527. end
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536. function RespondToImpact(Object,Rock)
  537. local BREAKABLEMATERIALS = {{Enum.Material.Glass,5,1571353313},{Enum.Material.Ice,2,151284431},{Enum.Material.Wood,1.3,131144461},{Enum.Material.WoodPlanks,1,131144461},{Enum.Material.Cobblestone,0.2,130972023}}
  538. for i = 1, #BREAKABLEMATERIALS do
  539. local MATERIAL = BREAKABLEMATERIALS[i]
  540. if Object.Material == MATERIAL[1] then
  541. local A = Rock.Size.Magnitude
  542. local B = Object.Size.Magnitude
  543. if B < A*MATERIAL[2] then
  544. WaveParticles(Object.Position,B*3,Object.Color)
  545. Object:remove()
  546. CreateSound(MATERIAL[3], Rock, 5, MRANDOM(8,12)/10, false)
  547. end
  548. end
  549. end
  550. end
  551.  
  552. function WaveParticles(Position,Size,Color)
  553. local BASE = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Shockwave", VT(0,0,0), true)
  554. BASE.CFrame = CF(Position)
  555. local A = IT("Attachment",BASE)
  556.  
  557. Debris:AddItem(BASE,0.5)
  558.  
  559. end
  560.  
  561. --//=================================\\
  562. --|| WEAPON CREATION
  563. --\\=================================//
  564.  
  565. local sick = Instance.new("Sound",Character)
  566.  
  567.  
  568.  
  569. for _, c in pairs(Character:GetChildren()) do
  570. if c:IsA("BasePart") then
  571. if c:FindFirstChildOfClass("ParticleEmitter") then
  572. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  573. end
  574. if c == Head then
  575. if c:FindFirstChild("face") then
  576. c.face:remove()
  577. end
  578. end
  579. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  580. c:remove()
  581. end
  582. end
  583. local BODY = {}
  584. for _, c in pairs(Character:GetDescendants()) do
  585. if c:IsA("BasePart") and c.Name ~= "Handle" then
  586. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  587. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  588. end
  589. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  590. elseif c:IsA("JointInstance") then
  591. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  592. end
  593. end
  594. for e = 1, #BODY do
  595. if BODY[e] ~= nil then
  596. local STUFF = BODY[e]
  597. local PART = STUFF[1]
  598. local PARENT = STUFF[2]
  599. local MATERIAL = STUFF[3]
  600. local COLOR = STUFF[4]
  601. local TRANSPARENCY = STUFF[5]
  602. if PART.ClassName == "Part" and PART ~= RootPart then
  603. PART.Material = MATERIAL
  604. PART.Color = COLOR
  605. PART.Transparency = TRANSPARENCY
  606. end
  607. PART.AncestryChanged:Connect(function()
  608. PART.Parent = PARENT
  609. end)
  610. end
  611. end
  612. function refit()
  613. Character.Parent = workspace
  614. for e = 1, #BODY do
  615. if BODY[e] ~= nil then
  616. local STUFF = BODY[e]
  617. local PART = STUFF[1]
  618. local PARENT = STUFF[2]
  619. local MATERIAL = STUFF[3]
  620. local COLOR = STUFF[4]
  621. local TRANSPARENCY = STUFF[5]
  622. if PART:IsA("BasePart") and PART ~= RootPart then
  623. PART.Material = MATERIAL
  624. PART.Color = COLOR
  625. PART.Transparency = TRANSPARENCY+EXTRATRANS
  626. end
  627. if PART.Parent ~= PARENT then
  628. Humanoid:remove()
  629. PART.Parent = PARENT
  630. Humanoid = IT("Humanoid",Character)
  631. end
  632. end
  633. end
  634. end
  635.  
  636. Humanoid.Died:connect(function()
  637. refit()
  638. end)
  639.  
  640. --//=================================\\
  641. --|| DAMAGING
  642. --\\=================================//
  643.  
  644. function ApplyDamage(Humanoid,Damage,TorsoPart)
  645. Damage = Damage * DAMAGEMULTIPLIER
  646. if Humanoid.Health ~= 0 then
  647. Humanoid.Health = Humanoid.Health - Damage
  648. end
  649. end
  650.  
  651. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,ROCK)
  652. local CHILDREN = workspace:GetDescendants()
  653. for index, CHILD in pairs(CHILDREN) do
  654. if CHILD.ClassName == "Model" and CHILD ~= Character then
  655. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  656. if HUM then
  657. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  658. if TORSO then
  659. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  660. if INSTAKILL == true or HUM.MaxHealth > 5000 then
  661. CHILD:BreakJoints()
  662. else
  663. local DMG = MRANDOM(MINDMG,MAXDMG)
  664. ApplyDamage(HUM,DMG,TORSO)
  665. end
  666. if FLING > 0 then
  667. for _, c in pairs(CHILD:GetChildren()) do
  668. if c:IsA("BasePart") then
  669. local bv = Instance.new("BodyVelocity",c)
  670. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  671. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  672. Debris:AddItem(bv,0.05)
  673. end
  674. end
  675. end
  676. end
  677. end
  678. end
  679. elseif CHILD:IsA("BasePart") and ROCK ~= nil then
  680. if (CHILD.Position - POSITION).Magnitude <= RANGE then
  681. RespondToImpact(CHILD,ROCK)
  682. end
  683. end
  684. end
  685. end
  686.  
  687. --//=================================\\
  688. --|| ATTACK FUNCTIONS AND STUFF
  689. --\\=================================//
  690.  
  691. function RockExplosion(Rock,Multiplier,Survive)
  692. local EXPLOSION = Rock.Core:FindFirstChildOfClass("ParticleEmitter")
  693. --- EXPLOSION.Color = ColorSequence.new(Rock.Color)
  694. local SIZE = (Rock.Size.Y*4)*Multiplier
  695. ---EXPLOSION.Enabled = false
  696. ---EXPLOSION.Speed = NumberRange.new(0,SIZE*5)
  697. ---EXPLOSION.Size = NumberSequence.new(SIZE/15,0)
  698. ---EXPLOSION:Emit(200,300)
  699. WaveParticles(Rock.Position,SIZE*2,Rock.Color)
  700. coroutine.resume(coroutine.create(function()
  701. Rock:BreakJoints()
  702. if Survive == nil then
  703. Rock.Transparency = 1
  704. Rock.CanCollide = false
  705. Rock.Anchored = true
  706. Debris:AddItem(Rock,5)
  707. end
  708. CreateSound(165970126, Rock, 2, MRANDOM(8,12)/10, false)
  709. ApplyAoE(Rock.Position,SIZE,25,30,35,false,Rock)
  710. local HITFLOOR,HITPOS = Raycast(Rock.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, Rock.Size.Y/2, Character)
  711. Swait()
  712. if HITFLOOR then
  713. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SIZE*7,3,SIZE*7), Transparency = 0.7, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = HITFLOOR.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  714. end
  715. for i = 1, 5 do
  716. WACKYEFFECT({Time = MRANDOM(15,55), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SIZE*5,0.2,SIZE*5), Transparency = 0.95, Transparency2 = 1, CFrame = CF(Rock.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Rock.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  717. end
  718. end))
  719. end
  720.  
  721. function Bullet()
  722. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  723. ATTACK = true
  724. Rooted = true
  725. local GYRO = IT("BodyGyro",RootPart)
  726. GYRO.D = 2
  727. GYRO.P = 2000
  728. GYRO.MaxTorque = VT(0,4000000,0)
  729. coroutine.resume(coroutine.create(function()
  730. repeat
  731. Swait()
  732. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  733. until ATTACK == false
  734. GYRO:Remove()
  735. end))
  736. local FLOOR = false
  737. if HITFLOOR then
  738. if HITFLOOR.Material ~= Enum.Material.Foil and HITFLOOR.Material ~= Enum.Material.Glass then
  739. FLOOR = true
  740. end
  741. end
  742. if FLOOR == true then
  743. for i=0, 0.5, 0.1 / Animation_Speed do
  744. Swait()
  745. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
  746. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  749. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(-30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  750. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  751. end
  752. for i=0, 0.25, 0.1 / Animation_Speed do
  753. Swait()
  754. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  755. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  756. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  757. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  758. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  759. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  760. end
  761. local ROCKPLACED = false
  762. local Rock = nil
  763. if HITFLOOR.Anchored == true then
  764. Rock = GetRock(HITFLOOR)
  765. --- Rock.Core.Emit.Enabled = true
  766. Rock.Size = VT(6,6,6)
  767. Rock.CFrame = CF(RootPart.CFrame*CF(0,-9,-6).p,Mouse.Hit.p)
  768. CreateSound(130972023, Rock, 2, MRANDOM(5,8)/10, false)
  769. coroutine.resume(coroutine.create(function()
  770. for i = 1, 30 do
  771. Swait()
  772. Rock.CFrame = Clerp(Rock.CFrame, CF(RootPart.CFrame*CF(0,1,-6).p,Mouse.Hit.p), 0.8 / Animation_Speed)
  773. end
  774. ROCKPLACED = true
  775. --- Rock.Core.Emit.Enabled = false
  776. end))
  777. else
  778. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  779. local TORSO = HITFLOOR.Parent:FindFirstChild("Torso") or HITFLOOR.Parent:FindFirstChild("UpperTorso")
  780. if TORSO then
  781. Rock = TORSO
  782. ROCK.Core:Clone().Parent = Rock
  783. else
  784. Rock = HITFLOOR
  785. ROCK.Core:Clone().Parent = Rock
  786. end
  787. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  788. local TORSO = HITFLOOR.Parent.Parent:FindFirstChild("Torso") or HITFLOOR.Parent.Parent:FindFirstChild("UpperTorso")
  789. if TORSO then
  790. Rock = TORSO
  791. ROCK.Core:Clone().Parent = Rock
  792. else
  793. Rock = HITFLOOR
  794. ROCK.Core:Clone().Parent = Rock
  795. end
  796. else
  797. Rock = HITFLOOR
  798. ROCK.Core:Clone().Parent = Rock
  799. end
  800. Rock.Anchored = true
  801. coroutine.resume(coroutine.create(function()
  802. for i = 1, 30 do
  803. Swait()
  804. Rock.CFrame = Clerp(Rock.CFrame, CF(RootPart.CFrame*CF(0,1,-6).p,Mouse.Hit.p), 0.8 / Animation_Speed)
  805. end
  806. ROCKPLACED = true
  807. end))
  808. end
  809. for i=0, 0.1, 0.1 / Animation_Speed do
  810. Swait()
  811. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  815. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  816. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  817. end
  818. repeat
  819. Swait()
  820. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  824. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  825. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  826. until ROCKPLACED == true
  827. for i=0, 0.1, 0.1 / Animation_Speed do
  828. Swait()
  829. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  830. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  831. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  832. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  833. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  834. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  835. end
  836. WaveParticles(Rock.Position,12,C3(1,1,1))
  837. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  838. coroutine.resume(coroutine.create(function()
  839. if Rock.Parent:FindFirstChildOfClass("Humanoid") == nil then
  840. for i = 1, 200 do
  841. Swait()
  842. Rock.CFrame = Rock.CFrame * CF(0,0,-1.2)
  843. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
  844. if HIT then
  845. RespondToImpact(HIT,Rock)
  846. break
  847. end
  848. end
  849. RockExplosion(Rock,1)
  850. else
  851. for i = 1, 60 do
  852. Swait()
  853. Rock.CFrame = Rock.CFrame * CF(0,0,-2)
  854. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, 3, Character)
  855. if HIT then
  856. RespondToImpact(HIT,Rock)
  857. break
  858. end
  859. end
  860. RockExplosion(Rock,2)
  861. end
  862. end))
  863. for i=0, 0.4, 0.1 / Animation_Speed do
  864. Swait()
  865. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  866. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  868. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  869. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  870. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  871. end
  872. else
  873. local GRAV = IT("BodyPosition",RootPart)
  874. GRAV.D = 250
  875. GRAV.P = 20000
  876. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  877. GRAV.Position = RootPart.Position
  878. local Rock = GetRock()
  879. Rock.Size = VT(0,0,0)
  880. Rock.CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
  881. CreateSound(201858045, Rock, 1, MRANDOM(10,12)/10, false)
  882. local DONEROCK = false
  883. coroutine.resume(coroutine.create(function()
  884. for i = 1, 15 do
  885. Swait()
  886. Rock.Size = Rock.Size + VT(0.1,0.1,0.1)
  887. Rock.Size = Rock.Size * 1.1
  888. Rock.CFrame = CF(RightLeg.CFrame*CF(0,-1-Rock.Size.Y/2,0).p,Mouse.Hit.p)
  889. end
  890. DONEROCK = true
  891. end))
  892. repeat
  893. Swait()
  894. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-65), RAD(0), RAD(0)), 1 / Animation_Speed)
  895. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  896. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  897. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  898. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(90), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  899. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  900. until DONEROCK == true
  901. local LOOP = 0
  902. for i=0, 0.2, 0.1 / Animation_Speed do
  903. Swait()
  904. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1 / Animation_Speed)
  905. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  906. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  907. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  908. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(130), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  909. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  910. end
  911. WaveParticles(Rock.Position,5,C3(1,1,1))
  912. CreateSound(621557962, RightLeg, 1, MRANDOM(10,12)/10, false)
  913. coroutine.resume(coroutine.create(function()
  914. for i = 1, 300 do
  915. Swait()
  916. Rock.CFrame = Rock.CFrame * CF(0,0,-1.6)
  917. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
  918. if HIT then
  919. RespondToImpact(HIT,Rock)
  920. break
  921. end
  922. end
  923. RockExplosion(Rock,1)
  924. end))
  925. for i=0, 0.3, 0.1 / Animation_Speed do
  926. Swait()
  927. LOOP = LOOP + 15*3
  928. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-65+(LOOP)), RAD(0), RAD(0)), 1 / Animation_Speed)
  929. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  930. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  931. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  932. 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)
  933. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  934. end
  935. GRAV:remove()
  936. end
  937. ATTACK = false
  938. Rooted = false
  939. end
  940.  
  941. function Melee()
  942. ATTACK = true
  943. Rooted = false
  944. Speed = 12
  945. repeat
  946. Swait()
  947. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  948. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(15)), 1 / Animation_Speed)
  949. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  950. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  951. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  952. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  953. until KEYHOLD == false
  954. Speed = 0
  955. local ROOT = nil
  956. local TORS = nil
  957. local HUMAN = nil
  958. local DIST = 4
  959. for i=0, 0.2, 0.1 / Animation_Speed do
  960. Swait()
  961. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  962. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
  963. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  964. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  965. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  966. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  967. end
  968. for i=0, 1, 0.1 / Animation_Speed do
  969. Swait()
  970. local CHILDREN = workspace:GetDescendants()
  971. for index, CHILD in pairs(CHILDREN) do
  972. if CHILD.ClassName == "Model" and CHILD ~= Character then
  973. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  974. if HUM then
  975. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  976. if TORSO and HUM.Health > 0 then
  977. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  978. DIST = (TORSO.Position - RightArm.Position).Magnitude
  979. ROOT = TORSO
  980. HUMAN = HUM
  981. TORS = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  982. end
  983. end
  984. end
  985. end
  986. end
  987. if ROOT then
  988. break
  989. end
  990. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  991. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
  992. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  993. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  994. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  995. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  996. end
  997. if ROOT then
  998. local POSITIONED = false
  999. coroutine.resume(coroutine.create(function()
  1000. ROOT.Anchored = true
  1001. local POS = RootPart.CFrame*CF(0,-3,-1) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(90), RAD(0), RAD(0))
  1002. for i = 1, 25 do
  1003. ROOT.Anchored = true
  1004. Swait()
  1005. ROOT.CFrame = Clerp(ROOT.CFrame, POS, 0.8 / Animation_Speed)
  1006. end
  1007. POSITIONED = true
  1008. repeat Swait() ROOT.Anchored = true until ATTACK == false
  1009. ROOT.Anchored = false
  1010. end))
  1011. repeat
  1012. Swait()
  1013. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1014. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1015. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1016. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1017. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1018. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1019. until POSITIONED == true
  1020. for i = 1, 3 do
  1021. for i=0, 0.5, 0.1 / Animation_Speed do
  1022. Swait()
  1023. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
  1024. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1025. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1026. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1027. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(50), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1028. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1029. end
  1030. for i=0, 0.15, 0.1 / Animation_Speed do
  1031. Swait()
  1032. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1033. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1034. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1035. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1036. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1037. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1038. end
  1039. --- local EMIT = script.Emit:Clone()
  1040. ---EMIT.Parent = TORS
  1041. ---EMIT.Size = NumberSequence.new(1,0)
  1042. ---EMIT:Emit(120)
  1043. ---Debris:AddItem(EMIT,5)
  1044. CreateSound(138186576, RightLeg, 1, MRANDOM(13,15)/10, false)
  1045. WaveParticles(TORS.Position,12,C3(1,1,1))
  1046. ApplyAoE(RightLeg.Position,8,25,35,0,false)
  1047. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(35,3,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORS.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1048. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,4,25), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORS.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1049. for i=0, 0.25, 0.1 / Animation_Speed do
  1050. Swait()
  1051. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1052. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1053. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1054. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1055. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1056. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1057. end
  1058. if HUMAN.Health == 0 then
  1059. break
  1060. end
  1061. for i=0, 0.2, 0.1 / Animation_Speed do
  1062. Swait()
  1063. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1064. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1065. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1066. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1067. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1068. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1069. end
  1070. end
  1071. end
  1072. Speed = 25
  1073. ATTACK = false
  1074. Rooted = false
  1075. end
  1076.  
  1077. function Launch()
  1078. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1079. if HITFLOOR then
  1080. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15,3,15), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 138186576, SoundPitch = 1, SoundVolume = 2})
  1081.  
  1082. coroutine.resume(coroutine.create(function()
  1083. for i = 1, 6 do
  1084. Swait()
  1085. --- P.CFrame = P.CFrame * CF(0,0.9,0)
  1086. end
  1087. wait(1)
  1088. for i = 1, 45 do
  1089. Swait()
  1090. --- P.Transparency =P.Transparency + 1/45
  1091. end
  1092. ---P:remove()
  1093. end))
  1094. RootPart.CFrame = RootPart.CFrame*CF(0,1,0)
  1095. RootPart.Velocity = VT(0,0,0)
  1096. local bv = Instance.new("BodyVelocity",RootPart)
  1097. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1098. bv.velocity = CF(RootPart.Position,RootPart.Position+VT(0,100,0)).lookVector*350
  1099. Debris:AddItem(bv,0.1)
  1100. end
  1101. end
  1102.  
  1103. function Ravage()
  1104. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1105. if HITFLOOR then
  1106. ATTACK = true
  1107. Rooted = false
  1108. for i=0, 0.3, 0.1 / Animation_Speed do
  1109. Swait()
  1110. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  1111. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1112. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1113. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1114. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1115. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1116. end
  1117. WaveParticles(RightArm.CFrame*CF(0,-1,0).p,4,C3(1,1,1))
  1118. Rooted = true
  1119. CreateSound(217767125, RightArm, 5, 1, false)
  1120. for i=0, 0.15, 0.1 / Animation_Speed do
  1121. Swait()
  1122. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  1123. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1124. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1125. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1126. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1127. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1128. end
  1129. local HOLD = true
  1130. coroutine.resume(coroutine.create(function()
  1131. repeat
  1132. Swait()
  1133. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1134. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
  1135. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.2) * ANGLES(RAD(145), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1136. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1137. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(100), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1138. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1139. until HOLD == false
  1140. end))
  1141. repeat
  1142. wait(0.3)
  1143. coroutine.resume(coroutine.create(function()
  1144. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1145. if HITFLOOR then
  1146. if HITFLOOR.Anchored == true then
  1147. local ROCK = GetRock(HITFLOOR)
  1148. CreateSound(130972023, ROCK, 2, MRANDOM(8,12)/10, false)
  1149. ROCK.Size = VT(4,4,4)*(MRANDOM(8,12)/10)
  1150. ROCK.Core.Emit.Enabled = true
  1151. ROCK.CFrame = CF(HITPOS+VT(0,-6,0)) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1152. local POS = ROCK.CFrame*CF(0,12,0)
  1153. for i = 1, 25 do
  1154. ROCK.Anchored = true
  1155. Swait()
  1156. ROCK.CFrame = Clerp(ROCK.CFrame, POS, 0.8 / Animation_Speed)
  1157. end
  1158. ROCK.Core.Emit.Enabled = false
  1159. wait(0.3)
  1160. RockExplosion(ROCK,1)
  1161. end
  1162. end
  1163. end))
  1164. until KEYHOLD == false
  1165. wait(0.5)
  1166. HOLD = false
  1167. ATTACK = false
  1168. Rooted = false
  1169. end
  1170. end
  1171.  
  1172. function Shield()
  1173. ATTACK = true
  1174. Rooted = false
  1175. local GYRO = IT("BodyGyro",RootPart)
  1176. GYRO.D = 2
  1177. GYRO.P = 2000
  1178. GYRO.MaxTorque = VT(40000000000,4000000,40000000000)
  1179. local GRAV = IT("BodyPosition",RootPart)
  1180. GRAV.D = 250
  1181. GRAV.P = 20000
  1182. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  1183. GRAV.Position = RootPart.Position
  1184. coroutine.resume(coroutine.create(function()
  1185. repeat
  1186. Swait()
  1187. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1188. until ATTACK == false
  1189. GYRO:Remove()
  1190. GRAV:Remove()
  1191. end))
  1192. for i=0, 0.3, 0.1 / Animation_Speed do
  1193. Swait()
  1194. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  1195. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1196. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1197. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1198. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1199. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1200. end
  1201. local Defence = GetShield()
  1202. Defence.Size = VT(0,2,0)
  1203. Defence.Parent = Effects
  1204. Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
  1205. WaveParticles(Defence.Position,12,Defence.Color)
  1206. CreateSound(201858045, Defence, 2, MRANDOM(10,12)/10, false)
  1207. local FIX = Defence.AncestryChanged:Connect(function()
  1208. Defence.Parent = Effects
  1209. end)
  1210. for i = 1, 40 do
  1211. Swait()
  1212. Defence.Size = Defence.Size + VT(0.5,0,0.7)
  1213. Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
  1214. end
  1215. repeat
  1216. Swait()
  1217. Defence.CFrame = RightArm.CFrame*CF(0,-6,0) * ANGLES(RAD(180), RAD(90), RAD(0))
  1218. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(80)), 1 / Animation_Speed)
  1219. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1220. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1221. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1222. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1223. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1224. until KEYHOLD == false
  1225. FIX:Disconnect()
  1226. coroutine.resume(coroutine.create(function()
  1227. for i = 1, 40 do
  1228. Swait()
  1229. Defence.Size = Defence.Size - VT(0.5,0,0.7)
  1230. end
  1231. WaveParticles(Defence.Position,12,Defence.Color)
  1232. Defence:remove()
  1233. end))
  1234. ATTACK = false
  1235. Rooted = false
  1236. end
  1237.  
  1238. function TwinMeteor()
  1239. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
  1240. if HITFLOOR == nil then
  1241. ATTACK = true
  1242. Rooted = false
  1243. local GYRO = IT("BodyGyro",RootPart)
  1244. GYRO.D = 2
  1245. GYRO.P = 2000
  1246. GYRO.MaxTorque = VT(40000000000,4000000,40000000000)
  1247. local GRAV = IT("BodyPosition",RootPart)
  1248. GRAV.D = 250
  1249. GRAV.P = 20000
  1250. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  1251. GRAV.Position = RootPart.Position
  1252. coroutine.resume(coroutine.create(function()
  1253. repeat
  1254. Swait()
  1255. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1256. until ATTACK == false
  1257. GYRO:Remove()
  1258. GRAV:Remove()
  1259. end))
  1260. local CHARGED = false
  1261. coroutine.resume(coroutine.create(function()
  1262. repeat
  1263. Swait()
  1264. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1265. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1266. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1267. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1268. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1269. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1270. until CHARGED == true
  1271. end))
  1272. local ROCK1 = GetRock()
  1273. local ROCK2 = GetRock()
  1274.  
  1275.  
  1276. --- ROCK1.Core.Emit.Enabled = true
  1277. ---ROCK2.Core.Emit.Enabled = true
  1278. ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
  1279. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1280. CreateSound(1664710821, ROCK1, 10, MRANDOM(8,12)/10, false)
  1281. CreateSound(1664710821, ROCK2, 10, MRANDOM(8,12)/10, false)
  1282. for i = 1, 70 do
  1283. Swait()
  1284. ROCK1.Size = ROCK1.Size + VT(0.3,0.3,0.3)
  1285. ROCK2.Size = ROCK2.Size + VT(0.3,0.3,0.3)
  1286. ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
  1287. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1288.  
  1289. end
  1290. CHARGED = true
  1291. for i=0, 1, 0.1 / Animation_Speed do
  1292. Swait()
  1293. ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
  1294. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1295. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1296. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1297. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1298. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1299. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1300. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1301. end
  1302. for i=0, 0.5, 0.1 / Animation_Speed do
  1303. Swait()
  1304. ROCK1.CFrame = CF(RightArm.CFrame*CF(0,-1-ROCK1.Size.Y/2,0).p,Mouse.Hit.p)
  1305. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1306. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1307. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1310. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1311. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1312. end
  1313. coroutine.resume(coroutine.create(function()
  1314. local Rock = ROCK1
  1315. WaveParticles(Rock.Position,30,C3(1,1,1))
  1316. CreateSound(134012322, Rock, 2, MRANDOM(10,12)/10, false)
  1317. for i = 1, 200 do
  1318. Swait()
  1319. Rock.CFrame = Rock.CFrame * CF(0,0,-3.2)
  1320. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
  1321. if HIT then
  1322. RespondToImpact(HIT,Rock)
  1323. break
  1324. end
  1325. end
  1326. ApplyAoE(Rock.Position,ROCK.Size.Y,50,55,55,false)
  1327. for i = 1, 6 do
  1328. RockExplosion(Rock,1.5,true)
  1329. wait(1)
  1330. end
  1331. RockExplosion(Rock,1.5)
  1332. end))
  1333. for i=0, 1, 0.1 / Animation_Speed do
  1334. Swait()
  1335. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1336. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  1337. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 1 / Animation_Speed)
  1338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1340. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1342. end
  1343. for i=0, 0.5, 0.1 / Animation_Speed do
  1344. Swait()
  1345. ROCK2.CFrame = CF(LeftArm.CFrame*CF(0,-1-ROCK2.Size.Y/2,0).p,Mouse.Hit.p)
  1346. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1347. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1348. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1349. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1350. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1351. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1352. end
  1353. coroutine.resume(coroutine.create(function()
  1354. local Rock = ROCK2
  1355. WaveParticles(Rock.Position,30,C3(1,1,1))
  1356. CreateSound(134012322, Rock, 2, MRANDOM(10,12)/10, false)
  1357. for i = 1, 200 do
  1358. Swait()
  1359. Rock.CFrame = Rock.CFrame * CF(0,0,-3.2)
  1360. local HIT = Raycast(Rock.Position, Rock.CFrame.lookVector, Rock.Size.X/2, Character)
  1361. if HIT then
  1362. RespondToImpact(HIT,Rock)
  1363. break
  1364. end
  1365. end
  1366. ApplyAoE(Rock.Position,ROCK.Size.Y,50,55,55,false)
  1367. for i = 1, 6 do
  1368. RockExplosion(Rock,1.5,true)
  1369. wait(1)
  1370. end
  1371. RockExplosion(Rock,1.5)
  1372. end))
  1373. for i=0, 1, 0.1 / Animation_Speed do
  1374. Swait()
  1375. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1376. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1377. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1378. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(55), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1379. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1380. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1381. end
  1382. ATTACK = false
  1383. Rooted = false
  1384. end
  1385. end
  1386.  
  1387. function Spikes()
  1388. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 12, Character)
  1389. if HITFLOOR then
  1390. ATTACK = true
  1391. Rooted = true
  1392. local GYRO = IT("BodyGyro",RootPart)
  1393. GYRO.D = 2
  1394. GYRO.P = 2000
  1395. GYRO.MaxTorque = VT(0,4000000,0)
  1396. coroutine.resume(coroutine.create(function()
  1397. repeat
  1398. Swait()
  1399. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1400. until ATTACK == false
  1401. GYRO:Remove()
  1402. end))
  1403. for i=0, 1, 0.1 / Animation_Speed do
  1404. Swait()
  1405. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
  1406. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1407. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1408. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1409. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.75) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1410. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1411. end
  1412. for i=0, 0.25, 0.1 / Animation_Speed do
  1413. Swait()
  1414. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1415. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1416. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1417. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1418. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9, -0.6) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1419. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, 0) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1420. end
  1421. CreateSound(165970126, RightLeg, 1, MRANDOM(13,15)/10, false)
  1422. WaveParticles(RightLeg.CFrame*CF(0,-1,0).p,15,C3(1,1,1))
  1423. coroutine.resume(coroutine.create(function()
  1424. local CFRAME = RootPart.CFrame*CF(0,-3,0)
  1425. for i = 1, 60 do
  1426. Swait()
  1427. local SPIKE = GetSpike(HITFLOOR)
  1428. SPIKE.CFrame = CFRAME*CF(0,-11,-i*2)
  1429. ApplyAoE(CFRAME*CF(0,0,-i*2).p,4,10,35,15,false)
  1430. coroutine.resume(coroutine.create(function()
  1431. local POS = SPIKE.CFrame*CF(0,11,0)
  1432. for i = 1, 25 do
  1433. Swait()
  1434. SPIKE.CFrame = Clerp(SPIKE.CFrame, POS, 0.8 / Animation_Speed)
  1435. end
  1436. wait(0.2)
  1437. for i = 1, 45 do
  1438. Swait()
  1439. SPIKE.Transparency = SPIKE.Transparency + 1/45
  1440. SPIKE.CFrame = SPIKE.CFrame * CF(0,-2/15,0)
  1441. end
  1442. SPIKE:remove()
  1443. end))
  1444. end
  1445. end))
  1446. wait(0.3)
  1447. ATTACK = false
  1448. Rooted = false
  1449. end
  1450. end
  1451.  
  1452. function TakeOnMe()
  1453. Speed = 5
  1454. local MEME = CreateSound(288703954, Effects, 2, 1, false)
  1455. ATTACK = true
  1456. Rooted = false
  1457. local DANCE = true
  1458. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1459. if NEWKEY == "p" then
  1460. DANCE = false
  1461. end
  1462. end)
  1463. PLAYSONG = false
  1464. while true do
  1465. for i = 1, 15 do
  1466. Swait()
  1467. MEME.Parent = Effects
  1468. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1469. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1470. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1471. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1472. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1473. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1474. end
  1475. if DANCE == false then
  1476. break
  1477. end
  1478. for i = 1, 15 do
  1479. Swait()
  1480. MEME.Parent = Effects
  1481. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1482. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1483. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1484. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1485. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1486. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1487. end
  1488. end
  1489. PLAYSONG = true
  1490. KEY:Disconnect()
  1491. MEME:remove()
  1492. Speed = 25
  1493. ATTACK = false
  1494. Rooted = false
  1495. end
  1496.  
  1497. function Noclip()
  1498. ATTACK = true
  1499. Rooted = true
  1500. UNANCHOR = false
  1501. RootPart.Anchored = true
  1502. local CLIPPING = true
  1503. local MOVEMENT = nil
  1504. CreateSound(96098241, Torso, 3, MRANDOM(9,12)/10, false)
  1505. for i = 1, 50 do
  1506. Swait()
  1507. EXTRATRANS = EXTRATRANS + 0.5/50
  1508. RootPart.CFrame = RootPart.CFrame * CF(0,(1-(i/50))/4.3,0)
  1509. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1510. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1511. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1512. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1513. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1514. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1515. end
  1516. local AURA = CreateSound(1393698948, Torso, 3, 1, true)
  1517. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1518. if NEWKEY == "w" then
  1519. MOVEMENT = "Forward"
  1520. repeat
  1521. Swait()
  1522. RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.2)
  1523. until KEYHOLD == false
  1524. elseif NEWKEY == "s" then
  1525. MOVEMENT = "Backwards"
  1526. repeat
  1527. Swait()
  1528. RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
  1529. until KEYHOLD == false
  1530. elseif NEWKEY == "a" then
  1531. MOVEMENT = "Strafe"
  1532. repeat
  1533. Swait()
  1534. RootPart.CFrame = RootPart.CFrame * CF(0.2,0,0)
  1535. until KEYHOLD == false
  1536. elseif NEWKEY == "d" then
  1537. MOVEMENT = "Strafe"
  1538. repeat
  1539. Swait()
  1540. RootPart.CFrame = RootPart.CFrame * CF(-0.2,0,0)
  1541. until KEYHOLD == false
  1542. elseif NEWKEY == "y" then
  1543. CLIPPING = false
  1544. end
  1545. MOVEMENT = nil
  1546. end)
  1547. local LOOP = 0
  1548. repeat
  1549. Swait()
  1550. AURA.Parent = Torso
  1551. LOOP = LOOP + 1
  1552. if LOOP >= 15 then
  1553. LOOP = 0
  1554. WaveParticles(Torso.Position,15,C3(1,1,1))
  1555. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.5,0).p), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1556. end
  1557. if MOVEMENT == nil then
  1558. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1559. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1562. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1563. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1564. elseif MOVEMENT == "Forward" then
  1565. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1566. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1568. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1569. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1570. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1571. elseif MOVEMENT == "Backwards" then
  1572. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1573. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1574. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1575. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1576. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1577. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1578. elseif MOVEMENT == "Strafe" then
  1579. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1580. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1581. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1582. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1583. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1584. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1585. end
  1586. until CLIPPING == false
  1587. KEY:Disconnect()
  1588. coroutine.resume(coroutine.create(function()
  1589. for i = 1, 20 do
  1590. Swait()
  1591. AURA.Volume = AURA.Volume - 3/20
  1592. end
  1593. AURA:remove()
  1594. end))
  1595. CreateSound(814168787, Torso, 1, MRANDOM(9,12)/10, false)
  1596. for i = 1, 50 do
  1597. Swait()
  1598. EXTRATRANS = EXTRATRANS - 0.5/50
  1599. RootPart.CFrame = RootPart.CFrame * CF(0,-(1-(i/50))/4.3,0)
  1600. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1601. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1602. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1603. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1604. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1605. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1606. end
  1607. EXTRATRANS = 0
  1608. UNANCHOR = true
  1609. ATTACK = false
  1610. Rooted = false
  1611. end
  1612.  
  1613. function Taunt()
  1614. ATTACK = true
  1615. Rooted = true
  1616. local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
  1617. repeat
  1618. Swait()
  1619. TAUNT.Parent = Torso
  1620. TAUNT.Playing = true
  1621. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1622. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1623. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1624. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1625. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1626. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1627. until TAUNT.TimePosition >= 1.25
  1628. for i=0, 1.6, 0.1 / Animation_Speed do
  1629. Swait()
  1630. TAUNT.Parent = Torso
  1631. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  1632. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1633. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1634. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1635. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1636. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1637. end
  1638. ATTACK = false
  1639. Rooted = false
  1640. end
  1641.  
  1642. --//=================================\\
  1643. --|| ASSIGN THINGS TO KEYS
  1644. --\\=================================//
  1645.  
  1646. function MouseDown(Mouse)
  1647. if ATTACK == false then
  1648. end
  1649. end
  1650.  
  1651. function MouseUp(Mouse)
  1652. HOLD = false
  1653. end
  1654.  
  1655. function KeyDown(Key)
  1656. KEYHOLD = true
  1657. if Key == "z" and ATTACK == false then
  1658. Bullet()
  1659. end
  1660.  
  1661. if Key == "b" and ATTACK == false then
  1662. Melee()
  1663. end
  1664.  
  1665. if Key == "c" and ATTACK == false then
  1666. Launch()
  1667. end
  1668.  
  1669. if Key == "v" and ATTACK == false then
  1670. Ravage()
  1671. end
  1672.  
  1673. if Key == "e" and ATTACK == false then
  1674. Shield()
  1675. end
  1676.  
  1677. if Key == "q" and ATTACK == false then
  1678. Spikes()
  1679. end
  1680.  
  1681. if Key == "x" and ATTACK == false then
  1682. TwinMeteor()
  1683. end
  1684.  
  1685. if Key == "y" and ATTACK == false then
  1686. Noclip()
  1687. end
  1688.  
  1689. if Key == "p" and ATTACK == false then
  1690. TakeOnMe()
  1691. end
  1692.  
  1693. if Key == "t" and ATTACK == false then
  1694. Taunt()
  1695. end
  1696.  
  1697. if Key == "]" and ATTACK == false then
  1698. if PLAYSONG == true then
  1699. PLAYSONG = false
  1700. else
  1701. PLAYSONG = true
  1702. end
  1703. end
  1704. end
  1705.  
  1706. function KeyUp(Key)
  1707. KEYHOLD = false
  1708. end
  1709.  
  1710. Mouse.Button1Down:connect(function(NEWKEY)
  1711. MouseDown(NEWKEY)
  1712. end)
  1713. Mouse.Button1Up:connect(function(NEWKEY)
  1714. MouseUp(NEWKEY)
  1715. end)
  1716. Mouse.KeyDown:connect(function(NEWKEY)
  1717. KeyDown(NEWKEY)
  1718. end)
  1719. Mouse.KeyUp:connect(function(NEWKEY)
  1720. KeyUp(NEWKEY)
  1721. end)
  1722.  
  1723. --//=================================\\
  1724. --\\=================================//
  1725.  
  1726. function AntiTimeStop()
  1727. for _, c in pairs(Character:GetChildren()) do
  1728. if c:IsA("BasePart") and c ~= RootPart then
  1729. c.Anchored = false
  1730. end
  1731. end
  1732. if UNANCHOR == true then
  1733. RootPart.Anchored = false
  1734. else
  1735. RootPart.Anchored = true
  1736. end
  1737. end
  1738.  
  1739. --//=================================\\
  1740. --|| WRAP THE WHOLE SCRIPT UP
  1741. --\\=================================//
  1742.  
  1743. Humanoid.Changed:connect(function(Jump)
  1744. if Jump == "Jump" and (Disable_Jump == true) then
  1745. Humanoid.Jump = false
  1746. end
  1747. end)
  1748.  
  1749. while true do
  1750. Swait()
  1751.  
  1752. script.Parent = WEAPONGUI
  1753. ANIMATE.Parent = nil
  1754. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1755. v:Stop();
  1756. end
  1757. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1758. Humanoid = IT("Humanoid",Character)
  1759. end
  1760. SINE = SINE + CHANGE
  1761. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1762. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1763. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1764. local WALKSPEEDVALUE = 4
  1765. Neck.C1 = Clerp(Neck.C1, CF(0, 0, 0.03) * ANGLES(RAD(90), RAD(180), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(180)) , 1 / Animation_Speed)
  1766. if ANIM == "Walk" and TORSOVELOCITY > 1 and PLAYSONG == true then
  1767. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1768. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
  1769. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1770. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(65 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1771. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or PLAYSONG == false then
  1772. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1773. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1774. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1775. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1776. end
  1777. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1778. ANIM = "Jump"
  1779. if ATTACK == false then
  1780. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1781. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1782. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1783. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1784. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1785. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1786. end
  1787. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1788. ANIM = "Fall"
  1789. if ATTACK == false then
  1790. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1791. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1792. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1793. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1794. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1795. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1796. end
  1797. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1798. ANIM = "Idle"
  1799. if ATTACK == false then
  1800. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1801. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1802. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1803. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1804. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1805. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1806. end
  1807. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1808. ANIM = "Walk"
  1809. if ATTACK == false then
  1810. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, -0.025, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1814. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1815. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1816. end
  1817. end
  1818. for _, c in pairs(Character:GetChildren()) do
  1819. if c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1820. c:remove()
  1821. end
  1822. end
  1823. AntiTimeStop()
  1824. Humanoid.MaxHealth = 10e10
  1825. Humanoid.Health = 10e10
  1826. if Rooted == false then
  1827. Disable_Jump = false
  1828. Humanoid.WalkSpeed = Speed
  1829. elseif Rooted == true then
  1830. Disable_Jump = true
  1831. Humanoid.WalkSpeed = 0
  1832. end
  1833.  
  1834. sick.SoundId = "rbxassetid://157460916"
  1835. sick.Looped = true
  1836. sick.Pitch = 1
  1837. sick.Volume = 2
  1838. sick.Parent = Effects
  1839. sick.Playing = PLAYSONG
  1840. Humanoid.PlatformStand = false
  1841. Humanoid.Name = "I am the god of earth"
  1842. refit()
  1843. if Character:FindFirstChild("Pants") == nil then
  1844. script.Pants:Clone().Parent = Character
  1845. end
  1846. if Character:FindFirstChild("Shirt") == nil then
  1847. script.Shirt:Clone().Parent = Character
  1848. end
  1849. for _, c in pairs(Character:GetChildren()) do
  1850. if c:IsA("BasePart") and ATTACK == false then
  1851. for _, e in pairs(c:GetChildren()) do
  1852. if e:IsA("ParticleEmitter") or e:IsA("BodyPosition") or e:IsA("BodyGyro") then
  1853. e:remove()
  1854. end
  1855. end
  1856. end
  1857. end
  1858. end
  1859.  
  1860. --//=================================\\
  1861. --\\=================================//
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867. --//====================================================\\--
  1868. --|| END OF SCRIPT
  1869. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement