Advertisement
zed_isJayTheLionJR

The true immortal killer

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