Advertisement
ZaGodlyNoob

Terragod (FE)

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