Advertisement
Bendy928443534

Untitled

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