MrSlakyx

Terra god edit

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