Flamingo123

Roblox script absylum origins

Dec 9th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.09 KB | None | 0 0
  1. wait(0.2)
  2. Player = game:GetService("Players").LocalPlayer
  3. PlayerGui = Player.PlayerGui
  4. Cam = workspace.CurrentCamera
  5. Backpack = Player.Backpack
  6. Character = Player.Character
  7. Humanoid = Character.Humanoid
  8. Mouse = Player:GetMouse()
  9. RootPart = Character.HumanoidRootPart
  10. Torso = Character.Torso
  11. Head = Character.Head
  12. RightArm = Character["Right Arm"]
  13. LeftArm = Character["Left Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LeftLeg = Character["Left Leg"]
  16. RootJoint = RootPart.RootJoint
  17. Neck = Torso.Neck
  18. RightShoulder = Torso["Right Shoulder"]
  19. LeftShoulder = Torso["Left Shoulder"]
  20. RightHip = Torso["Right Hip"]
  21. LeftHip = Torso["Left Hip"]
  22. local sick = Instance.new("Sound", Character)
  23. IT = Instance.new
  24. CF = CFrame.new
  25. VT = Vector3.new
  26. RAD = math.rad
  27. C3 = Color3.new
  28. UD2 = UDim2.new
  29. BRICKC = BrickColor.new
  30. ANGLES = CFrame.Angles
  31. EULER = CFrame.fromEulerAnglesXYZ
  32. COS = math.cos
  33. ACOS = math.acos
  34. SIN = math.sin
  35. ASIN = math.asin
  36. ABS = math.abs
  37. MRANDOM = math.random
  38. FLOOR = math.floor
  39. Animation_Speed = 3
  40. Frame_Speed = 0.016666666666666666
  41. local Speed = 22
  42. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  43. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  44. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  45. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  46. local DAMAGEMULTIPLIER = 1
  47. local ANIM = "Idle"
  48. local ATTACK = false
  49. local HOLE = false
  50. local HOLD = false
  51. local COMBO = 1
  52. local Rooted = false
  53. local SINE = 0
  54. local KEYHOLD = false
  55. local CHANGE = 2 / Animation_Speed
  56. local WALKINGANIM = false
  57. local VALUE1 = false
  58. local VALUE2 = false
  59. local ROBLOXIDLEANIMATION = IT("Animation")
  60. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  61. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  62. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  63. WEAPONGUI.Name = "Absylum GUI"
  64. local Effects = IT("Folder", Character)
  65. Effects.Name = "Effects"
  66. local ANIMATOR = Humanoid.Animator
  67. local ANIMATE = Character.Animate
  68. for _, v in next, Humanoid:GetPlayingAnimationTracks() do
  69. v:Stop()
  70. end
  71. ANIMATE:Destroy()
  72. local UNANCHOR = true
  73. local HITFLOOR, HITPOS
  74. local SIZE = 15
  75. wait(0.2)
  76. ArtificialHB = Instance.new("BindableEvent", script)
  77. ArtificialHB.Name = "ArtificialHB"
  78. script:WaitForChild("ArtificialHB")
  79. frame = Frame_Speed
  80. tf = 0
  81. allowframeloss = false
  82. tossremainder = false
  83. lastframe = tick()
  84. script.ArtificialHB:Fire()
  85. game:GetService("RunService").Heartbeat:connect(function(s, p)
  86. tf = tf + s
  87. if tf >= frame then
  88. if allowframeloss then
  89. script.ArtificialHB:Fire()
  90. lastframe = tick()
  91. else
  92. for i = 1, math.floor(tf / frame) do
  93. script.ArtificialHB:Fire()
  94. end
  95. lastframe = tick()
  96. end
  97. if tossremainder then
  98. tf = 0
  99. else
  100. tf = tf - frame * math.floor(tf / frame)
  101. end
  102. end
  103. end)
  104. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  105. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  106. end
  107. function PositiveAngle(NUMBER)
  108. if NUMBER >= 0 then
  109. NUMBER = 0
  110. end
  111. return NUMBER
  112. end
  113. function NegativeAngle(NUMBER)
  114. if NUMBER <= 0 then
  115. NUMBER = 0
  116. end
  117. return NUMBER
  118. end
  119. function Swait(NUMBER)
  120. if NUMBER == 0 or NUMBER == nil then
  121. ArtificialHB.Event:wait()
  122. else
  123. for i = 1, NUMBER do
  124. ArtificialHB.Event:wait()
  125. end
  126. end
  127. end
  128. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  129. local NEWMESH = IT(MESH)
  130. if MESH == "SpecialMesh" then
  131. NEWMESH.MeshType = MESHTYPE
  132. if MESHID ~= "nil" and MESHID ~= "" then
  133. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  134. end
  135. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  136. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  137. end
  138. end
  139. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  140. NEWMESH.Scale = SCALE
  141. NEWMESH.Parent = PARENT
  142. return NEWMESH
  143. end
  144. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  145. local NEWPART = IT("Part")
  146. NEWPART.formFactor = FORMFACTOR
  147. NEWPART.Reflectance = REFLECTANCE
  148. NEWPART.Transparency = TRANSPARENCY
  149. NEWPART.CanCollide = false
  150. NEWPART.Locked = true
  151. NEWPART.Anchored = true
  152. if ANCHOR == false then
  153. NEWPART.Anchored = false
  154. end
  155. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  156. NEWPART.Name = NAME
  157. NEWPART.Size = SIZE
  158. NEWPART.Position = Torso.Position
  159. NEWPART.Material = MATERIAL
  160. NEWPART:BreakJoints()
  161. NEWPART.Parent = PARENT
  162. return NEWPART
  163. end
  164. local weldBetween = function(a, b)
  165. local weldd = Instance.new("ManualWeld")
  166. weldd.Part0 = a
  167. weldd.Part1 = b
  168. weldd.C0 = CFrame.new()
  169. weldd.C1 = b.CFrame:inverse() * a.CFrame
  170. weldd.Parent = a
  171. return weldd
  172. end
  173. function QuaternionFromCFrame(cf)
  174. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  175. local trace = m00 + m11 + m22
  176. if trace > 0 then
  177. local s = math.sqrt(1 + trace)
  178. local recip = 0.5 / s
  179. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  180. else
  181. local i = 0
  182. if m00 < m11 then
  183. i = 1
  184. end
  185. if m22 > (i == 0 and m00 or m11) then
  186. i = 2
  187. end
  188. if i == 0 then
  189. local s = math.sqrt(m00 - m11 - m22 + 1)
  190. local recip = 0.5 / s
  191. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  192. elseif i == 1 then
  193. local s = math.sqrt(m11 - m22 - m00 + 1)
  194. local recip = 0.5 / s
  195. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  196. elseif i == 2 then
  197. local s = math.sqrt(m22 - m00 - m11 + 1)
  198. local recip = 0.5 / s
  199. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  200. end
  201. end
  202. end
  203. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  204. local xs, ys, zs = x + x, y + y, z + z
  205. local wx, wy, wz = w * xs, w * ys, w * zs
  206. local xx = x * xs
  207. local xy = x * ys
  208. local xz = x * zs
  209. local yy = y * ys
  210. local yz = y * zs
  211. local zz = z * zs
  212. 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))
  213. end
  214. function QuaternionSlerp(a, b, t)
  215. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  216. local startInterp, finishInterp
  217. if cosTheta >= 1.0E-4 then
  218. if 1 - cosTheta > 1.0E-4 then
  219. local theta = ACOS(cosTheta)
  220. local invSinTheta = 1 / SIN(theta)
  221. startInterp = SIN((1 - t) * theta) * invSinTheta
  222. finishInterp = SIN(t * theta) * invSinTheta
  223. else
  224. startInterp = 1 - t
  225. finishInterp = t
  226. end
  227. elseif 1 + cosTheta > 1.0E-4 then
  228. local theta = ACOS(-cosTheta)
  229. local invSinTheta = 1 / SIN(theta)
  230. startInterp = SIN((t - 1) * theta) * invSinTheta
  231. finishInterp = SIN(t * theta) * invSinTheta
  232. else
  233. startInterp = t - 1
  234. finishInterp = t
  235. end
  236. 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
  237. end
  238. function Clerp(a, b, t)
  239. local qa = {
  240. QuaternionFromCFrame(a)
  241. }
  242. local qb = {
  243. QuaternionFromCFrame(b)
  244. }
  245. local ax, ay, az = a.x, a.y, a.z
  246. local bx, by, bz = b.x, b.y, b.z
  247. local _t = 1 - t
  248. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  249. end
  250. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  251. local frame = IT("Frame")
  252. frame.BackgroundTransparency = TRANSPARENCY
  253. frame.BorderSizePixel = BORDERSIZEPIXEL
  254. frame.Position = POSITION
  255. frame.Size = SIZE
  256. frame.BackgroundColor3 = COLOR
  257. frame.BorderColor3 = BORDERCOLOR
  258. frame.Name = NAME
  259. frame.Parent = PARENT
  260. return frame
  261. end
  262. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  263. local label = IT("TextLabel")
  264. label.BackgroundTransparency = 1
  265. label.Size = UD2(1, 0, 1, 0)
  266. label.Position = UD2(0, 0, 0, 0)
  267. label.TextColor3 = TEXTCOLOR
  268. label.TextStrokeTransparency = STROKETRANSPARENCY
  269. label.TextTransparency = TRANSPARENCY
  270. label.FontSize = TEXTFONTSIZE
  271. label.Font = TEXTFONT
  272. label.BorderSizePixel = BORDERSIZEPIXEL
  273. label.TextScaled = false
  274. label.Text = TEXT
  275. label.Name = NAME
  276. label.Parent = PARENT
  277. return label
  278. end
  279. function NoOutlines(PART)
  280. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  281. end
  282. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  283. local NEWWELD = IT(TYPE)
  284. NEWWELD.Part0 = PART0
  285. NEWWELD.Part1 = PART1
  286. NEWWELD.C0 = C0
  287. NEWWELD.C1 = C1
  288. NEWWELD.Parent = PARENT
  289. return NEWWELD
  290. end
  291. local S = IT("Sound")
  292. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  293. local NEWSOUND
  294. coroutine.resume(coroutine.create(function()
  295. NEWSOUND = S:Clone()
  296. NEWSOUND.Parent = PARENT
  297. NEWSOUND.Volume = VOLUME
  298. NEWSOUND.Pitch = PITCH
  299. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  300. NEWSOUND:play()
  301. if DOESLOOP == true then
  302. NEWSOUND.Looped = true
  303. else
  304. repeat
  305. wait(1)
  306. until NEWSOUND.Playing == false
  307. NEWSOUND:remove()
  308. end
  309. end))
  310. return NEWSOUND
  311. end
  312. function CFrameFromTopBack(at, top, back)
  313. local right = top:Cross(back)
  314. 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)
  315. end
  316. function WACKYEFFECT(Table)
  317. local TYPE = Table.EffectType or "Sphere"
  318. local SIZE = Table.Size or VT(1, 1, 1)
  319. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  320. local TRANSPARENCY = Table.Transparency or 0
  321. local ENDTRANSPARENCY = Table.Transparency2 or 1
  322. local CFRAME = Table.CFrame or Torso.CFrame
  323. local MOVEDIRECTION = Table.MoveToPos or nil
  324. local ROTATION1 = Table.RotationX or 0
  325. local ROTATION2 = Table.RotationY or 0
  326. local ROTATION3 = Table.RotationZ or 0
  327. local MATERIAL = Table.Material or "Neon"
  328. local COLOR = Table.Color or C3(1, 1, 1)
  329. local TIME = Table.Time or 45
  330. local SOUNDID = Table.SoundID or nil
  331. local SOUNDPITCH = Table.SoundPitch or nil
  332. local SOUNDVOLUME = Table.SoundVolume or nil
  333. coroutine.resume(coroutine.create(function()
  334. local PLAYSSOUND = false
  335. local SOUND
  336. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  337. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  338. PLAYSSOUND = true
  339. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  340. end
  341. EFFECT.Color = COLOR
  342. local MSH
  343. if TYPE == "Sphere" then
  344. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  345. elseif TYPE == "Block" then
  346. MSH = IT("BlockMesh", EFFECT)
  347. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  348. elseif TYPE == "Wave" then
  349. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  350. elseif TYPE == "Ring" then
  351. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  352. elseif TYPE == "Slash" then
  353. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  354. elseif TYPE == "Round Slash" then
  355. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  356. elseif TYPE == "Swirl" then
  357. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  358. elseif TYPE == "Skull" then
  359. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  360. elseif TYPE == "Crystal" then
  361. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  362. end
  363. if MSH ~= nil then
  364. local MOVESPEED
  365. if MOVEDIRECTION ~= nil then
  366. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  367. end
  368. local GROWTH = SIZE - ENDSIZE
  369. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  370. if TYPE == "Block" then
  371. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  372. else
  373. EFFECT.CFrame = CFRAME
  374. end
  375. for LOOP = 1, TIME + 1 do
  376. Swait()
  377. MSH.Scale = MSH.Scale - GROWTH / TIME
  378. if TYPE == "Wave" then
  379. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  380. end
  381. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  382. if TYPE == "Block" then
  383. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  384. else
  385. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  386. end
  387. if MOVEDIRECTION ~= nil then
  388. local ORI = EFFECT.Orientation
  389. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  390. EFFECT.Orientation = ORI
  391. end
  392. end
  393. if PLAYSSOUND == false then
  394. EFFECT:remove()
  395. else
  396. repeat
  397. Swait()
  398. until SOUND.Playing == false
  399. EFFECT:remove()
  400. end
  401. elseif PLAYSSOUND == false then
  402. EFFECT:remove()
  403. else
  404. repeat
  405. Swait()
  406. until SOUND.Playing == false
  407. EFFECT:remove()
  408. end
  409. end))
  410. end
  411. function MakeForm(PART, TYPE)
  412. if TYPE == "Cyl" then
  413. local MSH = IT("CylinderMesh", PART)
  414. elseif TYPE == "Ball" then
  415. local MSH = IT("SpecialMesh", PART)
  416. MSH.MeshType = "Sphere"
  417. elseif TYPE == "Wedge" then
  418. local MSH = IT("SpecialMesh", PART)
  419. MSH.MeshType = "Wedge"
  420. end
  421. end
  422. Debris = game:GetService("Debris")
  423. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  424. local DIRECTION = CF(StartPos, EndPos).lookVector
  425. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  426. end
  427. function turnto(position)
  428. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  429. end
  430. local SKILLTEXTCOLOR = C3(0, 0, 0)
  431. local SKILLFONT = "SciFi"
  432. local SKILLTEXTSIZE = 7
  433. local FLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "Floor", VT(15, 0, 15), true)
  434. FLOOR.Color = C3(0, 0, 0)
  435. MakeForm(FLOOR, "Cyl")
  436. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.3, 0.2, 0.1), false)
  437. MakeForm(EYE, "Ball")
  438. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(0.2, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  439. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.3, 0.2, 0.1), false)
  440. MakeForm(EYE, "Ball")
  441. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(-0.2, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  442. function Soul(POS)
  443. coroutine.resume(coroutine.create(function()
  444. local SOULMODEL = IT("Model", Effects)
  445. SOULMODEL.Name = "Soul"
  446. local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Part", VT(0.5, 0.5, 0.5))
  447. SOUL.Color = C3(0, 0, 0)
  448. SOUL.CFrame = CF(POS)
  449. local A1 = IT("Attachment", SOUL)
  450. A1.Position = Vector3.new(0, 0.25, 0)
  451. local A2 = IT("Attachment", SOUL)
  452. A2.Position = Vector3.new(0, -0.25, 0)
  453. local Trail = IT("Trail", SOUL)
  454. Trail.LightEmission = 0
  455. Trail.FaceCamera = true
  456. Trail.Texture = "rbxassetid://945758042"
  457. Trail.Attachment0 = A1
  458. Trail.Attachment1 = A2
  459. Trail.Lifetime = 0.5
  460. Trail.MinLength = 0
  461. Trail.Transparency = NumberSequence.new(0)
  462. Trail.Color = ColorSequence.new(SOUL.Color)
  463. MakeForm(SOUL, "Ball")
  464. local DISTANCE
  465. local HUM = IT("Humanoid", SOULMODEL)
  466. repeat
  467. Swait()
  468. SOUL.CFrame = Clerp(SOUL.CFrame, Torso.CFrame, 0.03)
  469. DISTANCE = (SOUL.Position - Torso.Position).Magnitude
  470. until DISTANCE < 0.4
  471. SOUL.Transparency = 1
  472. A1.Parent = Torso
  473. A2.Parent = Torso
  474. Trail.Parent = Torso
  475. SOULMODEL:remove()
  476. for i = 1, 100 do
  477. Swait()
  478. Trail.Transparency = NumberSequence.new(i / 100)
  479. end
  480. A1:remove()
  481. A2:remove()
  482. Trail:remove()
  483. end))
  484. end
  485. Humanoid.Died:connect(function()
  486. ATTACK = true
  487. end)
  488. function Blob(POSITION, RANGE)
  489. for index, CHILD in pairs(workspace:GetChildren()) do
  490. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD:FindFirstChild("AbsylumDrag") == nil then
  491. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  492. if HUM then
  493. do
  494. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  495. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  496. do
  497. local HITFLOOR, HITPOS = Raycast(TORSO.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, TORSO.Size.Y * 3, CHILD)
  498. if HITFLOOR and HITFLOOR.Anchored == true then
  499. TORSO.Anchored = true
  500. CHILD.PrimaryPart = TORSO
  501. coroutine.resume(coroutine.create(function()
  502. local FLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "AbsylumFloor", VT(0, 0, 0), true)
  503. FLOOR.Color = C3(0, 0, 0)
  504. MakeForm(FLOOR, "Cyl")
  505. FLOOR.CFrame = CF(HITPOS)
  506. local E = IT("Folder", CHILD)
  507. E.Name = "AbsylumDrag"
  508. for i = 1, 35 do
  509. Swait()
  510. FLOOR.Size = FLOOR.Size + VT(0.2 * TORSO.Size.Z, 0, 0.2 * TORSO.Size.Z)
  511. end
  512. local SOUND = CreateSound(838038142, FLOOR, 0, MRANDOM(8, 12) / 10, false)
  513. repeat
  514. Swait()
  515. SOUND.Parent = FLOOR
  516. SOUND.Volume = SOUND.Volume + 0.08888888888888889
  517. CHILD:SetPrimaryPartCFrame(TORSO.CFrame * CF(0, -0.05, 0))
  518. until TORSO.Position.Y < FLOOR.Position.Y - 2.3 * TORSO.Size.Z
  519. for _, c in pairs(CHILD:GetChildren()) do
  520. if c.ClassName == "Accessory" or c.ClassName == "Tool" or c.ClassName == "Hat" then
  521. local H = c:FindFirstChild("Handle")
  522. if H then
  523. H.CanCollide = true
  524. H.Parent = workspace
  525. H.CFrame = TORSO.CFrame * CF(0, TORSO.Size.Y * 1.2, 0)
  526. Debris:AddItem(H, 5)
  527. end
  528. end
  529. end
  530. CHILD:Remove()
  531. local VOLUME = SOUND.Volume
  532. for i = 1, 35 do
  533. Swait()
  534. SOUND.Volume = SOUND.Volume - VOLUME / 35
  535. FLOOR.Size = FLOOR.Size - VT(0.2 * TORSO.Size.Z, 0, 0.2 * TORSO.Size.Z)
  536. end
  537. Soul(FLOOR.Position)
  538. SOUND:Stop()
  539. FLOOR:remove()
  540. end))
  541. end
  542. end
  543. end
  544. end
  545. end
  546. end
  547. end
  548. end
  549. function Wave()
  550. ATTACK = true
  551. Rooted = false
  552. for i = 0, 0.2, 0.1 / Animation_Speed do
  553. Swait()
  554. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  555. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  556. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(160), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  557. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  558. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  559. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  560. end
  561. HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  562. if HITFLOOR and HITFLOOR.Anchored == true then
  563. do
  564. local NEWFLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "Floor", VT(0, 0, 0), true)
  565. NEWFLOOR.Color = C3(0, 0, 0)
  566. MakeForm(NEWFLOOR, "Cyl")
  567. NEWFLOOR.CFrame = CF(HITPOS)
  568. CreateSound(1110489303, NEWFLOOR, 4, 1, false)
  569. coroutine.resume(coroutine.create(function()
  570. for i = 1, 25 do
  571. Swait()
  572. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  573. NEWFLOOR.Size = NEWFLOOR.Size + VT(0.6, 0, 0.6)
  574. end
  575. for i = 1, 450 do
  576. Swait()
  577. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  578. NEWFLOOR.Size = VT(15, 0, 15) + VT(0.1 * SIN(SINE / 12), 0, 0.1 * SIN(SINE / 12))
  579. end
  580. local SIZE = NEWFLOOR.Size.X
  581. for i = 1, 70 do
  582. Swait()
  583. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  584. NEWFLOOR.Size = NEWFLOOR.Size - VT(SIZE / 70, 0, SIZE / 70)
  585. end
  586. NEWFLOOR:remove()
  587. end))
  588. end
  589. end
  590. for i = 0, 0.3, 0.1 / Animation_Speed do
  591. Swait()
  592. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(65 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  593. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  594. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(45), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  595. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  596. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  597. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  598. end
  599. ATTACK = false
  600. Rooted = false
  601. end
  602. function Teleport()
  603. local POS = Mouse.Hit.p + VT(0, 4, 0)
  604. HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  605. if HITFLOOR and HITFLOOR.Anchored == true then
  606. ATTACK = true
  607. Rooted = true
  608. do
  609. local CLERPTO = CF(POS, VT(RootPart.Position.X, POS.Y, RootPart.Position.Z))
  610. UNANCHOR = false
  611. for i = 0, 0.3, 0.1 / Animation_Speed do
  612. Swait()
  613. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  614. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  615. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  616. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(25 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  617. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  618. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  619. end
  620. for i = 1, 70 do
  621. Swait()
  622. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(180), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), i / 70 / 2 / Animation_Speed)
  623. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  624. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 1, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, i / 70 / 2 / Animation_Speed)
  625. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 1, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, i / 70 / 2 / Animation_Speed)
  626. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), i / 70 / 2 / Animation_Speed)
  627. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), i / 70 / 2 / Animation_Speed)
  628. end
  629. for i = 0, 0.6, 0.1 / Animation_Speed do
  630. Swait()
  631. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -7) * ANGLES(RAD(180), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 0.5 / Animation_Speed)
  632. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  633. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 1, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  634. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 1, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  635. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  636. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  637. end
  638. CreateSound(1110489303, FLOOR, 7, 0.7, false)
  639. local NEWFLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "Floor", VT(15, 0, 15), true)
  640. NEWFLOOR.Color = C3(0, 0, 0)
  641. MakeForm(NEWFLOOR, "Cyl")
  642. NEWFLOOR.CFrame = FLOOR.CFrame
  643. coroutine.resume(coroutine.create(function()
  644. for i = 1, 450 do
  645. Swait()
  646. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  647. NEWFLOOR.Size = VT(15, 0, 15) + VT(0.1 * SIN(SINE / 12), 0, 0.1 * SIN(SINE / 12))
  648. end
  649. local SIZE = NEWFLOOR.Size.X
  650. for i = 1, 70 do
  651. Swait()
  652. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  653. NEWFLOOR.Size = NEWFLOOR.Size - VT(SIZE / 70, 0, SIZE / 70)
  654. end
  655. NEWFLOOR:remove()
  656. end))
  657. for _, c in pairs(Character:GetChildren()) do
  658. if c:IsA("BasePart") and c ~= RootPart then
  659. c.Transparency = 1
  660. end
  661. end
  662. for i = 1, 170 do
  663. Swait()
  664. RootPart.CFrame = Clerp(RootPart.CFrame, CLERPTO, 0.05)
  665. end
  666. for _, c in pairs(Character:GetChildren()) do
  667. if c:IsA("BasePart") and c ~= RootPart then
  668. c.Transparency = 0
  669. end
  670. end
  671. CreateSound(649634100, Head, 4, 0.8, false)
  672. for i = 0, 0.3, 0.1 / Animation_Speed do
  673. Swait()
  674. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  675. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  676. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  677. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  678. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-33 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  679. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-33 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  680. end
  681. for i = 0, 0.6, 0.1 / Animation_Speed do
  682. Swait()
  683. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  684. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  685. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  686. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  687. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  688. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  689. end
  690. UNANCHOR = true
  691. ATTACK = false
  692. Rooted = false
  693. end
  694. end
  695. end
  696. function Open()
  697. ATTACK = true
  698. Rooted = true
  699. HOLE = true
  700. CreateSound(649634100, Head, 4, 0.8, false)
  701. for i = 0, 1, 0.1 / Animation_Speed do
  702. Swait()
  703. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -2) * ANGLES(RAD(65 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(35 + 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  704. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  705. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  706. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  707. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  708. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  709. end
  710. coroutine.resume(coroutine.create(function()
  711. for i = 1, 280 do
  712. Swait()
  713. SIZE = SIZE + 0.5
  714. WACKYEFFECT({
  715. Time = 15,
  716. EffectType = "Wave",
  717. Size = FLOOR.Size / 2,
  718. Size2 = FLOOR.Size * 1.02,
  719. Transparency = 0.8,
  720. Transparency2 = 1,
  721. CFrame = CF(FLOOR.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  722. MoveToPos = nil,
  723. RotationX = 0,
  724. RotationY = 2,
  725. RotationZ = 0,
  726. Material = "Neon",
  727. Color = C3(0, 0, 0),
  728. SoundID = nil,
  729. SoundPitch = nil,
  730. SoundVolume = nil
  731. })
  732. end
  733. wait(10)
  734. for i = 1, 560 do
  735. Swait()
  736. SIZE = SIZE - 0.25
  737. end
  738. HOLE = false
  739. end))
  740. for i = 0, 0.2, 0.1 / Animation_Speed do
  741. Swait()
  742. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -2) * ANGLES(RAD(65 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(35 + 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  746. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  747. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  748. end
  749. ATTACK = false
  750. Rooted = false
  751. end
  752. function Laugh()
  753. ATTACK = true
  754. Rooted = false
  755. CreateSound(649634100, Head, 4, 0.8, false)
  756. for i = 0, 1, 0.1 / Animation_Speed do
  757. Swait()
  758. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  759. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  760. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(180), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(-35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  761. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  762. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  763. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  764. end
  765. ATTACK = false
  766. Rooted = false
  767. end
  768. function MouseDown(Mouse)
  769. if ATTACK == false then
  770. end
  771. end
  772. function MouseUp(Mouse)
  773. HOLD = false
  774. end
  775. function KeyDown(Key)
  776. KEYHOLD = true
  777. if Key == "z" and ATTACK == false then
  778. Wave()
  779. end
  780. if Key == "b" and ATTACK == false and HOLE == false then
  781. Teleport()
  782. end
  783. if Key == "c" and ATTACK == false and HOLE == false then
  784. Open()
  785. end
  786. if Key == "t" and ATTACK == false then
  787. Laugh()
  788. end
  789. end
  790. function KeyUp(Key)
  791. KEYHOLD = false
  792. end
  793. Mouse.Button1Down:connect(function(NEWKEY)
  794. MouseDown(NEWKEY)
  795. end)
  796. Mouse.Button1Up:connect(function(NEWKEY)
  797. MouseUp(NEWKEY)
  798. end)
  799. Mouse.KeyDown:connect(function(NEWKEY)
  800. KeyDown(NEWKEY)
  801. end)
  802. Mouse.KeyUp:connect(function(NEWKEY)
  803. KeyUp(NEWKEY)
  804. end)
  805. function unanchor()
  806. for _, c in pairs(Character:GetChildren()) do
  807. if c:IsA("BasePart") and c ~= RootPart then
  808. c.Anchored = false
  809. end
  810. end
  811. if UNANCHOR == true then
  812. RootPart.Anchored = false
  813. else
  814. RootPart.Anchored = true
  815. end
  816. end
  817. Humanoid.Changed:connect(function(Jump)
  818. if Jump == "Jump" and Disable_Jump == true then
  819. Humanoid.Jump = false
  820. end
  821. end)
  822. while true do
  823. Swait()
  824. Humanoid.HipHeight = 1
  825. script.Parent = WEAPONGUI
  826. SINE = SINE + CHANGE * 1.2
  827. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  828. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  829. HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  830. if HITFLOOR then
  831. HITFLOOR2, HITPOS2 = Raycast(FLOOR.Position + VT(0, 0.2, 0), CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2, Character)
  832. if HITFLOOR2 then
  833. FLOOR.Transparency = 0
  834. else
  835. FLOOR.Transparency = 1
  836. end
  837. FLOOR.CFrame = Clerp(FLOOR.CFrame, CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.1)
  838. Blob(FLOOR.Position, FLOOR.Size.X / 2)
  839. end
  840. if ATTACK == false then
  841. if TORSOVELOCITY < 1 then
  842. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(35), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(35), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  846. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  847. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  848. elseif TORSOVELOCITY > 1 then
  849. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  850. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  853. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  854. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  855. end
  856. end
  857. unanchor()
  858. Humanoid.Name = "Absylum"
  859. Humanoid.MaxHealth = 700000000
  860. Humanoid.Health = 700000000
  861. if Rooted == false then
  862. Disable_Jump = false
  863. Humanoid.WalkSpeed = Speed
  864. elseif Rooted == true then
  865. Disable_Jump = true
  866. Humanoid.WalkSpeed = 0
  867. end
  868. FLOOR.Size = VT(SIZE, 0, SIZE) + VT(0.1 * SIN(SINE / 12), 0, 0.1 * SIN(SINE / 12))
  869. sick.SoundId = "rbxassetid://601069330"
  870. sick.Looped = true
  871. sick.Pitch = 1
  872. sick.Volume = 1
  873. sick.Playing = true
  874. sick.Parent = Character
  875. for _, c in pairs(Character:GetChildren()) do
  876. if c.ClassName == "Part" and c.Name ~= "Eye" then
  877. c.Material = "Neon"
  878. if c:FindFirstChildOfClass("ParticleEmitter") then
  879. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  880. end
  881. c.Color = C3(0, 0, 0)
  882. if c == Head then
  883. if c:FindFirstChildOfClass("SpecialMesh") then
  884. c:ClearAllChildren()
  885. local MSH = IT("BlockMesh", c)
  886. MSH.Scale = VT(0.5, 1, 1)
  887. end
  888. if c:FindFirstChild("face") then
  889. c.face:remove()
  890. end
  891. end
  892. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  893. c:remove()
  894. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  895. c:remove()
  896. end
  897. end
  898. end
Add Comment
Please, Sign In to add comment