Advertisement
ericdesouza

Untitled

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