Advertisement
Veltr

eqwq

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