OofNoob

gun kill ghost

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