Advertisement
ericdesouza

Untitled

Mar 17th, 2018
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.80 KB | None | 0 0
  1. wait(0.2)
  2. Player = game:GetService("Players").LocalPlayer
  3. PlayerGui = Player.PlayerGui
  4. Cam = workspace.CurrentCamera
  5. Backpack = Player.Backpack
  6. Character = Player.Character
  7. Humanoid = Character.Humanoid
  8. Mouse = Player:GetMouse()
  9. RootPart = Character.HumanoidRootPart
  10. Torso = Character.Torso
  11. Head = Character.Head
  12. RightArm = Character["Right Arm"]
  13. LeftArm = Character["Left Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LeftLeg = Character["Left Leg"]
  16. RootJoint = RootPart.RootJoint
  17. Neck = Torso.Neck
  18. RightShoulder = Torso["Right Shoulder"]
  19. LeftShoulder = Torso["Left Shoulder"]
  20. RightHip = Torso["Right Hip"]
  21. LeftHip = Torso["Left Hip"]
  22. local LastBolt
  23. local LightningBolts = {}
  24. local GunPoint
  25. IT = Instance.new
  26. CF = CFrame.new
  27. VT = Vector3.new
  28. RAD = math.rad
  29. C3 = Color3.new
  30. UD2 = UDim2.new
  31. BRICKC = BrickColor.new
  32. ANGLES = CFrame.Angles
  33. EULER = CFrame.fromEulerAnglesXYZ
  34. COS = math.cos
  35. ACOS = math.acos
  36. SIN = math.sin
  37. ASIN = math.asin
  38. ABS = math.abs
  39. MRANDOM = math.random
  40. FLOOR = math.floor
  41. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  42. local NEWMESH = IT(MESH)
  43. if MESH == "SpecialMesh" then
  44. NEWMESH.MeshType = MESHTYPE
  45. if MESHID ~= "nil" and MESHID ~= "" then
  46. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  47. end
  48. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  49. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  50. end
  51. end
  52. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  53. NEWMESH.Scale = SCALE
  54. NEWMESH.Parent = PARENT
  55. return NEWMESH
  56. end
  57. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  58. local NEWPART = IT("Part")
  59. NEWPART.formFactor = FORMFACTOR
  60. NEWPART.Reflectance = REFLECTANCE
  61. NEWPART.Transparency = TRANSPARENCY
  62. NEWPART.CanCollide = false
  63. NEWPART.Locked = true
  64. NEWPART.Anchored = true
  65. if ANCHOR == false then
  66. NEWPART.Anchored = false
  67. end
  68. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  69. NEWPART.Name = NAME
  70. NEWPART.Size = SIZE
  71. NEWPART.Position = Torso.Position
  72. NEWPART.Material = MATERIAL
  73. NEWPART:BreakJoints()
  74. NEWPART.Parent = PARENT
  75. return NEWPART
  76. end
  77. Player_Size = 1 --Size of the player.
  78. Animation_Speed = 3
  79. Frame_Speed = 1 / 10 -- (1 / 5) OR (1 / 10)
  80. local Effects2 = {}
  81. local weldBetween = function(a, b)
  82. local weldd = Instance.new("ManualWeld")
  83. weldd.Part0 = a
  84. weldd.Part1 = b
  85. weldd.C0 = CFrame.new()
  86. weldd.C1 = b.CFrame:inverse() * a.CFrame
  87. weldd.Parent = a
  88. return weldd
  89. end
  90. function createaccessory(attachmentpart, mesh, texture, scale, offset, color)
  91. local acs = Instance.new("Part")
  92. acs.CanCollide = false
  93. acs.Anchored = false
  94. acs.Size = Vector3.new(0, 0, 0)
  95. acs.CFrame = attachmentpart.CFrame
  96. acs.Parent = Character
  97. acs.BrickColor = color
  98. local meshs = Instance.new("SpecialMesh")
  99. meshs.MeshId = mesh
  100. meshs.TextureId = texture
  101. meshs.Parent = acs
  102. meshs.Scale = scale
  103. meshs.Offset = offset
  104. weldBetween(attachmentpart, acs)
  105. end
  106. function createbodypart(TYPE, COLOR, PART, OFFSET, SIZE)
  107. if TYPE == "Gem" then
  108. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0, 0, 0))
  109. acs.Anchored = false
  110. acs.CanCollide = false
  111. acs.CFrame = PART.CFrame
  112. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  113. weldBetween(PART, acs)
  114. elseif TYPE == "Skull" then
  115. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0, 0, 0))
  116. acs.Anchored = false
  117. acs.CanCollide = false
  118. acs.CFrame = PART.CFrame
  119. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  120. weldBetween(PART, acs)
  121. elseif TYPE == "Eye" then
  122. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0, 0, 0))
  123. acs.Anchored = false
  124. acs.CanCollide = false
  125. acs.CFrame = PART.CFrame
  126. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  127. weldBetween(PART, acs)
  128. end
  129. end
  130. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  131. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  132. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  133. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  134. local CHANGEDEFENSE = 0
  135. local CHANGEDAMAGE = 0
  136. local CHANGEMOVEMENT = 0
  137. local ANIM = "Idle"
  138. local ATTACK = false
  139. local EQUIPPED = false
  140. local HOLD = false
  141. local COMBO = 1
  142. local Rooted = false
  143. local SINE = 0
  144. local KEYHOLD = false
  145. local CHANGE = 2 / Animation_Speed
  146. local WALKINGANIM = false
  147. local WALK = 0
  148. local VALUE1 = false
  149. local VALUE2 = false
  150. local ROBLOXIDLEANIMATION = IT("Animation")
  151. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  152. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  153. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  154. WEAPONGUI.Name = "Weapon GUI"
  155. local Weapon = IT("Model")
  156. Weapon.Name = "Adds"
  157. local Delete = IT("Model", Character)
  158. Delete.Name = "Those who must be banished."
  159. local Effects = IT("Folder", Weapon)
  160. Effects.Name = "Effects"
  161. local ANIMATOR = Humanoid.Animator
  162. local ANIMATE = Character.Animate
  163. local HITPLAYERSOUNDS = {
  164. "263032172",
  165. "263032182",
  166. "263032200",
  167. "263032221",
  168. "263032252",
  169. "263033191"
  170. }
  171. local HITARMORSOUNDS = {
  172. "199149321",
  173. "199149338",
  174. "199149367",
  175. "199149409",
  176. "199149452"
  177. }
  178. local HITWEAPONSOUNDS = {
  179. "199148971",
  180. "199149025",
  181. "199149072",
  182. "199149109",
  183. "199149119"
  184. }
  185. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  186. local UNANCHOR = true
  187. local SKILLTEXTCOLOR = C3(1, 0, 0)
  188. ArtificialHB = Instance.new("BindableEvent", script)
  189. ArtificialHB.Name = "ArtificialHB"
  190. script:WaitForChild("ArtificialHB")
  191. frame = Frame_Speed
  192. tf = 0
  193. allowframeloss = false
  194. tossremainder = false
  195. lastframe = tick()
  196. script.ArtificialHB:Fire()
  197. game:GetService("RunService").Heartbeat:connect(function(s, p)
  198. tf = tf + s
  199. if tf >= frame then
  200. if allowframeloss then
  201. script.ArtificialHB:Fire()
  202. lastframe = tick()
  203. else
  204. for i = 1, math.floor(tf / frame) do
  205. script.ArtificialHB:Fire()
  206. end
  207. lastframe = tick()
  208. end
  209. if tossremainder then
  210. tf = 0
  211. else
  212. tf = tf - frame * math.floor(tf / frame)
  213. end
  214. end
  215. end)
  216. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  217. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  218. end
  219. function PositiveAngle(NUMBER)
  220. if NUMBER >= 0 then
  221. NUMBER = 0
  222. end
  223. return NUMBER
  224. end
  225. function NegativeAngle(NUMBER)
  226. if NUMBER <= 0 then
  227. NUMBER = 0
  228. end
  229. return NUMBER
  230. end
  231. function Swait(NUMBER)
  232. if NUMBER == 0 or NUMBER == nil then
  233. ArtificialHB.Event:wait()
  234. else
  235. for i = 1, NUMBER do
  236. ArtificialHB.Event:wait()
  237. end
  238. end
  239. end
  240. function QuaternionFromCFrame(cf)
  241. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  242. local trace = m00 + m11 + m22
  243. if trace > 0 then
  244. local s = math.sqrt(1 + trace)
  245. local recip = 0.5 / s
  246. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  247. else
  248. local i = 0
  249. if m00 < m11 then
  250. i = 1
  251. end
  252. if m22 > (i == 0 and m00 or m11) then
  253. i = 2
  254. end
  255. if i == 0 then
  256. local s = math.sqrt(m00 - m11 - m22 + 1)
  257. local recip = 0.5 / s
  258. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  259. elseif i == 1 then
  260. local s = math.sqrt(m11 - m22 - m00 + 1)
  261. local recip = 0.5 / s
  262. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  263. elseif i == 2 then
  264. local s = math.sqrt(m22 - m00 - m11 + 1)
  265. local recip = 0.5 / s
  266. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  267. end
  268. end
  269. end
  270. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  271. local xs, ys, zs = x + x, y + y, z + z
  272. local wx, wy, wz = w * xs, w * ys, w * zs
  273. local xx = x * xs
  274. local xy = x * ys
  275. local xz = x * zs
  276. local yy = y * ys
  277. local yz = y * zs
  278. local zz = z * zs
  279. 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))
  280. end
  281. function QuaternionSlerp(a, b, t)
  282. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  283. local startInterp, finishInterp
  284. if cosTheta >= 1.0E-4 then
  285. if 1 - cosTheta > 1.0E-4 then
  286. local theta = ACOS(cosTheta)
  287. local invSinTheta = 1 / SIN(theta)
  288. startInterp = SIN((1 - t) * theta) * invSinTheta
  289. finishInterp = SIN(t * theta) * invSinTheta
  290. else
  291. startInterp = 1 - t
  292. finishInterp = t
  293. end
  294. elseif 1 + cosTheta > 1.0E-4 then
  295. local theta = ACOS(-cosTheta)
  296. local invSinTheta = 1 / SIN(theta)
  297. startInterp = SIN((t - 1) * theta) * invSinTheta
  298. finishInterp = SIN(t * theta) * invSinTheta
  299. else
  300. startInterp = t - 1
  301. finishInterp = t
  302. end
  303. 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
  304. end
  305. function Clerp(a, b, t)
  306. local qa = {
  307. QuaternionFromCFrame(a)
  308. }
  309. local qb = {
  310. QuaternionFromCFrame(b)
  311. }
  312. local ax, ay, az = a.x, a.y, a.z
  313. local bx, by, bz = b.x, b.y, b.z
  314. local _t = 1 - t
  315. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  316. end
  317. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  318. local frame = IT("Frame")
  319. frame.BackgroundTransparency = TRANSPARENCY
  320. frame.BorderSizePixel = BORDERSIZEPIXEL
  321. frame.Position = POSITION
  322. frame.Size = SIZE
  323. frame.BackgroundColor3 = COLOR
  324. frame.BorderColor3 = BORDERCOLOR
  325. frame.Name = NAME
  326. frame.Parent = PARENT
  327. return frame
  328. end
  329. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  330. local label = IT("TextLabel")
  331. label.BackgroundTransparency = 1
  332. label.Size = UD2(1, 0, 1, 0)
  333. label.Position = UD2(0, 0, 0, 0)
  334. label.TextColor3 = TEXTCOLOR
  335. label.TextStrokeTransparency = STROKETRANSPARENCY
  336. label.TextTransparency = TRANSPARENCY
  337. label.FontSize = TEXTFONTSIZE
  338. label.Font = TEXTFONT
  339. label.BorderSizePixel = BORDERSIZEPIXEL
  340. label.TextScaled = false
  341. label.Text = TEXT
  342. label.Name = NAME
  343. label.Parent = PARENT
  344. return label
  345. end
  346. function NoOutlines(PART)
  347. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  348. end
  349. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  350. local NEWWELD = IT(TYPE)
  351. NEWWELD.Part0 = PART0
  352. NEWWELD.Part1 = PART1
  353. NEWWELD.C0 = C0
  354. NEWWELD.C1 = C1
  355. NEWWELD.Parent = PARENT
  356. return NEWWELD
  357. end
  358. local SOUND = IT("Sound", nil)
  359. function CreateSound(ID, PARENT, VOLUME, PITCH)
  360. local NEWSOUND
  361. coroutine.resume(coroutine.create(function()
  362. NEWSOUND = SOUND:Clone()
  363. NEWSOUND.Parent = PARENT
  364. NEWSOUND.Volume = VOLUME
  365. NEWSOUND.Pitch = PITCH
  366. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  367. NEWSOUND:play()
  368. repeat
  369. Swait()
  370. until NEWSOUND.Playing == false
  371. NEWSOUND:remove()
  372. end))
  373. return NEWSOUND
  374. end
  375. function CFrameFromTopBack(at, top, back)
  376. local right = top:Cross(back)
  377. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  378. end
  379. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  380. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  381. local mesh = IT("SpecialMesh", wave)
  382. mesh.MeshType = "FileMesh"
  383. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  384. mesh.Scale = SIZE
  385. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  386. wave.CFrame = CFRAME
  387. coroutine.resume(coroutine.create(function(PART)
  388. for i = 1, WAIT do
  389. Swait()
  390. mesh.Scale = mesh.Scale + GROW
  391. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  392. if DOESROT == true then
  393. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  394. end
  395. wave.Transparency = wave.Transparency + 0.5 / WAIT
  396. if wave.Transparency > 0.99 then
  397. wave:remove()
  398. end
  399. end
  400. end))
  401. end
  402. function CreateCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  403. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  404. local mesh = IT("SpecialMesh", wave)
  405. mesh.MeshType = "FileMesh"
  406. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  407. mesh.Scale = SIZE
  408. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  409. wave.CFrame = CFRAME
  410. coroutine.resume(coroutine.create(function(PART)
  411. for i = 1, WAIT do
  412. Swait()
  413. mesh.Scale = mesh.Scale + GROW
  414. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  415. if DOESROT == true then
  416. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  417. end
  418. wave.Transparency = wave.Transparency + 0.5 / WAIT
  419. if wave.Transparency > 0.99 then
  420. wave:remove()
  421. end
  422. end
  423. end))
  424. end
  425. function CreateIceCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  426. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  427. local mesh = IT("SpecialMesh", wave)
  428. mesh.MeshType = "FileMesh"
  429. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  430. mesh.Scale = SIZE
  431. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  432. wave.CFrame = CFRAME
  433. coroutine.resume(coroutine.create(function(PART)
  434. for i = 1, WAIT do
  435. Swait()
  436. mesh.Scale = mesh.Scale + GROW
  437. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  438. if DOESROT == true then
  439. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  440. end
  441. wave.Transparency = wave.Transparency + 0.5 / WAIT
  442. if wave.Transparency > 0.99 then
  443. wave:remove()
  444. end
  445. end
  446. end))
  447. end
  448. function CreateSpikeball(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  449. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  450. local mesh = IT("SpecialMesh", wave)
  451. mesh.MeshType = "FileMesh"
  452. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  453. mesh.Scale = SIZE
  454. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  455. wave.CFrame = CFRAME
  456. coroutine.resume(coroutine.create(function(PART)
  457. for i = 1, WAIT do
  458. Swait()
  459. mesh.Scale = mesh.Scale + GROW
  460. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  461. if DOESROT == true then
  462. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  463. end
  464. wave.Transparency = wave.Transparency + 0.5 / WAIT
  465. if wave.Transparency > 0.99 then
  466. wave:remove()
  467. end
  468. end
  469. end))
  470. end
  471. function CreateSwirl(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  472. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  473. local mesh = IT("SpecialMesh", wave)
  474. mesh.MeshType = "FileMesh"
  475. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  476. mesh.Scale = SIZE
  477. wave.CFrame = CFRAME
  478. coroutine.resume(coroutine.create(function(PART)
  479. for i = 1, WAIT do
  480. Swait()
  481. mesh.Scale = mesh.Scale + GROW
  482. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  483. if DOESROT == true then
  484. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  485. end
  486. wave.Transparency = wave.Transparency + 0.5 / WAIT
  487. if wave.Transparency > 0.99 then
  488. wave:remove()
  489. end
  490. end
  491. end))
  492. end
  493. function CreateTornado(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  494. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  495. local mesh = IT("SpecialMesh", wave)
  496. mesh.MeshType = "FileMesh"
  497. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  498. mesh.Scale = SIZE
  499. wave.CFrame = CFRAME
  500. coroutine.resume(coroutine.create(function(PART)
  501. for i = 1, WAIT do
  502. Swait()
  503. mesh.Scale = mesh.Scale + GROW
  504. if DOESROT == true then
  505. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  506. end
  507. wave.Transparency = wave.Transparency + 0.5 / WAIT
  508. if wave.Transparency > 0.99 then
  509. wave:remove()
  510. end
  511. end
  512. end))
  513. end
  514. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  515. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  516. local mesh = IT("SpecialMesh", wave)
  517. mesh.MeshType = "FileMesh"
  518. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  519. mesh.Scale = SIZE
  520. mesh.Offset = VT(0, 0, 0)
  521. wave.CFrame = CFRAME
  522. coroutine.resume(coroutine.create(function(PART)
  523. for i = 1, WAIT do
  524. Swait()
  525. mesh.Scale = mesh.Scale + GROW
  526. if DOESROT == true then
  527. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  528. end
  529. wave.Transparency = wave.Transparency + 0.5 / WAIT
  530. if wave.Transparency > 0.99 then
  531. wave:remove()
  532. end
  533. end
  534. end))
  535. end
  536. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  537. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  538. local mesh = IT("SpecialMesh", wave)
  539. mesh.MeshType = "Sphere"
  540. mesh.Scale = SIZE
  541. mesh.Offset = VT(0, 0, 0)
  542. wave.CFrame = CFRAME
  543. coroutine.resume(coroutine.create(function(PART)
  544. for i = 1, WAIT do
  545. Swait()
  546. mesh.Scale = mesh.Scale + GROW
  547. wave.Transparency = wave.Transparency + 1 / WAIT
  548. if wave.Transparency > 0.99 then
  549. wave:remove()
  550. end
  551. end
  552. end))
  553. end
  554. function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
  555. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
  556. local mesh = IT("BlockMesh", wave)
  557. wave.CFrame = CFRAME
  558. coroutine.resume(coroutine.create(function(PART)
  559. for i = 1, WAIT do
  560. Swait()
  561. mesh.Scale = mesh.Scale + GROW
  562. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
  563. wave.Transparency = wave.Transparency + 1 / WAIT
  564. if wave.Transparency > 0.99 then
  565. wave:remove()
  566. end
  567. end
  568. end))
  569. end
  570. function MakeForm(PART, TYPE)
  571. if TYPE == "Cyl" then
  572. local MSH = IT("CylinderMesh", PART)
  573. elseif TYPE == "Ball" then
  574. local MSH = IT("SpecialMesh", PART)
  575. MSH.MeshType = "Sphere"
  576. elseif TYPE == "Wedge" then
  577. local MSH = IT("SpecialMesh", PART)
  578. MSH.MeshType = "Wedge"
  579. end
  580. end
  581. function CheckTableForString(Table, String)
  582. for i, v in pairs(Table) do
  583. if string.find(string.lower(String), string.lower(v)) then
  584. return true
  585. end
  586. end
  587. return false
  588. end
  589. function CheckIntangible(Hit)
  590. local ProjectileNames = {
  591. "Water",
  592. "Arrow",
  593. "Projectile",
  594. "Effect",
  595. "Rail",
  596. "Lightning",
  597. "Bullet"
  598. }
  599. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  600. return true
  601. end
  602. return false
  603. end
  604. Debris = game:GetService("Debris")
  605. BaseLightning = IT("Part")
  606. BaseLightning.Anchored = true
  607. BaseLightning.CanCollide = false
  608. BaseLightning.Material = "Neon"
  609. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  610. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  611. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  612. if RayHit and CheckIntangible(RayHit) then
  613. if DelayIfHit then
  614. wait()
  615. end
  616. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  617. end
  618. return RayHit, RayPos, RayNormal
  619. end
  620. function Zap(Table)
  621. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  622. local Duration = Table.Duration or 2
  623. local FadeRate = Table.FadeRate or 0.05
  624. local Offset = Table.Offset or 2
  625. local Individualize = Table.Individualize or false
  626. local MaxRange = Table.MaxRange or 200
  627. local SegmentLength = Table.SegmentLength or 5
  628. local TimeToFade = Table.TimeToFade or 0.5
  629. local Ignore = Table.Ignore or {}
  630. local SIZE = Table.Size or 0.3
  631. if not (StartPos and TargetPos) or not Character then
  632. return
  633. end
  634. local LightningModel = IT("Folder", Effects)
  635. LightningModel.Name = "ZAPP"
  636. for i, v in pairs({Character, LightningModel}) do
  637. table.insert(Ignore, v)
  638. end
  639. local LastPos = StartPos
  640. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  641. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  642. local RayLength = (StartPos - RayPos).Magnitude
  643. local Struck = false
  644. local TotalSegments = math.ceil(RayLength / SegmentLength)
  645. Direction = CFrame.new(StartPos, RayPos).lookVector
  646. local LightningBolt = IT("Model", Effects)
  647. LightningBolt.Name = "Lightning"
  648. if not Individualize then
  649. table.insert(LightningBolts, LightningBolt)
  650. end
  651. LastBolt = LightningBolt
  652. Debris:AddItem(LightningBolt, Duration)
  653. LightningBolt.Parent = LightningModel
  654. for i = 1, TotalSegments do
  655. if not Struck then
  656. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  657. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  658. local SegmentVec = NewPos - LastPos
  659. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  660. local RayVec = LastPos - RayPos
  661. local LightningPart = BaseLightning:Clone()
  662. LightningPart.BrickColor = BrickColor.new(Color)
  663. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  664. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  665. table.insert(Effects2, {
  666. LightningPart,
  667. "Disappear",
  668. 0.025,
  669. 1,
  670. 1,
  671. 1,
  672. 2
  673. })
  674. local CylinderMesh = IT("CylinderMesh", LightningPart)
  675. local OrigCF = LightningPart.CFrame
  676. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  677. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  678. LightningPart.Parent = LightningBolt
  679. LastPos = NewPos
  680. end
  681. end
  682. return {
  683. RayHit = RayHit,
  684. RayPos = RayPos,
  685. RayNormal = RayNormal,
  686. LightningModel = LightningModel
  687. }
  688. end
  689. function turnto(position)
  690. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  691. end
  692. function chatfunc(text, waitt)
  693. local chat = coroutine.wrap(function()
  694. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  695. Character:FindFirstChild("TalkingBillBoard").Parent = nil
  696. end
  697. local naeeym2 = Instance.new("BillboardGui", Character)
  698. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  699. naeeym2.StudsOffset = Vector3.new(0, 2, 0)
  700. naeeym2.Adornee = Character.Head
  701. naeeym2.Name = "TalkingBillBoard"
  702. naeeym2.AlwaysOnTop = true
  703. local tecks2 = Instance.new("TextLabel", naeeym2)
  704. tecks2.BackgroundTransparency = 1
  705. tecks2.BorderSizePixel = 0
  706. tecks2.Text = ""
  707. tecks2.Font = "Antique"
  708. tecks2.TextSize = 30
  709. tecks2.TextStrokeTransparency = 1
  710. tecks2.TextColor3 = SKILLTEXTCOLOR
  711. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  712. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  713. for i = 1, string.len(text) do
  714. if naeeym2.Parent ~= nil then
  715. CreateSound("418252437", Effects, 1, MRANDOM(9, 11) / 10)
  716. end
  717. tecks2.Text = string.sub(text, 1, i)
  718. Swait(3)
  719. end
  720. wait(waitt / 10)
  721. coroutine.resume(coroutine.create(function()
  722. for i = 1, 10 do
  723. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  724. Swait()
  725. end
  726. naeeym2:Destroy()
  727. end))
  728. end)
  729. chat()
  730. end
  731. for _, c in pairs(Weapon:GetChildren()) do
  732. if c.ClassName == "Part" then
  733. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  734. end
  735. end
  736. Weapon.Parent = Character
  737. Humanoid.Died:connect(function()
  738. ATTACK = true
  739. end)
  740. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  741. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  742. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
  743. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 4 Frame")
  744. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame")
  745. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher bullet", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
  746. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Banishing rampage", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
  747. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Warp vector", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 3")
  748. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Spectral banish", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 4")
  749. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] De-banish", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 5")
  750. function CastWarpOutlines(TARGET)
  751. coroutine.resume(coroutine.create(function()
  752. local T = TARGET:GetChildren()
  753. for i = 1, #T do
  754. local child = T[i]
  755. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  756. do
  757. local clone = child:Clone()
  758. clone.Parent = Effects
  759. clone.Anchored = true
  760. clone.CanCollide = false
  761. clone:ClearAllChildren()
  762. clone.CFrame = child.CFrame
  763. if clone.Name == "Head" then
  764. clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
  765. end
  766. if clone.ClassName == "MeshPart" then
  767. clone.TextureID = ""
  768. end
  769. clone.Color = C3(1, 0, 0)
  770. clone.Material = "Neon"
  771. coroutine.resume(coroutine.create(function()
  772. for i = 1, 100 do
  773. Swait()
  774. clone.Transparency = clone.Transparency + 0.01
  775. clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
  776. end
  777. clone:remove()
  778. end))
  779. end
  780. end
  781. end
  782. end))
  783. end
  784. function killnearest(position, range, maxstrength)
  785. for i, v in ipairs(workspace:GetChildren()) do
  786. local body = v:GetChildren()
  787. for part = 1, #body do
  788. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
  789. CastWarpOutlines(v)
  790. v:remove()
  791. if game.Players:FindFirstChild(v.Name) then
  792. local Value = IT("BoolValue", Delete)
  793. Value.Name = v.Name
  794. end
  795. end
  796. end
  797. end
  798. end
  799. function CastProperRay(StartPos, Vec, Length, Ignore)
  800. local Direction = CFrame.new(StartPos, Vec).lookVector
  801. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  802. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  803. return RayHit, RayPos, RayNormal
  804. end
  805. function Debree(POS, SWAIT)
  806. coroutine.resume(coroutine.create(function()
  807. local HOLDER = IT("Model", Effects)
  808. HOLDER.Name = "Debree"
  809. local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  810. MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  811. MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  812. MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  813. repeat
  814. Swait()
  815. until HITFLOOR ~= nil
  816. local O = 0
  817. for i = 1, 18 do
  818. do
  819. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  820. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  821. O = O - 2.25 + i / 4
  822. coroutine.resume(coroutine.create(function()
  823. Swait(SWAIT)
  824. for i = 1, 60 do
  825. Swait()
  826. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  827. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  828. end
  829. for i = 1, 50 do
  830. Swait()
  831. Part.Size = Part.Size * 0.9
  832. end
  833. end))
  834. end
  835. end
  836. local O = 0
  837. for i = 1, 18 do
  838. do
  839. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  840. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  841. O = O + 2.25 - i / 4
  842. coroutine.resume(coroutine.create(function()
  843. Swait(SWAIT)
  844. for i = 1, 60 do
  845. Swait()
  846. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  847. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  848. end
  849. for i = 1, 50 do
  850. Swait()
  851. Part.Size = Part.Size * 0.9
  852. end
  853. end))
  854. end
  855. end
  856. Swait(SWAIT + 110)
  857. HOLDER:remove()
  858. end))
  859. end
  860. function Intro()
  861. coroutine.resume(coroutine.create(function()
  862. ATTACK = true
  863. Rooted = true
  864. for i = 0, 3, 0.1 / Animation_Speed do
  865. Swait()
  866. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  867. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  868. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  869. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  870. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  871. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  872. end
  873. CreateSound("649634100", Head, 10, 0.5)
  874. for i = 0, 1, 0.1 / Animation_Speed do
  875. Swait()
  876. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
  877. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  878. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  879. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  880. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  881. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  882. end
  883. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  884. repeat
  885. Swait()
  886. HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  887. until HITFLOOR ~= nil
  888. for i = 0, 0.5, 0.1 / Animation_Speed do
  889. Swait()
  890. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 0.5 / Animation_Speed)
  891. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  892. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  893. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  894. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  895. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  896. end
  897. CreateSound("289842971", RightArm, 10, 1)
  898. Debree(CF(RightArm.Position) * CF(0, -0.75, 0).p, 200)
  899. Swait(45)
  900. local Gun = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0), false)
  901. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  902. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  903. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  904. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  905. local sick = Instance.new("Sound", Character)
  906. sick.SoundId = "rbxassetid://1140442110"
  907. sick.Looped = true
  908. sick.Pitch = 1
  909. sick.Volume = 1
  910. sick:Play()
  911. Swait(5)
  912. for i = 0, 1, 0.1 / Animation_Speed do
  913. Swait()
  914. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
  915. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  916. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.25, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  917. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  918. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  919. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  920. end
  921. VALUE1 = true
  922. Swait(10)
  923. ATTACK = false
  924. Rooted = false
  925. end))
  926. end
  927. function BanishingBullet()
  928. ATTACK = true
  929. Rooted = false
  930. for i = 0, 0.4, 0.1 / Animation_Speed do
  931. Swait()
  932. turnto(Mouse.Hit.p)
  933. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  934. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  935. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  936. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  937. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  938. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  939. end
  940. repeat
  941. for i = 0, 0.2, 0.1 / Animation_Speed do
  942. Swait()
  943. turnto(Mouse.Hit.p)
  944. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  945. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  946. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  947. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  948. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  949. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  950. end
  951. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  952. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  953. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  954. local RayHit, Way = CastProperRay(GunPoint.Position, Mouse.Hit.p, 1500, Character)
  955. local distance = (GunPoint.Position - Way).magnitude
  956. for i = 1, 5 do
  957. local laser = Instance.new("Part", Effects)
  958. laser.Transparency = 0
  959. laser.CanCollide = false
  960. laser.Anchored = true
  961. laser.Color = C3(1, 0, 0)
  962. laser.Material = "Neon"
  963. laser.formFactor = Enum.FormFactor.Custom
  964. laser.Size = Vector3.new(0.15, 0.15, distance)
  965. laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  966. MagicSphere(VT(0.1, 0.1, 0.1), 45, CF(Way), "Really red", VT(0.05, 0.05, 0.05))
  967. for i = 1, 5 do
  968. MagicSphere(VT(0.2, 0.2, 1), 65, CF(CF(Way) * CF(MRANDOM(-1, 1), MRANDOM(-1, 1), MRANDOM(-1, 1)).p, Way), "Really red", VT(0.001, 0.001, 0), 0.5)
  969. end
  970. table.insert(Effects2, {
  971. laser,
  972. "Disappear",
  973. 0.1,
  974. 1,
  975. 1,
  976. 1,
  977. 2
  978. })
  979. if RayHit ~= nil then
  980. local v = RayHit.Parent
  981. if v ~= nil and v.ClassName == "Model" then
  982. CastWarpOutlines(v)
  983. v.Parent = nil
  984. if game.Players:FindFirstChild(v.Name) then
  985. local Value = IT("BoolValue", Delete)
  986. Value.Name = v.Name
  987. end
  988. end
  989. end
  990. end
  991. for i = 0, 0.3, 0.1 / Animation_Speed do
  992. Swait()
  993. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  994. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  995. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  996. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  997. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  998. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  999. end
  1000. until KEYHOLD == false
  1001. ATTACK = false
  1002. Rooted = false
  1003. end
  1004. function WarpVector()
  1005. ATTACK = true
  1006. Rooted = true
  1007. for i = 0, 1, 0.1 / Animation_Speed do
  1008. Swait()
  1009. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1010. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1011. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1012. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1013. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1014. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1015. end
  1016. Debree(CF(RootPart.Position) * CF(0, -2.8, 0).p, 75)
  1017. UNANCHOR = false
  1018. RootPart.Anchored = true
  1019. for i = 0, 2, 0.1 / Animation_Speed do
  1020. Swait()
  1021. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1022. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1023. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1024. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1025. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1026. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1027. end
  1028. local POS = RootPart.Position
  1029. RootPart.CFrame = CF(CF(Mouse.Hit.p) * CF(0, 2.8, 0).p, POS)
  1030. Debree(CF(RootPart.Position) * CF(0, -2.5, 0).p, 150)
  1031. for i = 0, 2, 0.1 / Animation_Speed do
  1032. Swait()
  1033. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1034. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1035. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1036. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1037. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1038. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1039. end
  1040. ATTACK = false
  1041. Rooted = false
  1042. end
  1043. function BanishingRampage()
  1044. ATTACK = true
  1045. Rooted = false
  1046. chatfunc("Be gone...", 3)
  1047. for i = 0, 2, 0.1 / Animation_Speed do
  1048. Swait()
  1049. turnto(Mouse.Hit.p)
  1050. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1051. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1052. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1053. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1054. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1055. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1056. end
  1057. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1058. repeat
  1059. Swait()
  1060. HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1061. until HITFLOOR ~= nil
  1062. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  1063. local SOUND = CreateSound("415700134", Effects, 10, 1.6)
  1064. CreateSound("138677306", Effects, 7, 1.2)
  1065. coroutine.resume(coroutine.create(function()
  1066. local CFRAME = RootPart.CFrame * CF(0, -1.2, -3)
  1067. local SIZE = 1
  1068. while true do
  1069. Swait()
  1070. for i = 1, 2 do
  1071. MagicSphere(VT(SIZE / 5, SIZE / 5, SIZE * 2), 65, CF(CFRAME * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, CFRAME.p), "Really red", VT(0.001, 0.001, 0), 0.5)
  1072. end
  1073. do
  1074. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  1075. Part.CFrame = CFRAME * CF(SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  1076. coroutine.resume(coroutine.create(function()
  1077. Swait(200)
  1078. Part.Anchored = false
  1079. end))
  1080. local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
  1081. Part.CFrame = CFRAME * CF(-SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  1082. coroutine.resume(coroutine.create(function()
  1083. Swait(200)
  1084. Part.Anchored = false
  1085. end))
  1086. MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Really red", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
  1087. killnearest(CFRAME.p, SIZE, 0)
  1088. SIZE = SIZE + 2
  1089. CFRAME = CFRAME * CF(0, 0, -2)
  1090. if SOUND.Playing == false then
  1091. break
  1092. end
  1093. end
  1094. end
  1095. end))
  1096. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  1097. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  1098. for i = 0, 3, 0.1 / Animation_Speed do
  1099. Swait()
  1100. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1101. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1102. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1103. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1104. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1105. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1106. end
  1107. ATTACK = false
  1108. Rooted = false
  1109. end
  1110. function SpectralBanishing()
  1111. ATTACK = true
  1112. Rooted = false
  1113. chatfunc("If you desire to be a ghost...", 20)
  1114. for i = 0, 5, 0.1 / Animation_Speed do
  1115. Swait()
  1116. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  1117. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  1118. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1119. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1120. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1121. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1122. end
  1123. chatfunc("Then move on to the afterlife!", 6)
  1124. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  1125. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  1126. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  1127. local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
  1128. local distance = (GunPoint.Position - Way).magnitude
  1129. for i = 1, 5 do
  1130. local laser = Instance.new("Part", Effects)
  1131. laser.Transparency = 0
  1132. laser.CanCollide = false
  1133. laser.Anchored = true
  1134. laser.Color = C3(1, 0, 0)
  1135. laser.Material = "Neon"
  1136. laser.formFactor = Enum.FormFactor.Custom
  1137. laser.Size = Vector3.new(0.15, 0.15, distance)
  1138. laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  1139. table.insert(Effects2, {
  1140. laser,
  1141. "Disappear",
  1142. 0.1,
  1143. 1,
  1144. 1,
  1145. 1,
  1146. 2
  1147. })
  1148. end
  1149. coroutine.resume(coroutine.create(function()
  1150. Swait(15)
  1151. local FILTER = IT("ColorCorrectionEffect", game.Lighting)
  1152. for i = 1, 25 do
  1153. Swait()
  1154. FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
  1155. end
  1156. local GAME = game.Players:GetChildren()
  1157. for PLAYER = 1, #GAME do
  1158. do
  1159. local PLAY = GAME[PLAYER]
  1160. if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
  1161. PLAY.Character.Parent = nil
  1162. coroutine.resume(coroutine.create(function()
  1163. if PLAY.Character:FindFirstChild("HumanoidRootPart") then
  1164. PLAY.Character.Parent = workspace
  1165. local Value = IT("BoolValue", Delete)
  1166. Value.Name = PLAY.Name
  1167. end
  1168. end))
  1169. end
  1170. end
  1171. end
  1172. for i = 1, 25 do
  1173. Swait()
  1174. FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50)
  1175. end
  1176. end))
  1177. for i = 0, 2, 0.1 / Animation_Speed do
  1178. Swait()
  1179. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  1180. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  1181. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1182. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1183. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1184. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1185. end
  1186. ATTACK = false
  1187. Rooted = false
  1188. end
  1189. function Taunt()
  1190. ATTACK = true
  1191. Rooted = true
  1192. CreateSound("649634100", Head, 10, 0.5)
  1193. for i = 1, 3 do
  1194. for i = 0, 0.7, 0.1 / Animation_Speed do
  1195. Swait()
  1196. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1197. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1198. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5)
  1199. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-145)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 0.5)
  1200. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1201. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1202. end
  1203. for i = 0, 0.7, 0.1 / Animation_Speed do
  1204. Swait()
  1205. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1206. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1207. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5)
  1208. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-145)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 0.5)
  1209. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1210. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1211. end
  1212. end
  1213. ATTACK = false
  1214. Rooted = false
  1215. end
  1216. function MouseDown(Mouse)
  1217. if ATTACK == false then
  1218. end
  1219. end
  1220. function MouseUp(Mouse)
  1221. HOLD = false
  1222. end
  1223. function KeyDown(Key)
  1224. KEYHOLD = true
  1225. if Key == "z" and ATTACK == false then
  1226. BanishingBullet()
  1227. end
  1228. if Key == "b" and ATTACK == false then
  1229. BanishingRampage()
  1230. end
  1231. if Key == "c" and ATTACK == false then
  1232. WarpVector()
  1233. end
  1234. if Key == "v" and ATTACK == false then
  1235. SpectralBanishing()
  1236. end
  1237. if Key == "x" and ATTACK == false then
  1238. chatfunc("I will show you mercy.", 2)
  1239. Delete:ClearAllChildren()
  1240. end
  1241. if Key == "t" and ATTACK == false then
  1242. Taunt()
  1243. end
  1244. end
  1245. function KeyUp(Key)
  1246. KEYHOLD = false
  1247. end
  1248. Mouse.Button1Down:connect(function(NEWKEY)
  1249. MouseDown(NEWKEY)
  1250. end)
  1251. Mouse.Button1Up:connect(function(NEWKEY)
  1252. MouseUp(NEWKEY)
  1253. end)
  1254. Mouse.KeyDown:connect(function(NEWKEY)
  1255. KeyDown(NEWKEY)
  1256. end)
  1257. Mouse.KeyUp:connect(function(NEWKEY)
  1258. KeyUp(NEWKEY)
  1259. end)
  1260. function unanchor()
  1261. if UNANCHOR == true then
  1262. g = Character:GetChildren()
  1263. for i = 1, #g do
  1264. if g[i].ClassName == "Part" then
  1265. g[i].Anchored = false
  1266. end
  1267. end
  1268. end
  1269. end
  1270. Humanoid.Changed:connect(function(Jump)
  1271. if Jump == "Jump" and Disable_Jump == true then
  1272. Humanoid.Jump = false
  1273. end
  1274. end)
  1275. local BOLT
  1276. local FF = IT("ForceField", Character)
  1277. FF.Visible = false
  1278. while true do
  1279. Swait()
  1280. if BOLT ~= nil then
  1281. BOLT:remove()
  1282. end
  1283. ANIMATE.Parent = nil
  1284. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1285. IDLEANIMATION:Play()
  1286. SINE = SINE + CHANGE
  1287. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1288. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1289. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1290. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1291. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1292. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1293. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1294. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1295. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1296. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1297. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
  1298. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1299. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1300. RightHip.C1 = Clerp(RightHip.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)), 0.2 / Animation_Speed)
  1301. LeftHip.C1 = Clerp(LeftHip.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)), 0.2 / Animation_Speed)
  1302. end
  1303. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1304. ANIM = "Jump"
  1305. if ATTACK == false then
  1306. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1307. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1310. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1311. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1312. end
  1313. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1314. ANIM = "Fall"
  1315. if ATTACK == false then
  1316. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1317. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1318. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(55), RAD(0), RAD(55)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1319. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1320. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1321. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1322. end
  1323. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1324. ANIM = "Idle"
  1325. if ATTACK == false then
  1326. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1327. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1328. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1329. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1330. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1331. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1332. end
  1333. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1334. ANIM = "Walk"
  1335. WALK = WALK + 1 / Animation_Speed
  1336. if WALK >= 15 - 5 * (Humanoid.WalkSpeed / 16 / Player_Size) then
  1337. WALK = 0
  1338. if WALKINGANIM == true then
  1339. WALKINGANIM = false
  1340. elseif WALKINGANIM == false then
  1341. WALKINGANIM = true
  1342. end
  1343. end
  1344. if ATTACK == false then
  1345. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1346. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1347. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1348. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1349. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1350. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1351. end
  1352. end
  1353. if #Effects2 > 0 then
  1354. for e = 1, #Effects2 do
  1355. if Effects2[e] ~= nil then
  1356. local Thing = Effects2[e]
  1357. if Thing ~= nil then
  1358. local Part = Thing[1]
  1359. local Mode = Thing[2]
  1360. local Delay = Thing[3]
  1361. local IncX = Thing[4]
  1362. local IncY = Thing[5]
  1363. local IncZ = Thing[6]
  1364. local Part2 = Thing[8]
  1365. if Thing[1].Transparency <= 1 then
  1366. if Thing[2] == "Block1" then
  1367. Thing[1].CFrame = Thing[1].CFrame
  1368. Mesh = Thing[1].Mesh
  1369. Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
  1370. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1371. elseif Thing[2] == "Cylinder" then
  1372. Mesh = Thing[1].Mesh
  1373. Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
  1374. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1375. elseif Thing[2] == "Blood" then
  1376. Mesh = Thing[7]
  1377. Thing[1].CFrame = Thing[1].CFrame * CF(0, 0.5, 0)
  1378. Mesh.Scale = Mesh.Scale + VT(Thing[4], Thing[5], Thing[6])
  1379. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1380. elseif Thing[2] == "Elec" then
  1381. Mesh = Thing[1].Mesh
  1382. Mesh.Scale = Mesh.Scale + VT(Thing[7], Thing[8], Thing[9])
  1383. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1384. elseif Thing[2] == "Disappear" then
  1385. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1386. end
  1387. else
  1388. Part.Parent = nil
  1389. table.remove(Effects2, e)
  1390. end
  1391. end
  1392. end
  1393. end
  1394. end
  1395. unanchor()
  1396. Humanoid.MaxHealth = "inf"
  1397. Humanoid.Health = "inf"
  1398. if Rooted == false then
  1399. Disable_Jump = false
  1400. Humanoid.WalkSpeed = Speed
  1401. elseif Rooted == true then
  1402. Disable_Jump = true
  1403. Humanoid.WalkSpeed = 0
  1404. end
  1405. if VALUE1 == true then
  1406. local RayData = Zap({
  1407. SegmentLength = 0.6,
  1408. Offset = 0.3,
  1409. Size = 0.05,
  1410. MaxRange = 1.5,
  1411. StartPosition = GunPoint.Position,
  1412. TargetPosition = RightArm.Position,
  1413. Character = workspace,
  1414. Color = "Really red",
  1415. Individual = true
  1416. })
  1417. BOLT = RayData.LightningModel
  1418. MagicSphere(VT(0.5, 0.5, 0.5), 15, GunPoint.CFrame, "Really red", VT(-0.03333333333333333, -0.03333333333333333, -0.03333333333333333))
  1419. SKILL1TEXT.TextTransparency = 0
  1420. SKILL2TEXT.TextTransparency = 0
  1421. SKILL3TEXT.TextTransparency = 0
  1422. SKILL4TEXT.TextTransparency = 0
  1423. SKILL5TEXT.TextTransparency = 0
  1424. elseif VALUE1 == false then
  1425. if ATTACK == false then
  1426. Intro()
  1427. end
  1428. SKILL1TEXT.TextTransparency = 1
  1429. SKILL2TEXT.TextTransparency = 1
  1430. SKILL3TEXT.TextTransparency = 1
  1431. SKILL4TEXT.TextTransparency = 1
  1432. SKILL5TEXT.TextTransparency = 1
  1433. end
  1434. local MATHS = {"0", "1"}
  1435. Humanoid.Name = MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)] .. MATHS[MRANDOM(1, #MATHS)]
  1436. Humanoid.PlatformStand = false
  1437. local GAME = game.Players:GetChildren()
  1438. for PLAYER = 1, #GAME do
  1439. local PLAY = GAME[PLAYER]
  1440. if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then
  1441. PLAY.Character:remove()
  1442. end
  1443. end
  1444. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement