Advertisement
wamandnj

Untitled

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