Advertisement
Cute_Sylveon

kys terra

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