zombieslayerwtf

Terra God [Leaked BOI]

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