Advertisement
bmrx13

terra god (B R O K E)

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