noobington

terragod

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