Advertisement
ZaGodlyNoob

SGR (NEW VERSION)

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