Zebula_The_Scripter

Untitled

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