kaualima12

relaxing at work e.e

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