Advertisement
VorLex

NOOB LORD

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