Advertisement
Beeish

Ink Monster FE Might WORK

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