Advertisement
CerealK

Untitled

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