Advertisement
Scriptorz5

absylum

May 15th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.99 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Abyslumv2? Or Abyslum Remade????? ]]--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5. --Credit to shackluster for the original script.
  6.  
  7. --Discord Creterisk#2958
  8.  
  9. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  10. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  11. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  12. --YOU FUCKING SKIDS,
  13. --For Those who log/decompile this, If you sell or trade this,
  14. --and I find out who you are, i will take massive action.
  15.  
  16. -------------------------------------------------------
  17.  
  18. local FavIDs = {
  19. 340106355, --Nefl Crystals
  20. 927529620, --Dimension
  21. 876981900, --Fantasy
  22. 398987889, --Ordinary Days
  23. 1117396305, --Oh wait, it's you.
  24. 885996042, --Action Winter Journey
  25. 919231299, --Sprawling Idiot Effigy
  26. 743466274, --Good Day Sunshine
  27. 727411183, --Knife Fight
  28. 1402748531, --The Earth Is Counting On You!
  29. 595230126 --Robot Language
  30. }
  31.  
  32.  
  33.  
  34. --The reality of my life isn't real but a Universe -makhail07
  35. wait(0.2)
  36. local plr = game:service'Players'.LocalPlayer
  37. print('Local User is '..plr.Name)
  38. print('Abyslum Loaded')
  39. print('The Abyss Will Come...')
  40. local char = plr.Character
  41. local hum = char.Humanoid
  42. local hed = char.Head
  43. local root = char.HumanoidRootPart
  44. local rootj = root.RootJoint
  45. local tors = char.Torso
  46. local ra = char["Right Arm"]
  47. local la = char["Left Arm"]
  48. local rl = char["Right Leg"]
  49. local ll = char["Left Leg"]
  50. local neck = tors["Neck"]
  51. local mouse = plr:GetMouse()
  52. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  53. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  54. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  55. local maincolor = BrickColor.new("Institutional white")
  56. hum.DisplayDistanceType = "None"
  57.  
  58. -------------------------------------------------------
  59. --Start Good Stuff--
  60. -------------------------------------------------------
  61. cam = game.Workspace.CurrentCamera
  62. CF = CFrame.new
  63. angles = CFrame.Angles
  64. attack = false
  65. Euler = CFrame.fromEulerAnglesXYZ
  66. Rad = math.rad
  67. IT = Instance.new
  68. BrickC = BrickColor.new
  69. Cos = math.cos
  70. Acos = math.acos
  71. Sin = math.sin
  72. Asin = math.asin
  73. Abs = math.abs
  74. Mrandom = math.random
  75. Floor = math.floor
  76. -------------------------------------------------------
  77. --End Good Stuff--
  78. -------------------------------------------------------
  79. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  80. RSH, LSH = nil, nil
  81. RW = Instance.new("Weld")
  82. LW = Instance.new("Weld")
  83. RH = tors["Right Hip"]
  84. LH = tors["Left Hip"]
  85. RSH = tors["Right Shoulder"]
  86. LSH = tors["Left Shoulder"]
  87. RSH.Parent = nil
  88. LSH.Parent = nil
  89. RW.Name = "RW"
  90. RW.Part0 = tors
  91. RW.C0 = CF(1.5, 0.5, 0)
  92. RW.C1 = CF(0, 0.5, 0)
  93. RW.Part1 = ra
  94. RW.Parent = tors
  95. LW.Name = "LW"
  96. LW.Part0 = tors
  97. LW.C0 = CF(-1.5, 0.5, 0)
  98. LW.C1 = CF(0, 0.5, 0)
  99. LW.Part1 = la
  100. LW.Parent = tors
  101. Effects = {}
  102. -------------------------------------------------------
  103. --Start HeartBeat--
  104. -------------------------------------------------------
  105. ArtificialHB = Instance.new("BindableEvent", script)
  106. ArtificialHB.Name = "Heartbeat"
  107. script:WaitForChild("Heartbeat")
  108.  
  109. frame = 1 / 60
  110. tf = 0
  111. allowframeloss = false
  112. tossremainder = false
  113.  
  114.  
  115. lastframe = tick()
  116. script.Heartbeat:Fire()
  117.  
  118.  
  119. game:GetService("RunService").Heartbeat:connect(function(s, p)
  120. tf = tf + s
  121. if tf >= frame then
  122. if allowframeloss then
  123. script.Heartbeat:Fire()
  124. lastframe = tick()
  125. else
  126. for i = 1, math.floor(tf / frame) do
  127. script.Heartbeat:Fire()
  128. end
  129. lastframe = tick()
  130. end
  131. if tossremainder then
  132. tf = 0
  133. else
  134. tf = tf - frame * math.floor(tf / frame)
  135. end
  136. end
  137. end)
  138. -------------------------------------------------------
  139. --End HeartBeat--
  140. -------------------------------------------------------
  141.  
  142. -------------------------------------------------------
  143. --Start Important Functions--
  144. -------------------------------------------------------
  145. function swait(num)
  146. if num == 0 or num == nil then
  147. game:service("RunService").Stepped:wait(0)
  148. else
  149. for i = 0, num do
  150. game:service("RunService").Stepped:wait(0)
  151. end
  152. end
  153. end
  154. function thread(f)
  155. coroutine.resume(coroutine.create(f))
  156. end
  157. function clerp(a, b, t)
  158. local qa = {
  159. QuaternionFromCFrame(a)
  160. }
  161. local qb = {
  162. QuaternionFromCFrame(b)
  163. }
  164. local ax, ay, az = a.x, a.y, a.z
  165. local bx, by, bz = b.x, b.y, b.z
  166. local _t = 1 - t
  167. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  168. end
  169. function QuaternionFromCFrame(cf)
  170. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  171. local trace = m00 + m11 + m22
  172. if trace > 0 then
  173. local s = math.sqrt(1 + trace)
  174. local recip = 0.5 / s
  175. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  176. else
  177. local i = 0
  178. if m00 < m11 then
  179. i = 1
  180. end
  181. if m22 > (i == 0 and m00 or m11) then
  182. i = 2
  183. end
  184. if i == 0 then
  185. local s = math.sqrt(m00 - m11 - m22 + 1)
  186. local recip = 0.5 / s
  187. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  188. elseif i == 1 then
  189. local s = math.sqrt(m11 - m22 - m00 + 1)
  190. local recip = 0.5 / s
  191. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  192. elseif i == 2 then
  193. local s = math.sqrt(m22 - m00 - m11 + 1)
  194. local recip = 0.5 / s
  195. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  196. end
  197. end
  198. end
  199. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  200. local xs, ys, zs = x + x, y + y, z + z
  201. local wx, wy, wz = w * xs, w * ys, w * zs
  202. local xx = x * xs
  203. local xy = x * ys
  204. local xz = x * zs
  205. local yy = y * ys
  206. local yz = y * zs
  207. local zz = z * zs
  208. 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))
  209. end
  210. function QuaternionSlerp(a, b, t)
  211. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  212. local startInterp, finishInterp
  213. if cosTheta >= 1.0E-4 then
  214. if 1 - cosTheta > 1.0E-4 then
  215. local theta = math.acos(cosTheta)
  216. local invSinTheta = 1 / Sin(theta)
  217. startInterp = Sin((1 - t) * theta) * invSinTheta
  218. finishInterp = Sin(t * theta) * invSinTheta
  219. else
  220. startInterp = 1 - t
  221. finishInterp = t
  222. end
  223. elseif 1 + cosTheta > 1.0E-4 then
  224. local theta = math.acos(-cosTheta)
  225. local invSinTheta = 1 / Sin(theta)
  226. startInterp = Sin((t - 1) * theta) * invSinTheta
  227. finishInterp = Sin(t * theta) * invSinTheta
  228. else
  229. startInterp = t - 1
  230. finishInterp = t
  231. end
  232. 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
  233. end
  234. function rayCast(Position, Direction, Range, Ignore)
  235. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  236. end
  237. local RbxUtility = LoadLibrary("RbxUtility")
  238. local Create = RbxUtility.Create
  239.  
  240. -------------------------------------------------------
  241. --Start Damage Function--
  242. -------------------------------------------------------
  243. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  244. if hit.Parent == nil then
  245. return
  246. end
  247. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  248. for _, v in pairs(hit.Parent:children()) do
  249. if v:IsA("Humanoid") then
  250. h = v
  251. end
  252. end
  253. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  254.  
  255. hit.Parent:FindFirstChild("Head"):BreakJoints()
  256. end
  257.  
  258. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  259. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  260. if hit.Parent.DebounceHit.Value == true then
  261. return
  262. end
  263. end
  264. if insta == true then
  265. hit.Parent:FindFirstChild("Head"):BreakJoints()
  266. end
  267. local c = Create("ObjectValue"){
  268. Name = "creator",
  269. Value = game:service("Players").LocalPlayer,
  270. Parent = h,
  271. }
  272. game:GetService("Debris"):AddItem(c, .5)
  273. if HitSound ~= nil and HitPitch ~= nil then
  274. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  275. end
  276. local Damage = math.random(minim, maxim)
  277. local blocked = false
  278. local block = hit.Parent:findFirstChild("Block")
  279. if block ~= nil then
  280. if block.className == "IntValue" then
  281. if block.Value > 0 then
  282. blocked = true
  283. block.Value = block.Value - 1
  284. print(block.Value)
  285. end
  286. end
  287. end
  288. if blocked == false then
  289. h.Health = h.Health - Damage
  290. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  291. else
  292. h.Health = h.Health - (Damage / 2)
  293. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  294. end
  295. if Type == "Knockdown" then
  296. local hum = hit.Parent.Humanoid
  297. hum.PlatformStand = true
  298. coroutine.resume(coroutine.create(function(HHumanoid)
  299. swait(1)
  300. HHumanoid.PlatformStand = false
  301. end), hum)
  302. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  303. local bodvol = Create("BodyVelocity"){
  304. velocity = angle * knockback,
  305. P = 5000,
  306. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  307. Parent = hit,
  308. }
  309. local rl = Create("BodyAngularVelocity"){
  310. P = 3000,
  311. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  312. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  313. Parent = hit,
  314. }
  315. game:GetService("Debris"):AddItem(bodvol, .5)
  316. game:GetService("Debris"):AddItem(rl, .5)
  317. elseif Type == "Normal" then
  318. local vp = Create("BodyVelocity"){
  319. P = 500,
  320. maxForce = Vector3.new(math.huge, 0, math.huge),
  321. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  322. }
  323. if knockback > 0 then
  324. vp.Parent = hit.Parent.Torso
  325. end
  326. game:GetService("Debris"):AddItem(vp, .5)
  327. elseif Type == "Up" then
  328. local bodyVelocity = Create("BodyVelocity"){
  329. velocity = Vector3.new(0, 20, 0),
  330. P = 5000,
  331. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  332. Parent = hit,
  333. }
  334. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  335. elseif Type == "DarkUp" then
  336. coroutine.resume(coroutine.create(function()
  337. for i = 0, 1, 0.1 do
  338. swait()
  339. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  340. end
  341. end))
  342. local bodyVelocity = Create("BodyVelocity"){
  343. velocity = Vector3.new(0, 20, 0),
  344. P = 5000,
  345. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  346. Parent = hit,
  347. }
  348. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  349. elseif Type == "Snare" then
  350. local bp = Create("BodyPosition"){
  351. P = 2000,
  352. D = 100,
  353. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  354. position = hit.Parent.Torso.Position,
  355. Parent = hit.Parent.Torso,
  356. }
  357. game:GetService("Debris"):AddItem(bp, 1)
  358. elseif Type == "Freeze" then
  359. local BodPos = Create("BodyPosition"){
  360. P = 50000,
  361. D = 1000,
  362. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  363. position = hit.Parent.Torso.Position,
  364. Parent = hit.Parent.Torso,
  365. }
  366. local BodGy = Create("BodyGyro") {
  367. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  368. P = 20e+003,
  369. Parent = hit.Parent.Torso,
  370. cframe = hit.Parent.Torso.CFrame,
  371. }
  372. hit.Parent.Torso.Anchored = true
  373. coroutine.resume(coroutine.create(function(Part)
  374. swait(1.5)
  375. Part.Anchored = false
  376. end), hit.Parent.Torso)
  377. game:GetService("Debris"):AddItem(BodPos, 3)
  378. game:GetService("Debris"):AddItem(BodGy, 3)
  379. end
  380. local debounce = Create("BoolValue"){
  381. Name = "DebounceHit",
  382. Parent = hit.Parent,
  383. Value = true,
  384. }
  385. game:GetService("Debris"):AddItem(debounce, Delay)
  386. c = Create("ObjectValue"){
  387. Name = "creator",
  388. Value = Player,
  389. Parent = h,
  390. }
  391. game:GetService("Debris"):AddItem(c, .5)
  392. end
  393. end
  394. -------------------------------------------------------
  395. --End Damage Function--
  396. -------------------------------------------------------
  397.  
  398. -------------------------------------------------------
  399. --Start Damage Function Customization--
  400. -------------------------------------------------------
  401. function ShowDamage(Pos, Text, Time, Color)
  402. local Rate = (1 / 30)
  403. local Pos = (Pos or Vector3.new(0, 0, 0))
  404. local Text = (Text or "")
  405. local Time = (Time or 2)
  406. local Color = (Color or Color3.new(1, 0, 1))
  407. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  408. EffectPart.Anchored = true
  409. local BillboardGui = Create("BillboardGui"){
  410. Size = UDim2.new(3, 0, 3, 0),
  411. Adornee = EffectPart,
  412. Parent = EffectPart,
  413. }
  414. local TextLabel = Create("TextLabel"){
  415. BackgroundTransparency = 1,
  416. Size = UDim2.new(1, 0, 1, 0),
  417. Text = Text,
  418. Font = "Bodoni",
  419. TextColor3 = Color,
  420. TextScaled = true,
  421. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  422. Parent = BillboardGui,
  423. }
  424. game.Debris:AddItem(EffectPart, (Time))
  425. EffectPart.Parent = game:GetService("Workspace")
  426. delay(0, function()
  427. local Frames = (Time / Rate)
  428. for Frame = 1, Frames do
  429. wait(Rate)
  430. local Percent = (Frame / Frames)
  431. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  432. TextLabel.TextTransparency = Percent
  433. end
  434. if EffectPart and EffectPart.Parent then
  435. EffectPart:Destroy()
  436. end
  437. end)
  438. end
  439. -------------------------------------------------------
  440. --End Damage Function Customization--
  441. -------------------------------------------------------
  442.  
  443. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  444. for _, c in pairs(workspace:children()) do
  445. local hum = c:findFirstChild("Humanoid")
  446. if hum ~= nil then
  447. local head = c:findFirstChild("Head")
  448. if head ~= nil then
  449. local targ = head.Position - Part.Position
  450. local mag = targ.magnitude
  451. if magni >= mag and c.Name ~= plr.Name then
  452. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  453. end
  454. end
  455. end
  456. end
  457. end
  458.  
  459.  
  460. CFuncs = {
  461. Part = {
  462. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  463. local Part = Create("Part")({
  464. Parent = Parent,
  465. Reflectance = Reflectance,
  466. Transparency = Transparency,
  467. CanCollide = false,
  468. Locked = true,
  469. BrickColor = BrickColor.new(tostring(BColor)),
  470. Name = Name,
  471. Size = Size,
  472. Material = Material
  473. })
  474. RemoveOutlines(Part)
  475. return Part
  476. end
  477. },
  478. Mesh = {
  479. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  480. local Msh = Create(Mesh)({
  481. Parent = Part,
  482. Offset = OffSet,
  483. Scale = Scale
  484. })
  485. if Mesh == "SpecialMesh" then
  486. Msh.MeshType = MeshType
  487. Msh.MeshId = MeshId
  488. end
  489. return Msh
  490. end
  491. },
  492. Mesh = {
  493. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  494. local Msh = Create(Mesh)({
  495. Parent = Part,
  496. Offset = OffSet,
  497. Scale = Scale
  498. })
  499. if Mesh == "SpecialMesh" then
  500. Msh.MeshType = MeshType
  501. Msh.MeshId = MeshId
  502. end
  503. return Msh
  504. end
  505. },
  506. Weld = {
  507. Create = function(Parent, Part0, Part1, C0, C1)
  508. local Weld = Create("Weld")({
  509. Parent = Parent,
  510. Part0 = Part0,
  511. Part1 = Part1,
  512. C0 = C0,
  513. C1 = C1
  514. })
  515. return Weld
  516. end
  517. },
  518. Sound = {
  519. Create = function(id, par, vol, pit)
  520. coroutine.resume(coroutine.create(function()
  521. local S = Create("Sound")({
  522. Volume = vol,
  523. Pitch = pit or 1,
  524. SoundId = id,
  525. Parent = par or workspace
  526. })
  527. wait()
  528. S:play()
  529. game:GetService("Debris"):AddItem(S, 6)
  530. end))
  531. end
  532. },
  533. ParticleEmitter = {
  534. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  535. local fp = Create("ParticleEmitter")({
  536. Parent = Parent,
  537. Color = ColorSequence.new(Color1, Color2),
  538. LightEmission = LightEmission,
  539. Size = Size,
  540. Texture = Texture,
  541. Transparency = Transparency,
  542. ZOffset = ZOffset,
  543. Acceleration = Accel,
  544. Drag = Drag,
  545. LockedToPart = LockedToPart,
  546. VelocityInheritance = VelocityInheritance,
  547. EmissionDirection = EmissionDirection,
  548. Enabled = Enabled,
  549. Lifetime = LifeTime,
  550. Rate = Rate,
  551. Rotation = Rotation,
  552. RotSpeed = RotSpeed,
  553. Speed = Speed,
  554. VelocitySpread = VelocitySpread
  555. })
  556. return fp
  557. end
  558. }
  559. }
  560. function RemoveOutlines(part)
  561. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  562. end
  563. function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  564. local Part = Create("Part")({
  565. formFactor = FormFactor,
  566. Parent = Parent,
  567. Reflectance = Reflectance,
  568. Transparency = Transparency,
  569. CanCollide = false,
  570. Locked = true,
  571. BrickColor = BrickColor.new(tostring(BColor)),
  572. Name = Name,
  573. Size = Size,
  574. Material = Material
  575. })
  576. RemoveOutlines(Part)
  577. return Part
  578. end
  579. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  580. local Msh = Create(Mesh)({
  581. Parent = Part,
  582. Offset = OffSet,
  583. Scale = Scale
  584. })
  585. if Mesh == "SpecialMesh" then
  586. Msh.MeshType = MeshType
  587. Msh.MeshId = MeshId
  588. end
  589. return Msh
  590. end
  591. function CreateWeld(Parent, Part0, Part1, C0, C1)
  592. local Weld = Create("Weld")({
  593. Parent = Parent,
  594. Part0 = Part0,
  595. Part1 = Part1,
  596. C0 = C0,
  597. C1 = C1
  598. })
  599. return Weld
  600. end
  601. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  602. local NEWPART = IT("Part")
  603. NEWPART.formFactor = FORMFACTOR
  604. NEWPART.Reflectance = REFLECTANCE
  605. NEWPART.Transparency = TRANSPARENCY
  606. NEWPART.CanCollide = false
  607. NEWPART.Locked = true
  608. NEWPART.Anchored = true
  609. if ANCHOR == false then
  610. NEWPART.Anchored = false
  611. end
  612. NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
  613. NEWPART.Name = NAME
  614. NEWPART.Size = SIZE
  615. NEWPART.Position = tors.Position
  616. NEWPART.Material = MATERIAL
  617. NEWPART:BreakJoints()
  618. NEWPART.Parent = PARENT
  619. return NEWPART
  620. end
  621.  
  622. -------------------------------------------------------
  623. --Start Effect Function--
  624. -------------------------------------------------------
  625. EffectModel = Instance.new("Model", char)
  626. Effects = {
  627. Block = {
  628. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  629. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  630. prt.Anchored = true
  631. prt.CFrame = cframe
  632. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  633. game:GetService("Debris"):AddItem(prt, 10)
  634. if Type == 1 or Type == nil then
  635. table.insert(Effects, {
  636. prt,
  637. "Block1",
  638. delay,
  639. x3,
  640. y3,
  641. z3,
  642. msh
  643. })
  644. elseif Type == 2 then
  645. table.insert(Effects, {
  646. prt,
  647. "Block2",
  648. delay,
  649. x3,
  650. y3,
  651. z3,
  652. msh
  653. })
  654. else
  655. table.insert(Effects, {
  656. prt,
  657. "Block3",
  658. delay,
  659. x3,
  660. y3,
  661. z3,
  662. msh
  663. })
  664. end
  665. end
  666. },
  667. Sphere = {
  668. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  669. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  670. prt.Anchored = true
  671. prt.CFrame = cframe
  672. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  673. game:GetService("Debris"):AddItem(prt, 10)
  674. table.insert(Effects, {
  675. prt,
  676. "Cylinder",
  677. delay,
  678. x3,
  679. y3,
  680. z3,
  681. msh
  682. })
  683. end
  684. },
  685. Cylinder = {
  686. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  687. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  688. prt.Anchored = true
  689. prt.CFrame = cframe
  690. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  691. game:GetService("Debris"):AddItem(prt, 10)
  692. table.insert(Effects, {
  693. prt,
  694. "Cylinder",
  695. delay,
  696. x3,
  697. y3,
  698. z3,
  699. msh
  700. })
  701. end
  702. },
  703. Wave = {
  704. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  705. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  706. prt.Anchored = true
  707. prt.CFrame = cframe
  708. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  709. game:GetService("Debris"):AddItem(prt, 10)
  710. table.insert(Effects, {
  711. prt,
  712. "Cylinder",
  713. delay,
  714. x3 / 60,
  715. y3 / 60,
  716. z3 / 60,
  717. msh
  718. })
  719. end
  720. },
  721. Ring = {
  722. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  723. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  724. prt.Anchored = true
  725. prt.CFrame = cframe
  726. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  727. game:GetService("Debris"):AddItem(prt, 10)
  728. table.insert(Effects, {
  729. prt,
  730. "Cylinder",
  731. delay,
  732. x3,
  733. y3,
  734. z3,
  735. msh
  736. })
  737. end
  738. },
  739. Break = {
  740. Create = function(brickcolor, cframe, x1, y1, z1)
  741. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  742. prt.Anchored = true
  743. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  744. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  745. local num = math.random(10, 50) / 1000
  746. game:GetService("Debris"):AddItem(prt, 10)
  747. table.insert(Effects, {
  748. prt,
  749. "Shatter",
  750. num,
  751. prt.CFrame,
  752. math.random() - math.random(),
  753. 0,
  754. math.random(50, 100) / 100
  755. })
  756. end
  757. },
  758. Spiral = {
  759. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  760. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  761. prt.Anchored = true
  762. prt.CFrame = cframe
  763. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  764. game:GetService("Debris"):AddItem(prt, 10)
  765. table.insert(Effects, {
  766. prt,
  767. "Cylinder",
  768. delay,
  769. x3,
  770. y3,
  771. z3,
  772. msh
  773. })
  774. end
  775. },
  776. Push = {
  777. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  778. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  779. prt.Anchored = true
  780. prt.CFrame = cframe
  781. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  782. game:GetService("Debris"):AddItem(prt, 10)
  783. table.insert(Effects, {
  784. prt,
  785. "Cylinder",
  786. delay,
  787. x3,
  788. y3,
  789. z3,
  790. msh
  791. })
  792. end
  793. }
  794. }
  795. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  796. local fp = IT("Part")
  797. fp.formFactor = formfactor
  798. fp.Parent = parent
  799. fp.Reflectance = reflectance
  800. fp.Transparency = transparency
  801. fp.CanCollide = false
  802. fp.Locked = true
  803. fp.BrickColor = brickcolor
  804. fp.Name = name
  805. fp.Size = size
  806. fp.Position = tors.Position
  807. RemoveOutlines(fp)
  808. fp.Material = "SmoothPlastic"
  809. fp:BreakJoints()
  810. return fp
  811. end
  812.  
  813. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  814. local mesh = IT(Mesh)
  815. mesh.Parent = part
  816. if Mesh == "SpecialMesh" then
  817. mesh.MeshType = meshtype
  818. if meshid ~= "nil" then
  819. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  820. end
  821. end
  822. mesh.Offset = offset
  823. mesh.Scale = scale
  824. return mesh
  825. end
  826.  
  827. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  828. local type = type
  829. local rng = Instance.new("Part", char)
  830. rng.Anchored = true
  831. rng.BrickColor = color
  832. rng.CanCollide = false
  833. rng.FormFactor = 3
  834. rng.Name = "Ring"
  835. rng.Material = "Neon"
  836. rng.Size = Vector3.new(1, 1, 1)
  837. rng.Transparency = 0
  838. rng.TopSurface = 0
  839. rng.BottomSurface = 0
  840. rng.CFrame = pos
  841. local rngm = Instance.new("SpecialMesh", rng)
  842. rngm.MeshType = MType
  843. rngm.Scale = scale
  844. local scaler2 = 1
  845. if type == "Add" then
  846. scaler2 = 1 * value
  847. elseif type == "Divide" then
  848. scaler2 = 1 / value
  849. end
  850. coroutine.resume(coroutine.create(function()
  851. for i = 0, 10 / bonuspeed, 0.1 do
  852. swait()
  853. if type == "Add" then
  854. scaler2 = scaler2 - 0.01 * value / bonuspeed
  855. elseif type == "Divide" then
  856. scaler2 = scaler2 - 0.01 / value * bonuspeed
  857. end
  858. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  859. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  860. end
  861. rng:Destroy()
  862. end))
  863. end
  864.  
  865. function Eviscerate(dude)
  866. if dude.Name ~= char then
  867. local bgf = IT("BodyGyro", dude.Head)
  868. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  869. local val = IT("BoolValue", dude)
  870. val.Name = "IsHit"
  871. local ds = coroutine.wrap(function()
  872. dude:WaitForChild("Head"):BreakJoints()
  873. wait(0.5)
  874. target = nil
  875. coroutine.resume(coroutine.create(function()
  876. for i, v in pairs(dude:GetChildren()) do
  877. if v:IsA("Accessory") then
  878. v:Destroy()
  879. end
  880. if v:IsA("Humanoid") then
  881. v:Destroy()
  882. end
  883. if v:IsA("CharacterMesh") then
  884. v:Destroy()
  885. end
  886. if v:IsA("Model") then
  887. v:Destroy()
  888. end
  889. if v:IsA("Part") or v:IsA("MeshPart") then
  890. for x, o in pairs(v:GetChildren()) do
  891. if o:IsA("Decal") then
  892. o:Destroy()
  893. end
  894. end
  895. coroutine.resume(coroutine.create(function()
  896. v.Material = "Neon"
  897. v.CanCollide = false
  898. local PartEmmit1 = IT("ParticleEmitter", v)
  899. PartEmmit1.LightEmission = 1
  900. PartEmmit1.Texture = "rbxassetid://284205403"
  901. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  902. PartEmmit1.Rate = 150
  903. PartEmmit1.Lifetime = NumberRange.new(1)
  904. PartEmmit1.Size = NumberSequence.new({
  905. NumberSequenceKeypoint.new(0, 0.75, 0),
  906. NumberSequenceKeypoint.new(1, 0, 0)
  907. })
  908. PartEmmit1.Transparency = NumberSequence.new({
  909. NumberSequenceKeypoint.new(0, 0, 0),
  910. NumberSequenceKeypoint.new(1, 1, 0)
  911. })
  912. PartEmmit1.Speed = NumberRange.new(0, 0)
  913. PartEmmit1.VelocitySpread = 30000
  914. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  915. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  916. local BodPoss = IT("BodyPosition", v)
  917. BodPoss.P = 3000
  918. BodPoss.D = 1000
  919. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  920. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  921. v.Color = maincolor.Color
  922. coroutine.resume(coroutine.create(function()
  923. for i = 0, 49 do
  924. swait(1)
  925. v.Transparency = v.Transparency + 0.08
  926. end
  927. wait(0.5)
  928. PartEmmit1.Enabled = false
  929. wait(3)
  930. v:Destroy()
  931. dude:Destroy()
  932. end))
  933. end))
  934. end
  935. end
  936. end))
  937. end)
  938. ds()
  939. end
  940. end
  941.  
  942. function FindNearestHead(Position, Distance, SinglePlayer)
  943. if SinglePlayer then
  944. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  945. end
  946. local List = {}
  947. for i, v in pairs(workspace:GetChildren()) do
  948. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  949. table.insert(List, v)
  950. end
  951. end
  952. return List
  953. end
  954.  
  955. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  956. local type = type
  957. local rng = Instance.new("Part", char)
  958. rng.Anchored = true
  959. rng.BrickColor = color
  960. rng.CanCollide = false
  961. rng.FormFactor = 3
  962. rng.Name = "Ring"
  963. rng.Material = "Neon"
  964. rng.Size = Vector3.new(1, 1, 1)
  965. rng.Transparency = 0
  966. rng.TopSurface = 0
  967. rng.BottomSurface = 0
  968. rng.CFrame = pos
  969. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  970. local rngm = Instance.new("SpecialMesh", rng)
  971. rngm.MeshType = MType
  972. rngm.Scale = Vector3.new(x1, y1, z1)
  973. local scaler2 = 1
  974. local speeder = FastSpeed
  975. if type == "Add" then
  976. scaler2 = 1 * value
  977. elseif type == "Divide" then
  978. scaler2 = 1 / value
  979. end
  980. coroutine.resume(coroutine.create(function()
  981. for i = 0, 10 / bonuspeed, 0.1 do
  982. swait()
  983. if type == "Add" then
  984. scaler2 = scaler2 - 0.01 * value / bonuspeed
  985. elseif type == "Divide" then
  986. scaler2 = scaler2 - 0.01 / value * bonuspeed
  987. end
  988. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  989. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  990. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  991. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  992. end
  993. rng:Destroy()
  994. end))
  995. end
  996.  
  997. function SoulSteal(dude)
  998. if dude.Name ~= char then
  999. local bgf = IT("BodyGyro", dude.Head)
  1000. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1001. local val = IT("BoolValue", dude)
  1002. val.Name = "IsHit"
  1003. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1004. local soulst = coroutine.wrap(function()
  1005. local soul = Instance.new("Part",dude)
  1006. soul.Size = Vector3.new(1,1,1)
  1007. soul.CanCollide = false
  1008. soul.Anchored = false
  1009. soul.Position = torso.Position
  1010. soul.Transparency = 1
  1011. local PartEmmit1 = IT("ParticleEmitter", soul)
  1012. PartEmmit1.LightEmission = 1
  1013. PartEmmit1.Texture = "rbxassetid://569507414"
  1014. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1015. PartEmmit1.Rate = 250
  1016. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1017. PartEmmit1.Size = NumberSequence.new({
  1018. NumberSequenceKeypoint.new(0, 1, 0),
  1019. NumberSequenceKeypoint.new(1, 0, 0)
  1020. })
  1021. PartEmmit1.Transparency = NumberSequence.new({
  1022. NumberSequenceKeypoint.new(0, 0, 0),
  1023. NumberSequenceKeypoint.new(1, 1, 0)
  1024. })
  1025. PartEmmit1.Speed = NumberRange.new(0, 0)
  1026. PartEmmit1.VelocitySpread = 30000
  1027. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1028. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1029. local BodPoss = IT("BodyPosition", soul)
  1030. BodPoss.P = 3000
  1031. BodPoss.D = 1000
  1032. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1033. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1034. wait(1.6)
  1035. soul.Touched:connect(function(hit)
  1036. if hit.Parent == char then
  1037. soul:Destroy()
  1038. end
  1039. end)
  1040. wait(1.2)
  1041. while soul do
  1042. swait()
  1043. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1044. BodPoss.Position = tors.Position
  1045. end
  1046. end)
  1047. soulst()
  1048. end
  1049. end
  1050. function FaceMouse()
  1051. local Cam = workspace.CurrentCamera
  1052. return {
  1053. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1054. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1055. }
  1056. end
  1057. -------------------------------------------------------
  1058. --End Effect Function--
  1059. -------------------------------------------------------
  1060. function Cso(ID, PARENT, VOLUME, PITCH)
  1061. local NSound = nil
  1062. coroutine.resume(coroutine.create(function()
  1063. NSound = IT("Sound", PARENT)
  1064. NSound.Volume = VOLUME
  1065. NSound.Pitch = PITCH
  1066. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1067. swait()
  1068. NSound:play()
  1069. game:GetService("Debris"):AddItem(NSound, 10)
  1070. end))
  1071. return NSound
  1072. end
  1073. function CameraEnshaking(Length, Intensity)
  1074. coroutine.resume(coroutine.create(function()
  1075. local intensity = 1 * Intensity
  1076. local rotM = 0.01 * Intensity
  1077. for i = 0, Length, 0.1 do
  1078. swait()
  1079. intensity = intensity - 0.05 * Intensity / Length
  1080. rotM = rotM - 5.0E-4 * Intensity / Length
  1081. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1082. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1083. end
  1084. hum.CameraOffset = Vector3.new(0, 0, 0)
  1085. end))
  1086. end
  1087. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1088. local NEWWELD = IT(TYPE)
  1089. NEWWELD.Part0 = PART0
  1090. NEWWELD.Part1 = PART1
  1091. NEWWELD.C0 = C0
  1092. NEWWELD.C1 = C1
  1093. NEWWELD.Parent = PARENT
  1094. return NEWWELD
  1095. end
  1096.  
  1097. function MakeForm(PART,TYPE)
  1098. local MSH = nil
  1099. if TYPE == "Cyl" then
  1100. MSH = IT("CylinderMesh",PART)
  1101. elseif TYPE == "Ball" then
  1102. MSH = IT("SpecialMesh",PART)
  1103. MSH.MeshType = "Sphere"
  1104. elseif TYPE == "Wedge" then
  1105. MSH = IT("SpecialMesh",PART)
  1106. MSH.MeshType = "Wedge"
  1107. elseif TYPE == "Block" then
  1108. MSH = IT("SpecialMesh",PART)
  1109. MSH.MeshType = "Brick"
  1110. end
  1111. return MSH
  1112. end
  1113.  
  1114. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1115. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1116. end
  1117.  
  1118. function Sink(position,radius)
  1119. for i,v in ipairs(workspace:GetChildren()) do
  1120. if v:FindFirstChild("Hit2By"..plr.Name) == nil then
  1121. local body = v:GetChildren()
  1122. for part = 1, #body do
  1123. if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then
  1124. if(body[part].Position - position).Magnitude < radius then
  1125. if v.ClassName == "Model" then
  1126. v:FindFirstChildOfClass("Humanoid").Name = "Humanoid"
  1127. if v:FindFirstChild("Humanoid") then
  1128. local defence = Instance.new("BoolValue",v)
  1129. defence.Name = ("Hit2By"..plr.Name)
  1130. if v.Humanoid.Health ~= 0 then
  1131. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1132. if TORS ~= nil then
  1133. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v)
  1134. coroutine.resume(coroutine.create(function()
  1135. if HITFLOOR2 ~= nil then
  1136. TORS.Anchored = true
  1137. local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4))
  1138. Hole2.Color = Color3.new(0,0,0)
  1139. local MESH = MakeForm(Hole2,"Block")
  1140. MESH.Scale = Vector3.new(0,1,0)
  1141. Hole2.CFrame = CF(HITPOS2)
  1142. for i = 1, 10 do
  1143. swait()
  1144. MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1)
  1145. end
  1146. Cso("160440683", v:FindFirstChild("Head"), 10, .8)
  1147. Cso("154955269", v:FindFirstChild("Head"), 10, 1)
  1148. repeat
  1149. swait()
  1150. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1151. MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0)
  1152. until TORS.Position.Y<position.Y-4
  1153. v:remove()
  1154. for i = 1, 10 do
  1155. swait()
  1156. MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1)
  1157. end
  1158. Hole2:remove()
  1159. end
  1160. end))
  1161. end
  1162. end
  1163. end
  1164. end
  1165. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1166. end
  1167. end
  1168. end
  1169. end
  1170. end
  1171. end
  1172. function Trail(Part)
  1173. local TRAIL = Part:Clone()
  1174. TRAIL.CanCollide = false
  1175. TRAIL.Anchored = true
  1176. TRAIL.Parent = EffectModel
  1177. TRAIL.Name = "Trail"
  1178. local TRANS = Part.Transparency
  1179. coroutine.resume(coroutine.create(function()
  1180. for i = 1, 20 do
  1181. swait()
  1182. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1183. end
  1184. TRAIL:remove()
  1185. end))
  1186. end
  1187. -------------------------------------------------------
  1188. --End Important Functions--
  1189. -------------------------------------------------------
  1190.  
  1191.  
  1192. -------------------------------------------------------
  1193. --Start Customization--
  1194. -------------------------------------------------------
  1195. local Player_Size = 1
  1196. if Player_Size ~= 1 then
  1197. root.Size = root.Size * Player_Size
  1198. tors.Size = tors.Size * Player_Size
  1199. hed.Size = hed.Size * Player_Size
  1200. ra.Size = ra.Size * Player_Size
  1201. la.Size = la.Size * Player_Size
  1202. rl.Size = rl.Size * Player_Size
  1203. ll.Size = ll.Size * Player_Size
  1204. ----------------------------------------------------------------------------------
  1205. rootj.Parent = root
  1206. neck.Parent = tors
  1207. RW.Parent = tors
  1208. LW.Parent = tors
  1209. RH.Parent = tors
  1210. LH.Parent = tors
  1211. ----------------------------------------------------------------------------------
  1212. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1213. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1214. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1215. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1216. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1217. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1218. ----------------------------------------------------------------------------------
  1219. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1220. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1221. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1222. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1223. --hat.Parent = Character
  1224. end
  1225. ----------------------------------------------------------------------------------
  1226. local SONG = 601069330
  1227. local SONG2 = 0
  1228. local Music = Instance.new("Sound",tors)
  1229. Music.Volume = 2.5
  1230. Music.Looped = true
  1231. Music.Pitch = 1 --Pitcher
  1232. ----------------------------------------------------------------------------------
  1233. local equipped = false
  1234. local idle = 0
  1235. local change = 1
  1236. local val = 0
  1237. local toim = 0
  1238. local idleanim = 0.4
  1239. local sine = 0
  1240. local Sit = 1
  1241. local VALUE1 = false
  1242. local VALUE2 = false
  1243. ----------------------------------------------------------------------------------
  1244. hum.WalkSpeed = 26
  1245. hum.JumpPower = 57
  1246. --hum.Animator.Parent = nil
  1247. ----------------------------------------------------------------------------------
  1248. local naeeym2 = Instance.new("BillboardGui",char)
  1249. naeeym2.AlwaysOnTop = true
  1250. naeeym2.Size = UDim2.new(5,35,2,35)
  1251. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1252. naeeym2.Adornee = hed
  1253. naeeym2.Name = "Name"
  1254. local tecks2 = Instance.new("TextLabel",naeeym2)
  1255. tecks2.BackgroundTransparency = 1
  1256. tecks2.TextScaled = true
  1257. tecks2.BorderSizePixel = 0
  1258. tecks2.Text = "Abyslum"
  1259. tecks2.Font = "Fantasy"
  1260. tecks2.TextSize = 30
  1261. tecks2.TextTransparency = 0
  1262. tecks2.TextStrokeTransparency = 0
  1263. tecks2.TextColor3 = Color3.new(0,0,0)
  1264. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1265. tecks2.Size = UDim2.new(1,0,0.5,0)
  1266. tecks2.Parent = naeeym2
  1267. ----------------------------------------------------------------------------------
  1268. local Hole = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(15,0,15))
  1269. local MESH = MakeForm(Hole,"Cyl")
  1270. local ROBLOXIDLEANIMATION = IT("Animation")
  1271. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1272. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1273. local ANIMATOR = hum.Animator
  1274. local ANIMATE = char.Animate
  1275. -------------------------------------------------------
  1276. --End Customization--
  1277. -------------------------------------------------------
  1278.  
  1279.  
  1280. -------------------------------------------------------
  1281. --Start Attacks N Stuff--
  1282. -------------------------------------------------------
  1283. function Intro()
  1284. coroutine.resume(coroutine.create(function()
  1285. attack = true
  1286. hum.WalkSpeed = 0
  1287. root.Anchored = true
  1288. tecks2.TextTransparency = 1
  1289. tecks2.TextStrokeTransparency = 1
  1290. for i = 0, 4, 0.1 do
  1291. swait()
  1292. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  1293. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  1294. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1295. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1296. RW.C0 = clerp(RW.C0, CF(.4* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  1297. LW.C0 = clerp(LW.C0, CF(-.4* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.2)
  1298. end
  1299. for i = 0, 4, 0.1 do
  1300. swait()
  1301. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -10 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1302. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  1303. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1304. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1305. RW.C0 = clerp(RW.C0, CF(.4* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  1306. LW.C0 = clerp(LW.C0, CF(-.4* Player_Size, 0.2 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.2)
  1307. end
  1308. tecks2.TextTransparency = 0
  1309. tecks2.TextStrokeTransparency = 0
  1310. VALUE1 = true
  1311. local part = CreatePart(3, EffectModel, "Neon", 0, 0, "Really red", "Eye", Vector3.new(0.2,0.3,0.1),false)
  1312. local weld = CreateWeldOrSnapOrMotor("Weld", part, hed, part, CF(0.16,0.25,-0.5) * angles(Rad(0), Rad(0), Rad(-10)), CF(0, 0, 0))
  1313. MakeForm(part,"Ball")
  1314. local part = CreatePart(3, EffectModel, "Neon", 0, 0, "Really red", "Eye", Vector3.new(0.2,0.3,0.1),false)
  1315. local weld = CreateWeldOrSnapOrMotor("Weld", part, hed, part, CF(-0.16,0.25,-0.5) * angles(Rad(0), Rad(0), Rad(10)), CF(0, 0, 0))
  1316. MakeForm(part,"Ball")
  1317. swait(15)
  1318. Cso("649634100", hed, 10, 0.5)
  1319. for i = 0, 6, 0.1 do
  1320. swait()
  1321. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.05)
  1322. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
  1323. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05)
  1324. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  1325. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(-.6), Rad(13)), 0.05)
  1326. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(-.6), Rad(-13)), 0.05)
  1327. end
  1328. root.Anchored = false
  1329. attack = false
  1330. hum.WalkSpeed = 26
  1331. end))
  1332. end
  1333. function AbyssalGate()
  1334. coroutine.resume(coroutine.create(function()
  1335. attack = true
  1336. for i = 0, 6, 0.1 do
  1337. swait()
  1338. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05)
  1339. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
  1340. RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05)
  1341. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  1342. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05)
  1343. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05)
  1344. end
  1345. Cso("1075001850", root, 10, 3)
  1346. for i = 1, 350 do
  1347. swait()
  1348. Hole.Size = Hole.Size + Vector3.new(.4,0,.4)
  1349. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05)
  1350. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
  1351. RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05)
  1352. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  1353. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05)
  1354. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05)
  1355. end
  1356. swait()
  1357. for i = 1, 350 do
  1358. swait()
  1359. Hole.Size = Hole.Size - Vector3.new(.4,0,.4)
  1360. Trail(Hole)
  1361. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05)
  1362. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
  1363. RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05)
  1364. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  1365. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(75)), 0.05)
  1366. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05)
  1367. end
  1368. attack = false
  1369. end))
  1370. end
  1371. function SinkingWarp()
  1372. attack = true
  1373. hum.WalkSpeed = 0
  1374. root.Anchored = true
  1375. for i = 0, 6, 0.1 do
  1376. swait()
  1377. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(0)), 0.05)
  1378. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
  1379. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-25)), 0.05)
  1380. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(76)), 0.05)
  1381. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(-.6), Rad(13)), 0.05)
  1382. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(-.6), Rad(-13)), 0.05)
  1383. end
  1384. tecks2.TextTransparency = 1
  1385. tecks2.TextStrokeTransparency = 1
  1386. for i = 0, 2, 0.1 do
  1387. swait()
  1388. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -15 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(-50), Rad(0), Rad(0)), 0.1)
  1389. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1390. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-25)), 0.1)
  1391. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(76)), 0.1)
  1392. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(-.6), Rad(13)), 0.1)
  1393. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(-.6), Rad(-13)), 0.1)
  1394. end
  1395. for i = 1, 50 do
  1396. swait()
  1397. Trail(Hole)
  1398. MESH.Scale = MESH.Scale - Vector3.new(0.02,0,0.02)
  1399. end
  1400. local ORIGINPOS = root.Position
  1401. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  1402. Cso("154955269", Hole, 10, .7)
  1403. for i = 1, 50 do
  1404. swait()
  1405. MESH.Scale = MESH.Scale + Vector3.new(0.02,0,0.02)
  1406. end
  1407. tecks2.TextTransparency = 0
  1408. tecks2.TextStrokeTransparency = 0
  1409. for i = 0, 6, 0.1 do
  1410. swait()
  1411. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.05)
  1412. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
  1413. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05)
  1414. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  1415. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(-.6), Rad(13)), 0.05)
  1416. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(-.6), Rad(-13)), 0.05)
  1417. end
  1418. attack = false
  1419. root.Anchored = false
  1420. hum.WalkSpeed = 26
  1421. end
  1422. function Taunt()
  1423. attack = true
  1424. Cso("649634100", hed, 10, 0.5)
  1425. for i = 0, 6, 0.1 do
  1426. swait()
  1427. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05)
  1428. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
  1429. RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05)
  1430. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  1431. RW.C0 = clerp(RW.C0, CF(.7* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  1432. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05)
  1433. end
  1434. attack = false
  1435. end
  1436. function AnnoyingSink()
  1437. coroutine.resume(coroutine.create(function()
  1438. attack = true
  1439. for i = 0, 6, 0.1 do
  1440. swait()
  1441. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05)
  1442. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Sin(sine / 20)), Rad(20), Rad(0)), 0.05)
  1443. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(15)), 0.05)
  1444. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  1445. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(-.6), Rad(7)), 0.2)
  1446. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-15)), 0.05)
  1447. end
  1448. local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(15,0,15))
  1449. Hole2.Color = Color3.new(0,0,0)
  1450. local MESH = MakeForm(Hole2,"Cyl")
  1451. MESH.Scale = Vector3.new(0,1,0)
  1452. Hole2.CFrame = CF(mouse.Hit.p)
  1453. Cso("154955269", Hole2, 10, .7)
  1454. for i = 0, 3, 0.1 do
  1455. swait()
  1456. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05)
  1457. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(20), Rad(0)), 0.05)
  1458. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(15)), 0.05)
  1459. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  1460. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-.6), Rad(7)), 0.2)
  1461. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-15)), 0.05)
  1462. end
  1463. attack = false
  1464. for i = 1, 50 do
  1465. swait()
  1466. MESH.Scale = MESH.Scale + Vector3.new(0.02,0,0.02)
  1467. end
  1468. for i = 1, 200 do
  1469. swait()
  1470. Sink(Hole2.Position,Hole2.Size.X/2.2)
  1471. end
  1472. swait(100)
  1473. for i = 1, 50 do
  1474. swait()
  1475. Trail(Hole2)
  1476. MESH.Scale = MESH.Scale - Vector3.new(0.02,0,0.02)
  1477. end
  1478. Hole2:remove()
  1479. end))
  1480. end
  1481. -------------------------------------------------------
  1482. --End Attacks N Stuff--
  1483. -------------------------------------------------------
  1484. mouse.KeyDown:connect(function(key)
  1485. if attack == false then
  1486. if key == 'c' then
  1487. AbyssalGate()
  1488. elseif key == 'z' then
  1489. SinkingWarp()
  1490. elseif key == 'b' then
  1491. AnnoyingSink()
  1492. elseif key == 't' then
  1493. Taunt()
  1494. end
  1495. end
  1496. end)
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505. -------------------------------------------------------
  1506. --Start Animations--
  1507. -------------------------------------------------------
  1508. print("By Makhail07")
  1509. Intro()
  1510. while true do
  1511. swait()
  1512. ANIMATE.Parent = nil
  1513. local IDLEANIMATION = hum:LoadAnimation(ROBLOXIDLEANIMATION)
  1514. IDLEANIMATION:Play()
  1515. sine = sine + change
  1516. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1517. local velderp = root.Velocity.y
  1518. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 25 * Player_Size, char)
  1519. if equipped == true or equipped == false then
  1520. if attack == false then
  1521. idle = idle + 1
  1522. else
  1523. idle = 0
  1524. end
  1525. if 1 < root.Velocity.y and hitfloor == nil then
  1526. Anim = "Jump"
  1527. if attack == false then
  1528. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1529. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1530. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1531. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1532. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1533. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1534. end
  1535. elseif -1 > root.Velocity.y and hitfloor == nil then
  1536. Anim = "Fall"
  1537. if attack == false then
  1538. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1539. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1540. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1541. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1542. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1543. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1544. end
  1545. elseif torvel < 1 and hitfloor ~= nil then
  1546. Anim = "Idle"
  1547. change = 1
  1548. if attack == false then
  1549. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 12)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1550. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 6.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.05)
  1551. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5 - 6.5 * Sin(sine / 12)), Rad(0), Rad(15)), 0.1)
  1552. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5 - 6.5 * Sin(sine / 12)), Rad(15), Rad(25)), 0.1)
  1553. RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(13 + 6.5 * Sin(sine / 12))), 0.1)
  1554. LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(-13 - 6.5 * Sin(sine / 12))), 0.1)
  1555. end
  1556. elseif (tors.Velocity).magnitude < 200 and hitfloor ~= nil then
  1557. Anim = "Walk"
  1558. change = 1
  1559. if attack == false then
  1560. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 12)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1561. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 6.5 * Sin(sine / 12)), Rad(20), Rad(0)), 0.1)
  1562. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-18.5 - 6.5 * Sin(sine / 12)), Rad(0), Rad(-35)), 0.1)
  1563. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-18.5 - 6.5 * Sin(sine / 12)), Rad(15), Rad(35)), 0.1)
  1564. RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-45 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(25 + 6.5 * Sin(sine / 12))), 0.1)
  1565. LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-45 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(-25 - 6.5 * Sin(sine / 12))), 0.1)
  1566. end
  1567. end
  1568. end
  1569. if hitfloor ~= nil then
  1570. Hole.CFrame = CF(posfloor)
  1571. end
  1572. Sink(Hole.Position, Hole.Size.X/2.2*MESH.Scale.X)
  1573. Hole.Color = Color3.new(0,0,0)
  1574. if VALUE1 == true then
  1575. --hum.HipHeight = 2
  1576. q = char:GetChildren()
  1577. for u = 1, #q do
  1578. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1579. q[u]:remove()
  1580. elseif q[u].ClassName == "Shirt" then
  1581. q[u]:Destroy()
  1582. elseif q[u].ClassName == "Pants" then
  1583. q[u]:Destroy()
  1584. elseif q[u].ClassName == "CharacterMesh" then
  1585. q[u]:remove()
  1586. elseif q[u].ClassName == "ShirtGraphic" then
  1587. q[u]:remove()
  1588. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1589. q[u].Color = Color3.new(0,0,0)
  1590. q[u].Material = "Glass"
  1591. end
  1592. end
  1593. if hed:FindFirstChild("Mesh") then
  1594. local mesh = hed.Mesh
  1595. if mesh.ClassName == "SpecialMesh" then
  1596. mesh:remove()
  1597. local m = IT("BlockMesh",hed)
  1598. m.Scale = Vector3.new(0.5,1,1)
  1599. end
  1600. end
  1601. if hed:FindFirstChild("face") then
  1602. hed.face:remove()
  1603. end
  1604. end
  1605. Music.SoundId = "rbxassetid://"..SONG
  1606. Music.Looped = true
  1607. Music.Pitch = 1
  1608. Music.Volume = 5
  1609. Music.Parent = char
  1610. Music:Resume()
  1611. if 0 < #Effects then
  1612. for e = 1, #Effects do
  1613. if Effects[e] ~= nil then
  1614. local Thing = Effects[e]
  1615. if Thing ~= nil then
  1616. local Part = Thing[1]
  1617. local Mode = Thing[2]
  1618. local Delay = Thing[3]
  1619. local IncX = Thing[4]
  1620. local IncY = Thing[5]
  1621. local IncZ = Thing[6]
  1622. if 1 >= Thing[1].Transparency then
  1623. if Thing[2] == "Block1" then
  1624. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1625. local Mesh = Thing[1].Mesh
  1626. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1627. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1628. elseif Thing[2] == "Block2" then
  1629. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1630. local Mesh = Thing[7]
  1631. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1632. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1633. elseif Thing[2] == "Block3" then
  1634. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1635. local Mesh = Thing[7]
  1636. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1637. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1638. elseif Thing[2] == "Cylinder" then
  1639. local Mesh = Thing[1].Mesh
  1640. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1641. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1642. elseif Thing[2] == "Blood" then
  1643. local Mesh = Thing[7]
  1644. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1645. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1646. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1647. elseif Thing[2] == "Elec" then
  1648. local Mesh = Thing[1].Mesh
  1649. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1650. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1651. elseif Thing[2] == "Disappear" then
  1652. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1653. elseif Thing[2] == "Shatter" then
  1654. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1655. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1656. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1657. Thing[6] = Thing[6] + Thing[5]
  1658. end
  1659. else
  1660. Part.Parent = nil
  1661. table.remove(Effects, e)
  1662. end
  1663. end
  1664. end
  1665. end
  1666. end
  1667. end
  1668. -------------------------------------------------------
  1669. --End Animations And Script--
  1670. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement