PiterMosskva_TV

hotttttt

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