Advertisement
yabagaba

Untitled

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