Advertisement
DarkScriptZEditors

Corrupter

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