Advertisement
Dragonboy1221

a thing

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