Advertisement
Guest User

Untitled

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