Advertisement
Veltr

nah

Feb 12th, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.18 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. end
  426. end))
  427. local bodyVelocity = Create("BodyVelocity"){
  428. velocity = Vector3.new(0, 20, 0),
  429. P = 5000,
  430. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  431. Parent = hit,
  432. }
  433. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  434. elseif Type == "Snare" then
  435. local bp = Create("BodyPosition"){
  436. P = 2000,
  437. D = 100,
  438. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  439. position = hit.Parent.Torso.Position,
  440. Parent = hit.Parent.Torso,
  441. }
  442. game:GetService("Debris"):AddItem(bp, 1)
  443. elseif Type == "Freeze" then
  444. local BodPos = Create("BodyPosition"){
  445. P = 50000,
  446. D = 1000,
  447. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  448. position = hit.Parent.Torso.Position,
  449. Parent = hit.Parent.Torso,
  450. }
  451. local BodGy = Create("BodyGyro") {
  452. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  453. P = 20e+003,
  454. Parent = hit.Parent.Torso,
  455. cframe = hit.Parent.Torso.CFrame,
  456. }
  457. hit.Parent.Torso.Anchored = true
  458. coroutine.resume(coroutine.create(function(Part)
  459. swait(1.5)
  460. Part.Anchored = false
  461. end), hit.Parent.Torso)
  462. game:GetService("Debris"):AddItem(BodPos, 3)
  463. game:GetService("Debris"):AddItem(BodGy, 3)
  464. end
  465. local debounce = Create("BoolValue"){
  466. Name = "DebounceHit",
  467. Parent = hit.Parent,
  468. Value = true,
  469. }
  470. game:GetService("Debris"):AddItem(debounce, Delay)
  471. c = Create("ObjectValue"){
  472. Name = "creator",
  473. Value = Player,
  474. Parent = h,
  475. }
  476. game:GetService("Debris"):AddItem(c, .5)
  477. end
  478. end
  479. -------------------------------------------------------
  480. --End Damage Function--
  481. -------------------------------------------------------
  482.  
  483. -------------------------------------------------------
  484. --Start Damage Function Customization--
  485. -------------------------------------------------------
  486. function ShowDamage(Pos, Text, Time, Color)
  487. local Rate = (1 / 30)
  488. local Pos = (Pos or Vector3.new(0, 0, 0))
  489. local Text = (Text or "")
  490. local Time = (Time or 2)
  491. local Color = (Color or Color3.new(1, 0, 1))
  492. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, while true do
  493. script.Parent.BrickColor = BrickColor.Indigo()
  494. wait(1)
  495. script.Parent.BrickColor = BrickColor.Black()
  496. wait(1)
  497. end, "Effect", Vector3.new(0, 0, 0))
  498.  
  499. while true do
  500. script.Parent.BrickColor = BrickColor.Indigo()
  501. wait(1)
  502. script.Parent.BrickColor = BrickColor.Black()
  503. wait(1)
  504. end
  505.  
  506. EffectPart.Anchored = true
  507. local BillboardGui = Create("BillboardGui"){
  508. Size = UDim2.new(3, 0, 3, 0),
  509. Adornee = EffectPart,
  510. Parent = EffectPart,
  511. }
  512. local TextLabel = Create("TextLabel"){
  513. BackgroundTransparency = 1,
  514. Size = UDim2.new(1, 0, 1, 0),
  515. Text = Text,
  516. Font = "Bodoni",
  517. TextColor3 = Color,
  518. TextScaled = true,
  519. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  520. Parent = BillboardGui,
  521. }
  522. game.Debris:AddItem(EffectPart, (Time))
  523. EffectPart.Parent = game:GetService("Workspace")
  524. delay(0, function()
  525. local Frames = (Time / Rate)
  526. for Frame = 1, Frames do
  527. wait(Rate)
  528. local Percent = (Frame / Frames)
  529. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  530. TextLabel.TextTransparency = Percent
  531. end
  532. if EffectPart and EffectPart.Parent then
  533. EffectPart:Destroy()
  534. end
  535. end)
  536. end
  537. -------------------------------------------------------
  538. --End Damage Function Customization--
  539. -------------------------------------------------------
  540.  
  541. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  542. for _, c in pairs(workspace:children()) do
  543. local hum = c:findFirstChild("Humanoid")
  544. if hum ~= nil then
  545. local head = c:findFirstChild("Head")
  546. if head ~= nil then
  547. local targ = head.Position - Part.Position
  548. local mag = targ.magnitude
  549. if magni >= mag and c.Name ~= plr.Name then
  550. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  551. end
  552. end
  553. end
  554. end
  555. end
  556.  
  557.  
  558. CFuncs = {
  559. Part = {
  560. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  561. local Part = Create("Part")({
  562. Parent = Parent,
  563. Reflectance = Reflectance,
  564. Transparency = Transparency,
  565. CanCollide = false,
  566. Locked = true,
  567. BrickColor = BrickColor.new(tostring(BColor)),
  568. Name = Name,
  569. Size = Size,
  570. Material = Material
  571. })
  572. RemoveOutlines(Part)
  573. return Part
  574. end
  575. },
  576. Mesh = {
  577. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  578. local Msh = Create(Mesh)({
  579. Parent = Part,
  580. Offset = OffSet,
  581. Scale = Scale
  582. })
  583. if Mesh == "SpecialMesh" then
  584. Msh.MeshType = MeshType
  585. Msh.MeshId = MeshId
  586. end
  587. return Msh
  588. end
  589. },
  590. Mesh = {
  591. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  592. local Msh = Create(Mesh)({
  593. Parent = Part,
  594. Offset = OffSet,
  595. Scale = Scale
  596. })
  597. if Mesh == "SpecialMesh" then
  598. Msh.MeshType = MeshType
  599. Msh.MeshId = MeshId
  600. end
  601. return Msh
  602. end
  603. },
  604. Weld = {
  605. Create = function(Parent, Part0, Part1, C0, C1)
  606. local Weld = Create("Weld")({
  607. Parent = Parent,
  608. Part0 = Part0,
  609. Part1 = Part1,
  610. C0 = C0,
  611. C1 = C1
  612. })
  613. return Weld
  614. end
  615. },
  616. Sound = {
  617. Create = function(id, par, vol, pit)
  618. coroutine.resume(coroutine.create(function()
  619. local S = Create("Sound")({
  620. Volume = vol,
  621. Pitch = pit or 1,
  622. SoundId = id,
  623. Parent = par or workspace
  624. })
  625. wait()
  626. S:play()
  627. game:GetService("Debris"):AddItem(S, 6)
  628. end))
  629. end
  630. },
  631. ParticleEmitter = {
  632. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  633. local fp = Create("ParticleEmitter")({
  634. Parent = Parent,
  635. Color = ColorSequence.new(Color1, Color2),
  636. LightEmission = LightEmission,
  637. Size = Size,
  638. Texture = Texture,
  639. Transparency = Transparency,
  640. ZOffset = ZOffset,
  641. Acceleration = Accel,
  642. Drag = Drag,
  643. LockedToPart = LockedToPart,
  644. VelocityInheritance = VelocityInheritance,
  645. EmissionDirection = EmissionDirection,
  646. Enabled = Enabled,
  647. Lifetime = LifeTime,
  648. Rate = Rate,
  649. Rotation = Rotation,
  650. RotSpeed = RotSpeed,
  651. Speed = Speed,
  652. VelocitySpread = VelocitySpread
  653. })
  654. return fp
  655. end
  656. }
  657. }
  658. function RemoveOutlines(part)
  659. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  660. end
  661. function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  662. local Part = Create("Part")({
  663. formFactor = FormFactor,
  664. Parent = Parent,
  665. Reflectance = Reflectance,
  666. Transparency = Transparency,
  667. CanCollide = false,
  668. Locked = true,
  669. BrickColor = BrickColor.new(tostring(BColor)),
  670. Name = Name,
  671. Size = Size,
  672. Material = Material
  673. })
  674. RemoveOutlines(Part)
  675. return Part
  676. end
  677. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  678. local Msh = Create(Mesh)({
  679. Parent = Part,
  680. Offset = OffSet,
  681. Scale = Scale
  682. })
  683. if Mesh == "SpecialMesh" then
  684. Msh.MeshType = MeshType
  685. Msh.MeshId = MeshId
  686. end
  687. return Msh
  688. end
  689. function CreateWeld(Parent, Part0, Part1, C0, C1)
  690. local Weld = Create("Weld")({
  691. Parent = Parent,
  692. Part0 = Part0,
  693. Part1 = Part1,
  694. C0 = C0,
  695. C1 = C1
  696. })
  697. return Weld
  698. end
  699. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  700. local NEWPART = IT("Part")
  701. NEWPART.formFactor = FORMFACTOR
  702. NEWPART.Reflectance = REFLECTANCE
  703. NEWPART.Transparency = TRANSPARENCY
  704. NEWPART.CanCollide = false
  705. NEWPART.Locked = true
  706. NEWPART.Anchored = true
  707. if ANCHOR == false then
  708. NEWPART.Anchored = false
  709. end
  710. NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
  711. NEWPART.Name = NAME
  712. NEWPART.Size = SIZE
  713. NEWPART.Position = tors.Position
  714. NEWPART.Material = MATERIAL
  715. NEWPART:BreakJoints()
  716. NEWPART.Parent = PARENT
  717. return NEWPART
  718. end
  719.  
  720. -------------------------------------------------------
  721. --Start Effect Function--
  722. -------------------------------------------------------
  723. EffectModel = Instance.new("Model", char)
  724. Effects = {
  725. Block = {
  726. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  727. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  728. prt.Anchored = true
  729. prt.CFrame = cframe
  730. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  731. game:GetService("Debris"):AddItem(prt, 10)
  732. if Type == 1 or Type == nil then
  733. table.insert(Effects, {
  734. prt,
  735. "Block1",
  736. delay,
  737. x3,
  738. y3,
  739. z3,
  740. msh
  741. })
  742. elseif Type == 2 then
  743. table.insert(Effects, {
  744. prt,
  745. "Block2",
  746. delay,
  747. x3,
  748. y3,
  749. z3,
  750. msh
  751. })
  752. else
  753. table.insert(Effects, {
  754. prt,
  755. "Block3",
  756. delay,
  757. x3,
  758. y3,
  759. z3,
  760. msh
  761. })
  762. end
  763. end
  764. },
  765. Sphere = {
  766. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  767. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  768. prt.Anchored = true
  769. prt.CFrame = cframe
  770. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  771. game:GetService("Debris"):AddItem(prt, 10)
  772. table.insert(Effects, {
  773. prt,
  774. "Cylinder",
  775. delay,
  776. x3,
  777. y3,
  778. z3,
  779. msh
  780. })
  781. end
  782. },
  783. Cylinder = {
  784. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  785. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  786. prt.Anchored = true
  787. prt.CFrame = cframe
  788. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  789. game:GetService("Debris"):AddItem(prt, 10)
  790. table.insert(Effects, {
  791. prt,
  792. "Cylinder",
  793. delay,
  794. x3,
  795. y3,
  796. z3,
  797. msh
  798. })
  799. end
  800. },
  801. Wave = {
  802. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  803. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  804. prt.Anchored = true
  805. prt.CFrame = cframe
  806. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  807. game:GetService("Debris"):AddItem(prt, 10)
  808. table.insert(Effects, {
  809. prt,
  810. "Cylinder",
  811. delay,
  812. x3 / 60,
  813. y3 / 60,
  814. z3 / 60,
  815. msh
  816. })
  817. end
  818. },
  819. Ring = {
  820. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  821. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  822. prt.Anchored = true
  823. prt.CFrame = cframe
  824. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  825. game:GetService("Debris"):AddItem(prt, 10)
  826. table.insert(Effects, {
  827. prt,
  828. "Cylinder",
  829. delay,
  830. x3,
  831. y3,
  832. z3,
  833. msh
  834. })
  835. end
  836. },
  837. Break = {
  838. Create = function(brickcolor, cframe, x1, y1, z1)
  839. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  840. prt.Anchored = true
  841. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  842. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  843. local num = math.random(10, 50) / 1000
  844. game:GetService("Debris"):AddItem(prt, 10)
  845. table.insert(Effects, {
  846. prt,
  847. "Shatter",
  848. num,
  849. prt.CFrame,
  850. math.random() - math.random(),
  851. 0,
  852. math.random(50, 100) / 100
  853. })
  854. end
  855. },
  856. Spiral = {
  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://1051557", 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. Push = {
  875. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  876. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  877. prt.Anchored = true
  878. prt.CFrame = cframe
  879. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  880. game:GetService("Debris"):AddItem(prt, 10)
  881. table.insert(Effects, {
  882. prt,
  883. "Cylinder",
  884. delay,
  885. x3,
  886. y3,
  887. z3,
  888. msh
  889. })
  890. end
  891. }
  892. }
  893. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  894. local fp = IT("Part")
  895. fp.formFactor = formfactor
  896. fp.Parent = parent
  897. fp.Reflectance = reflectance
  898. fp.Transparency = transparency
  899. fp.CanCollide = false
  900. fp.Locked = true
  901. fp.BrickColor = brickcolor
  902. fp.Name = name
  903. fp.Size = size
  904. fp.Position = tors.Position
  905. RemoveOutlines(fp)
  906. fp.Material = "SmoothPlastic"
  907. fp:BreakJoints()
  908. return fp
  909. end
  910.  
  911. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  912. local mesh = IT(Mesh)
  913. mesh.Parent = part
  914. if Mesh == "SpecialMesh" then
  915. mesh.MeshType = meshtype
  916. if meshid ~= "nil" then
  917. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  918. end
  919. end
  920. mesh.Offset = offset
  921. mesh.Scale = scale
  922. return mesh
  923. end
  924.  
  925. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  926. local type = type
  927. local rng = Instance.new("Part", char)
  928. rng.Anchored = true
  929. rng.BrickColor = color
  930. rng.CanCollide = false
  931. rng.FormFactor = 3
  932. rng.Name = "Ring"
  933. rng.Material = "Neon"
  934. rng.Size = Vector3.new(1, 1, 1)
  935. rng.Transparency = 0
  936. rng.TopSurface = 0
  937. rng.BottomSurface = 0
  938. rng.CFrame = pos
  939. local rngm = Instance.new("SpecialMesh", rng)
  940. rngm.MeshType = MType
  941. rngm.Scale = scale
  942. local scaler2 = 1
  943. if type == "Add" then
  944. scaler2 = 1 * value
  945. elseif type == "Divide" then
  946. scaler2 = 1 / value
  947. end
  948. coroutine.resume(coroutine.create(function()
  949. for i = 0, 10 / bonuspeed, 0.1 do
  950. swait()
  951. if type == "Add" then
  952. scaler2 = scaler2 - 0.01 * value / bonuspeed
  953. elseif type == "Divide" then
  954. scaler2 = scaler2 - 0.01 / value * bonuspeed
  955. end
  956. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  957. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  958. end
  959. rng:Destroy()
  960. end))
  961. end
  962.  
  963. function Eviscerate(dude)
  964. if dude.Name ~= char then
  965. local bgf = IT("BodyGyro", dude.Head)
  966. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  967. local val = IT("BoolValue", dude)
  968. val.Name = "IsHit"
  969. local ds = coroutine.wrap(function()
  970. dude:WaitForChild("Head"):BreakJoints()
  971. wait(0.5)
  972. target = nil
  973. coroutine.resume(coroutine.create(function()
  974. for i, v in pairs(dude:GetChildren()) do
  975. if v:IsA("Accessory") then
  976. v:Destroy()
  977. end
  978. if v:IsA("Humanoid") then
  979. v:Destroy()
  980. end
  981. if v:IsA("CharacterMesh") then
  982. v:Destroy()
  983. end
  984. if v:IsA("Model") then
  985. v:Destroy()
  986. end
  987. if v:IsA("Part") or v:IsA("MeshPart") then
  988. for x, o in pairs(v:GetChildren()) do
  989. if o:IsA("Decal") then
  990. o:Destroy()
  991. end
  992. end
  993. coroutine.resume(coroutine.create(function()
  994. v.Material = "Neon"
  995. v.CanCollide = false
  996. local PartEmmit1 = IT("ParticleEmitter", v)
  997. PartEmmit1.LightEmission = 1
  998. PartEmmit1.Texture = "rbxassetid://284205403"
  999. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1000. PartEmmit1.Rate = 150
  1001. PartEmmit1.Lifetime = NumberRange.new(1)
  1002. PartEmmit1.Size = NumberSequence.new({
  1003. NumberSequenceKeypoint.new(0, 0.75, 0),
  1004. NumberSequenceKeypoint.new(1, 0, 0)
  1005. })
  1006. PartEmmit1.Transparency = NumberSequence.new({
  1007. NumberSequenceKeypoint.new(0, 0, 0),
  1008. NumberSequenceKeypoint.new(1, 1, 0)
  1009. })
  1010. PartEmmit1.Speed = NumberRange.new(0, 0)
  1011. PartEmmit1.VelocitySpread = 30000
  1012. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1013. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1014. local BodPoss = IT("BodyPosition", v)
  1015. BodPoss.P = 3000
  1016. BodPoss.D = 1000
  1017. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1018. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1019. v.Color = maincolor.Color
  1020. coroutine.resume(coroutine.create(function()
  1021. for i = 0, 49 do
  1022. swait(1)
  1023. v.Transparency = v.Transparency + 0.08
  1024. end
  1025. wait(0.5)
  1026. PartEmmit1.Enabled = false
  1027. wait(3)
  1028. v:Destroy()
  1029. dude:Destroy()
  1030. end))
  1031. end))
  1032. end
  1033. end
  1034. end))
  1035. end)
  1036. ds()
  1037. end
  1038. end
  1039.  
  1040. function FindNearestHead(Position, Distance, SinglePlayer)
  1041. if SinglePlayer then
  1042. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1043. end
  1044. local List = {}
  1045. for i, v in pairs(workspace:GetChildren()) do
  1046. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1047. table.insert(List, v)
  1048. end
  1049. end
  1050. return List
  1051. end
  1052.  
  1053. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1054. local type = type
  1055. local rng = Instance.new("Part", char)
  1056. rng.Anchored = true
  1057. rng.BrickColor = Random
  1058. rng.CanCollide = false
  1059. rng.FormFactor = 3
  1060. rng.Name = "Ring"
  1061. rng.Material = "Neon"
  1062. rng.Size = Vector3.new(1, 1, 1)
  1063. rng.Transparency = 0
  1064. rng.TopSurface = 0
  1065. rng.BottomSurface = 0
  1066. rng.CFrame = pos
  1067. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1068. local rngm = Instance.new("SpecialMesh", rng)
  1069. rngm.MeshType = MType
  1070. rngm.Scale = Vector3.new(x1, y1, z1)
  1071. local scaler2 = 1
  1072. local speeder = FastSpeed
  1073. if type == "Add" then
  1074. scaler2 = 1 * value
  1075. elseif type == "Divide" then
  1076. scaler2 = 1 / value
  1077. end
  1078. coroutine.resume(coroutine.create(function()
  1079. for i = 0, 10 / bonuspeed, 0.1 do
  1080. swait()
  1081. if type == "Add" then
  1082. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1083. elseif type == "Divide" then
  1084. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1085. end
  1086. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1087. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1088. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1089. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1090. end
  1091. rng:Destroy()
  1092. end))
  1093. end
  1094.  
  1095. function SoulSteal(dude)
  1096. if dude.Name ~= char then
  1097. local bgf = IT("BodyGyro", dude.Head)
  1098. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1099. local val = IT("BoolValue", dude)
  1100. val.Name = "IsHit"
  1101. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1102. local soulst = coroutine.wrap(function()
  1103. local soul = Instance.new("Part",dude)
  1104. soul.Size = Vector3.new(1,1,1)
  1105. soul.CanCollide = false
  1106. soul.Anchored = false
  1107. soul.Position = torso.Position
  1108. soul.Transparency = 1
  1109. local PartEmmit1 = IT("ParticleEmitter", soul)
  1110. PartEmmit1.LightEmission = 1
  1111. PartEmmit1.Texture = "rbxassetid://569507414"
  1112. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1113. PartEmmit1.Rate = 250
  1114. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1115. PartEmmit1.Size = NumberSequence.new({
  1116. NumberSequenceKeypoint.new(0, 1, 0),
  1117. NumberSequenceKeypoint.new(1, 0, 0)
  1118. })
  1119. PartEmmit1.Transparency = NumberSequence.new({
  1120. NumberSequenceKeypoint.new(0, 0, 0),
  1121. NumberSequenceKeypoint.new(1, 1, 0)
  1122. })
  1123. PartEmmit1.Speed = NumberRange.new(0, 0)
  1124. PartEmmit1.VelocitySpread = 30000
  1125. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1126. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1127. local BodPoss = IT("BodyPosition", soul)
  1128. BodPoss.P = 3000
  1129. BodPoss.D = 1000
  1130. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1131. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1132. wait(1.6)
  1133. soul.Touched:connect(function(hit)
  1134. if hit.Parent == char then
  1135. soul:Destroy()
  1136. end
  1137. end)
  1138. wait(1.2)
  1139. while soul do
  1140. swait()
  1141. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1142. BodPoss.Position = tors.Position
  1143. end
  1144. end)
  1145. soulst()
  1146. end
  1147. end
  1148. function FaceMouse()
  1149. local Cam = workspace.CurrentCamera
  1150. return {
  1151. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1152. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1153. }
  1154. end
  1155. -------------------------------------------------------
  1156. --End Effect Function--
  1157. -------------------------------------------------------
  1158. function Cso(ID, PARENT, VOLUME, PITCH)
  1159. local NSound = nil
  1160. coroutine.resume(coroutine.create(function()
  1161. NSound = IT("Sound", PARENT)
  1162. NSound.Volume = VOLUME
  1163. NSound.Pitch = PITCH
  1164. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1165. swait()
  1166. NSound:play()
  1167. game:GetService("Debris"):AddItem(NSound, 10)
  1168. end))
  1169. return NSound
  1170. end
  1171. function CameraEnshaking(Length, Intensity)
  1172. coroutine.resume(coroutine.create(function()
  1173. local intensity = 1 * Intensity
  1174. local rotM = 0.01 * Intensity
  1175. for i = 0, Length, 0.1 do
  1176. swait()
  1177. intensity = intensity - 0.05 * Intensity / Length
  1178. rotM = rotM - 5.0E-4 * Intensity / Length
  1179. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1180. 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)
  1181. end
  1182. hum.CameraOffset = Vector3.new(0, 0, 0)
  1183. end))
  1184. end
  1185. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1186. local NEWWELD = IT(TYPE)
  1187. NEWWELD.Part0 = PART0
  1188. NEWWELD.Part1 = PART1
  1189. NEWWELD.C0 = C0
  1190. NEWWELD.C1 = C1
  1191. NEWWELD.Parent = PARENT
  1192. return NEWWELD
  1193. end
  1194.  
  1195. function MakeForm(PART,TYPE)
  1196. local MSH = nil
  1197. if TYPE == "Cyl" then
  1198. MSH = IT("CylinderMesh",PART)
  1199. elseif TYPE == "Ball" then
  1200. MSH = IT("SpecialMesh",PART)
  1201. MSH.MeshType = "Sphere"
  1202. elseif TYPE == "Wedge" then
  1203. MSH = IT("SpecialMesh",PART)
  1204. MSH.MeshType = "Wedge"
  1205. elseif TYPE == "Block" then
  1206. MSH = IT("SpecialMesh",PART)
  1207. MSH.MeshType = "Brick"
  1208. end
  1209. return MSH
  1210. end
  1211.  
  1212. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1213. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1214. end
  1215.  
  1216. function Sink(position,radius)
  1217. for i,v in ipairs(workspace:GetChildren()) do
  1218. if v:FindFirstChild("Hit2By"..plr.Name) == nil then
  1219. local body = v:GetChildren()
  1220. for part = 1, #body do
  1221. if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then
  1222. if(body[part].Position - position).Magnitude < radius then
  1223. if v.ClassName == "Model" then
  1224. v:FindFirstChildOfClass("Humanoid").Name = "Humanoid"
  1225. if v:FindFirstChild("Humanoid") then
  1226. local defence = Instance.new("BoolValue",v)
  1227. defence.Name = ("Hit2By"..plr.Name)
  1228. if v.Humanoid.Health ~= 0 then
  1229. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1230. if TORS ~= nil then
  1231. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v)
  1232. coroutine.resume(coroutine.create(function()
  1233. if HITFLOOR2 ~= nil then
  1234. TORS.Anchored = true
  1235. local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4))
  1236. Hole2.Color = Color3.new(0,0,0)
  1237. local MESH = MakeForm(Hole2,"Block")
  1238. MESH.Scale = Vector3.new(0,1,0)
  1239. Hole2.CFrame = CF(HITPOS2)
  1240. for i = 1, 10 do
  1241. swait()
  1242. MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1)
  1243. end
  1244. Cso("160440683", v:FindFirstChild("Head"), 10, .8)
  1245. Cso("154955269", v:FindFirstChild("Head"), 10, 1)
  1246. repeat
  1247. swait()
  1248. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1249. MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0)
  1250. until TORS.Position.Y<position.Y-4
  1251. v:remove()
  1252. for i = 1, 10 do
  1253. swait()
  1254. MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1)
  1255. end
  1256. Hole2:remove()
  1257. end
  1258. end))
  1259. end
  1260. end
  1261. end
  1262. end
  1263. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1264. end
  1265. end
  1266. end
  1267. end
  1268. end
  1269. end
  1270. function Trail(Part)
  1271. local TRAIL = Part:Clone()
  1272. TRAIL.CanCollide = false
  1273. TRAIL.Anchored = true
  1274. TRAIL.Parent = EffectModel
  1275. TRAIL.Name = "Trail"
  1276. local TRANS = Part.Transparency
  1277. coroutine.resume(coroutine.create(function()
  1278. for i = 1, 20 do
  1279. swait()
  1280. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1281. end
  1282. TRAIL:remove()
  1283. end))
  1284. end
  1285. -------------------------------------------------------
  1286. --End Important Functions--
  1287. -------------------------------------------------------
  1288.  
  1289.  
  1290. -------------------------------------------------------
  1291. --Start Customization--
  1292. -------------------------------------------------------
  1293. local Player_Size = 1
  1294. if Player_Size ~= 1 then
  1295. root.Size = root.Size * Player_Size
  1296. tors.Size = tors.Size * Player_Size
  1297. hed.Size = hed.Size * Player_Size
  1298. ra.Size = ra.Size * Player_Size
  1299. la.Size = la.Size * Player_Size
  1300. rl.Size = rl.Size * Player_Size
  1301. ll.Size = ll.Size * Player_Size
  1302. ----------------------------------------------------------------------------------
  1303. rootj.Parent = root
  1304. neck.Parent = tors
  1305. RW.Parent = tors
  1306. LW.Parent = tors
  1307. RH.Parent = tors
  1308. LH.Parent = tors
  1309. ----------------------------------------------------------------------------------
  1310. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1311. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1312. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1313. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1314. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1315. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1316. ----------------------------------------------------------------------------------
  1317. 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))
  1318. 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))
  1319. 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))
  1320. 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))
  1321. --hat.Parent = Character
  1322. end
  1323. ----------------------------------------------------------------------------------
  1324. local SONG = 601069330
  1325. local SONG2 = 0
  1326. local Music = Instance.new("Sound",tors)
  1327. Music.Volume = 2.5
  1328. Music.Looped = true
  1329. Music.Pitch = 1 --Pitcher
  1330. ----------------------------------------------------------------------------------
  1331. local equipped = false
  1332. local idle = 0
  1333. local change = 1
  1334. local val = 0
  1335. local toim = 0
  1336. local idleanim = 0.4
  1337. local sine = 0
  1338. local Sit = 1
  1339. local VALUE1 = false
  1340. local VALUE2 = false
  1341. ----------------------------------------------------------------------------------
  1342. hum.WalkSpeed = 26
  1343. hum.JumpPower = 57
  1344. --hum.Animator.Parent = nil
  1345. ----------------------------------------------------------------------------------
  1346. local naeeym2 = Instance.new("BillboardGui",char)
  1347. naeeym2.AlwaysOnTop = true
  1348. naeeym2.Size = UDim2.new(5,35,2,35)
  1349. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1350. naeeym2.Adornee = hed
  1351. naeeym2.Name = "Name"
  1352. local tecks2 = Instance.new("TextLabel",naeeym2)
  1353. tecks2.BackgroundTransparency = 1
  1354. tecks2.TextScaled = true
  1355. tecks2.BorderSizePixel = 0
  1356. tecks2.Text = "The God of The Void"
  1357. tecks2.Font = "Fantasy"
  1358. tecks2.TextSize = 30
  1359. tecks2.TextTransparency = 0
  1360. tecks2.TextStrokeTransparency = 0
  1361. tecks2.TextColor3 = Color3.new(0,0,0)
  1362. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1363. tecks2.Size = UDim2.new(1,0,0.5,0)
  1364. tecks2.Parent = naeeym2
  1365. ----------------------------------------------------------------------------------
  1366. local Hole = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(15,0,15))
  1367. local MESH = MakeForm(Hole,"Cyl")
  1368. local ROBLOXIDLEANIMATION = IT("Animation")
  1369. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1370. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1371. local ANIMATOR = hum.Animator
  1372. local ANIMATE = char.Animate
  1373. -------------------------------------------------------
  1374. --End Customization--
  1375. -------------------------------------------------------
  1376.  
  1377.  
  1378. -------------------------------------------------------
  1379. --Start Attacks N Stuff--
  1380. -------------------------------------------------------
  1381. function Intro()
  1382. coroutine.resume(coroutine.create(function()
  1383. attack = true
  1384. hum.WalkSpeed = 0
  1385. root.Anchored = true
  1386. tecks2.TextTransparency = 1
  1387. tecks2.TextStrokeTransparency = 1
  1388. for i = 0, 4, 0.1 do
  1389. swait()
  1390. 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)
  1391. 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)
  1392. 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)
  1393. 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)
  1394. 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)
  1395. 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)
  1396. end
  1397. for i = 0, 4, 0.1 do
  1398. swait()
  1399. 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)
  1400. 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)
  1401. 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)
  1402. 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)
  1403. 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)
  1404. 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)
  1405. end
  1406. tecks2.TextTransparency = 0
  1407. tecks2.TextStrokeTransparency = 0
  1408. VALUE1 = true
  1409. local part = CreatePart(3, EffectModel, "Neon", 0, 0, "Really red", "Eye", Vector3.new(0.2,0.3,0.1),false)
  1410. 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))
  1411. MakeForm(part,"Ball")
  1412. local part = CreatePart(3, EffectModel, "Neon", 0, 0, "Really red", "Eye", Vector3.new(0.2,0.3,0.1),false)
  1413. 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))
  1414. MakeForm(part,"Ball")
  1415. swait(15)
  1416. Cso("649634100", hed, 10, 0.5)
  1417. for i = 0, 6, 0.1 do
  1418. swait()
  1419. 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)
  1420. 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)
  1421. 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)
  1422. 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)
  1423. 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)
  1424. 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)
  1425. end
  1426. root.Anchored = false
  1427. attack = false
  1428. hum.WalkSpeed = 26
  1429. end))
  1430. end
  1431. function AbyssalGate()
  1432. coroutine.resume(coroutine.create(function()
  1433. attack = true
  1434. for i = 0, 6, 0.1 do
  1435. swait()
  1436. 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)
  1437. 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)
  1438. 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)
  1439. 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)
  1440. 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)
  1441. 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)
  1442. end
  1443. Cso("1075001850", root, 10, 3)
  1444. for i = 1, 350 do
  1445. swait()
  1446. Hole.Size = Hole.Size + Vector3.new(.4,0,.4)
  1447. 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)
  1448. 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)
  1449. 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)
  1450. 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)
  1451. 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)
  1452. 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)
  1453. end
  1454. swait()
  1455. for i = 1, 350 do
  1456. swait()
  1457. Hole.Size = Hole.Size - Vector3.new(.4,0,.4)
  1458. Trail(Hole)
  1459. 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)
  1460. 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)
  1461. 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)
  1462. 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)
  1463. 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)
  1464. 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)
  1465. end
  1466. attack = false
  1467. end))
  1468. end
  1469. function SinkingWarp()
  1470. attack = true
  1471. hum.WalkSpeed = 0
  1472. root.Anchored = true
  1473. for i = 0, 6, 0.1 do
  1474. swait()
  1475. 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)
  1476. 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)
  1477. 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)
  1478. 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)
  1479. 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)
  1480. 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)
  1481. end
  1482. tecks2.TextTransparency = 1
  1483. tecks2.TextStrokeTransparency = 1
  1484. for i = 0, 2, 0.1 do
  1485. swait()
  1486. 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)
  1487. 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)
  1488. 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)
  1489. 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)
  1490. 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)
  1491. 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)
  1492. end
  1493. for i = 1, 50 do
  1494. swait()
  1495. Trail(Hole)
  1496. MESH.Scale = MESH.Scale - Vector3.new(0.02,0,0.02)
  1497. end
  1498. local ORIGINPOS = root.Position
  1499. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  1500. Cso("154955269", Hole, 10, .7)
  1501. for i = 1, 50 do
  1502. swait()
  1503. MESH.Scale = MESH.Scale + Vector3.new(0.02,0,0.02)
  1504. end
  1505. tecks2.TextTransparency = 0
  1506. tecks2.TextStrokeTransparency = 0
  1507. for i = 0, 6, 0.1 do
  1508. swait()
  1509. 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)
  1510. 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)
  1511. 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)
  1512. 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)
  1513. 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)
  1514. 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)
  1515. end
  1516. attack = false
  1517. root.Anchored = false
  1518. hum.WalkSpeed = 26
  1519. end
  1520. function Taunt()
  1521. attack = true
  1522. Cso("649634100", hed, 10, 0.5)
  1523. for i = 0, 6, 0.1 do
  1524. swait()
  1525. 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)
  1526. 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)
  1527. 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)
  1528. 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)
  1529. 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)
  1530. 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)
  1531. end
  1532. attack = false
  1533. end
  1534. function AnnoyingSink()
  1535. coroutine.resume(coroutine.create(function()
  1536. attack = true
  1537. for i = 0, 6, 0.1 do
  1538. swait()
  1539. 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)
  1540. 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)
  1541. 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)
  1542. 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)
  1543. 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)
  1544. 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)
  1545. end
  1546. local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(15,0,15))
  1547. Hole2.Color = Color3.new(0,0,0)
  1548. local MESH = MakeForm(Hole2,"Cyl")
  1549. MESH.Scale = Vector3.new(0,1,0)
  1550. Hole2.CFrame = CF(mouse.Hit.p)
  1551. Cso("154955269", Hole2, 10, .7)
  1552. for i = 0, 3, 0.1 do
  1553. swait()
  1554. 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)
  1555. 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)
  1556. 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)
  1557. 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)
  1558. 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)
  1559. 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)
  1560. end
  1561. attack = false
  1562. for i = 1, 50 do
  1563. swait()
  1564. MESH.Scale = MESH.Scale + Vector3.new(0.02,0,0.02)
  1565. end
  1566. for i = 1, 200 do
  1567. swait()
  1568. Sink(Hole2.Position,Hole2.Size.X/2.2)
  1569. end
  1570. swait(100)
  1571. for i = 1, 50 do
  1572. swait()
  1573. Trail(Hole2)
  1574. MESH.Scale = MESH.Scale - Vector3.new(0.02,0,0.02)
  1575. end
  1576. Hole2:remove()
  1577. end))
  1578. end
  1579. -------------------------------------------------------
  1580. --End Attacks N Stuff--
  1581. -------------------------------------------------------
  1582. mouse.KeyDown:connect(function(key)
  1583. if attack == false then
  1584. if key == 'c' then
  1585. AbyssalGate()
  1586. elseif key == 'z' then
  1587. SinkingWarp()
  1588. elseif key == 'b' then
  1589. AnnoyingSink()
  1590. elseif key == 't' then
  1591. Taunt()
  1592. end
  1593. end
  1594. end)
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603. -------------------------------------------------------
  1604. --Start Animations--
  1605. -------------------------------------------------------
  1606. print("By Makhail07")
  1607. Intro()
  1608. while true do
  1609. swait()
  1610. ANIMATE.Parent = nil
  1611. local IDLEANIMATION = hum:LoadAnimation(ROBLOXIDLEANIMATION)
  1612. IDLEANIMATION:Play()
  1613. sine = sine + change
  1614. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1615. local velderp = root.Velocity.y
  1616. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 25 * Player_Size, char)
  1617. if equipped == true or equipped == false then
  1618. if attack == false then
  1619. idle = idle + 1
  1620. else
  1621. idle = 0
  1622. end
  1623. if 1 < root.Velocity.y and hitfloor == nil then
  1624. Anim = "Jump"
  1625. if attack == false then
  1626. 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)
  1627. 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)
  1628. 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)
  1629. 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)
  1630. 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)
  1631. 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)
  1632. end
  1633. elseif -1 > root.Velocity.y and hitfloor == nil then
  1634. Anim = "Fall"
  1635. if attack == false then
  1636. 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)
  1637. 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)
  1638. 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)
  1639. 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)
  1640. 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)
  1641. 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)
  1642. end
  1643. elseif torvel < 1 and hitfloor ~= nil then
  1644. Anim = "Idle"
  1645. change = 1
  1646. if attack == false then
  1647. 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)
  1648. 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)
  1649. 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)
  1650. 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)
  1651. 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)
  1652. 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)
  1653. end
  1654. elseif (tors.Velocity).magnitude < 200 and hitfloor ~= nil then
  1655. Anim = "Walk"
  1656. change = 1
  1657. if attack == false then
  1658. 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)
  1659. 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)
  1660. 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)
  1661. 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)
  1662. 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)
  1663. 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)
  1664. end
  1665. end
  1666. end
  1667. if hitfloor ~= nil then
  1668. Hole.CFrame = CF(posfloor)
  1669. end
  1670. Sink(Hole.Position, Hole.Size.X/2.2*MESH.Scale.X)
  1671. Hole.Color = Color3.new(0,0,0)
  1672. if VALUE1 == true then
  1673. --hum.HipHeight = 2
  1674. q = char:GetChildren()
  1675. for u = 1, #q do
  1676. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1677. q[u]:remove()
  1678. elseif q[u].ClassName == "Shirt" then
  1679. q[u]:Destroy()
  1680. elseif q[u].ClassName == "Pants" then
  1681. q[u]:Destroy()
  1682. elseif q[u].ClassName == "CharacterMesh" then
  1683. q[u]:remove()
  1684. elseif q[u].ClassName == "ShirtGraphic" then
  1685. q[u]:remove()
  1686. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1687. q[u].Color = Color3.new(0,0,0)
  1688. q[u].Material = "Neon"
  1689. end
  1690. end
  1691. if hed:FindFirstChild("Mesh") then
  1692. local mesh = hed.Mesh
  1693. if mesh.ClassName == "SpecialMesh" then
  1694. mesh:remove()
  1695. local m = IT("BlockMesh",hed)
  1696. m.Scale = Vector3.new(0.5,1,1)
  1697. end
  1698. end
  1699. if hed:FindFirstChild("face") then
  1700. hed.face:remove()
  1701. end
  1702. end
  1703. Music.SoundId = "rbxassetid://"..SONG
  1704. Music.Looped = true
  1705. Music.Pitch = 1
  1706. Music.Volume = 5
  1707. Music.Parent = char
  1708. Music:Resume()
  1709. if 0 < #Effects then
  1710. for e = 1, #Effects do
  1711. if Effects[e] ~= nil then
  1712. local Thing = Effects[e]
  1713. if Thing ~= nil then
  1714. local Part = Thing[1]
  1715. local Mode = Thing[2]
  1716. local Delay = Thing[3]
  1717. local IncX = Thing[4]
  1718. local IncY = Thing[5]
  1719. local IncZ = Thing[6]
  1720. if 1 >= Thing[1].Transparency then
  1721. if Thing[2] == "Block1" then
  1722. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1723. local Mesh = Thing[1].Mesh
  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] == "Block2" then
  1727. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 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] == "Block3" then
  1732. 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)
  1733. local Mesh = Thing[7]
  1734. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1735. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1736. elseif Thing[2] == "Cylinder" then
  1737. local Mesh = Thing[1].Mesh
  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] == "Blood" then
  1741. local Mesh = Thing[7]
  1742. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1743. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1744. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1745. elseif Thing[2] == "Elec" then
  1746. local Mesh = Thing[1].Mesh
  1747. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1748. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1749. elseif Thing[2] == "Disappear" then
  1750. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1751. elseif Thing[2] == "Shatter" then
  1752. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1753. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1754. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1755. Thing[6] = Thing[6] + Thing[5]
  1756. end
  1757. else
  1758. Part.Parent = nil
  1759. table.remove(Effects, e)
  1760. end
  1761. end
  1762. end
  1763. end
  1764. end
  1765. end
  1766. -------------------------------------------------------
  1767. --End Animations And Script--
  1768. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement