Advertisement
rcubed1003

Abyslumv 2 fe ver

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