Advertisement
Bendy928443534

Untitled

Jul 19th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.39 KB | None | 0 0
  1. script.Name = "Banisher V5"
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5. --//====================================================\\--
  6. --|| EDITED BY ERICDESOUZA
  7. --\\====================================================//--
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. --TOBANISH = {} = unbanish player
  15.  
  16. script:ClearAllChildren()
  17. wait(0.2)
  18.  
  19. Player = game:GetService("Players").ehanjerome8
  20. PlayerGui = Player.PlayerGui
  21. Cam = workspace.CurrentCamera
  22. Backpack = Player.Backpack
  23. Character = Player.Character
  24. Humanoid = Character.Humanoid
  25. RootPart = Character["HumanoidRootPart"]
  26. Torso = Character["Torso"]
  27. Head = Character["Head"]
  28. RightArm = Character["Right Arm"]
  29. LeftArm = Character["Left Arm"]
  30. RightLeg = Character["Right Leg"]
  31. LeftLeg = Character["Left Leg"]
  32. RootJoint = RootPart["RootJoint"]
  33. Neck = Torso["Neck"]
  34. RightShoulder = Torso["Right Shoulder"]
  35. LeftShoulder = Torso["Left Shoulder"]
  36. RightHip = Torso["Right Hip"]
  37. LeftHip = Torso["Left Hip"]
  38. local TIME = 0
  39. local sick = Instance.new("Sound",Torso)
  40.  
  41. IT = Instance.new
  42. CF = CFrame.new
  43. VT = Vector3.new
  44. RAD = math.rad
  45. C3 = Color3.new
  46. UD2 = UDim2.new
  47. BRICKC = BrickColor.new
  48. ANGLES = CFrame.Angles
  49. EULER = CFrame.fromEulerAnglesXYZ
  50. COS = math.cos
  51. ACOS = math.acos
  52. SIN = math.sin
  53. ASIN = math.asin
  54. ABS = math.abs
  55. MRANDOM = math.random
  56. FLOOR = math.floor
  57.  
  58. --//=================================\\
  59. --|| USEFUL VALUES
  60. --\\=================================//
  61.  
  62. Animation_Speed = 3
  63. local FORCERESET = false
  64. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  65. local Speed = 16
  66. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  67. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  68. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  69. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  70. local DAMAGEMULTIPLIER = 1
  71. local ANIM = "Idle"
  72. local ATTACK = false
  73. local EQUIPPED = false
  74. local HOLD = false
  75. local COMBO = 1
  76. local Rooted = false
  77. local SINE = 0
  78. local KEYHOLD = false
  79. local CHANGE = 2 / Animation_Speed
  80. local WALKINGANIM = false
  81. local VALUE1 = false
  82. local VALUE2 = false
  83. local WALKINGANIM = false
  84. local WALK = 0
  85. local REGENRATE = 1
  86. local FULLREGEN = false
  87. local POSEIDON = false
  88. local EXPLOSIONSMALLSOUND = 439342426
  89. local EXPLOSIONMEDIUMSOUND = 605005842
  90. local EXPLOSIONLARGESOUND = 565538688
  91. local CHARGE = 278641993
  92. local POSEIDONSOUND = 374289727
  93. local FIREBALLSOUND = 414517770
  94. local BURNSOUND = 565777213
  95. local FIREFIELD = false
  96. local SEARING = false
  97. local BODYPOS = nil
  98. local GYRO = nil
  99. local ROBLOXIDLEANIMATION = IT("Animation")
  100. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  101. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=2971808194"
  102. --ROBLOXIDLEANIMATION.Parent = Humanoid
  103. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  104. WEAPONGUI.Name = "BanishV3Gui"
  105. local Weapon = IT("Model")
  106. Weapon.Name = "Adds"
  107. local Effects = IT("Folder", Weapon)
  108. Effects.Name = "Effects"
  109. local ANIMATOR = Humanoid.Animator
  110. local ANIMATE = Character:FindFirstChild("Animate")
  111. local UNANCHOR = true
  112. local TOBANISH = {}
  113. script.Parent = PlayerGui
  114. Player_Size = 1
  115. local i = 1
  116. local SKILLTEXTCOLOR = C3(1, 0, 0)
  117. local I = 1
  118. local DED = false
  119. local FADERS = true
  120.  
  121.  
  122. --//=================================\\
  123. --\\=================================//
  124.  
  125.  
  126. --//=================================\\
  127. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  128. --\\=================================//
  129.  
  130. ArtificialHB = Instance.new("BindableEvent", script)
  131. ArtificialHB.Name = "ArtificialHB"
  132.  
  133. script:WaitForChild("ArtificialHB")
  134.  
  135. frame = Frame_Speed
  136. tf = 0
  137. allowframeloss = false
  138. tossremainder = false
  139. lastframe = tick()
  140. script.ArtificialHB:Fire()
  141.  
  142. game:GetService("RunService").Heartbeat:connect(function(s, p)
  143. tf = tf + s
  144. if tf >= frame then
  145. if allowframeloss then
  146. script.ArtificialHB:Fire()
  147. lastframe = tick()
  148. else
  149. for i = 1, math.floor(tf / frame) do
  150. script.ArtificialHB:Fire()
  151. end
  152. lastframe = tick()
  153. end
  154. if tossremainder then
  155. tf = 0
  156. else
  157. tf = tf - frame * math.floor(tf / frame)
  158. end
  159. end
  160. end)
  161.  
  162. --//=================================\\
  163. --\\=================================//
  164.  
  165. --//=================================\\
  166. --|| SOME FUNCTIONS
  167. --\\=================================//
  168.  
  169. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  170. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  171. end
  172.  
  173. function PositiveAngle(NUMBER)
  174. if NUMBER >= 0 then
  175. NUMBER = 0
  176. end
  177. return NUMBER
  178. end
  179.  
  180. function NegativeAngle(NUMBER)
  181. if NUMBER <= 0 then
  182. NUMBER = 0
  183. end
  184. return NUMBER
  185. end
  186.  
  187. function Swait(NUMBER)
  188. if NUMBER == 0 or NUMBER == nil then
  189. ArtificialHB.Event:wait()
  190. else
  191. for i = 1, NUMBER do
  192. ArtificialHB.Event:wait()
  193. end
  194. end
  195. end
  196.  
  197. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  198. local NEWMESH = IT(MESH)
  199. if MESH == "SpecialMesh" then
  200. NEWMESH.MeshType = MESHTYPE
  201. if MESHID ~= "nil" and MESHID ~= "" then
  202. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  203. end
  204. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  205. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  206. end
  207. end
  208. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  209. NEWMESH.Scale = SCALE
  210. NEWMESH.Parent = PARENT
  211. return NEWMESH
  212. end
  213.  
  214. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  215. local NEWPART = IT("Part")
  216. NEWPART.formFactor = FORMFACTOR
  217. NEWPART.Reflectance = REFLECTANCE
  218. NEWPART.Transparency = TRANSPARENCY
  219. NEWPART.CanCollide = false
  220. NEWPART.Locked = true
  221. NEWPART.Anchored = true
  222. if ANCHOR == false then
  223. NEWPART.Anchored = false
  224. end
  225. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  226. NEWPART.Name = NAME
  227. NEWPART.Size = SIZE
  228. NEWPART.Position = Torso.Position
  229. NEWPART.Material = MATERIAL
  230. NEWPART:BreakJoints()
  231. NEWPART.Parent = PARENT
  232. return NEWPART
  233. end
  234.  
  235. local function weldBetween(a, b)
  236. local weldd = Instance.new("ManualWeld")
  237. weldd.Part0 = a
  238. weldd.Part1 = b
  239. weldd.C0 = CFrame.new()
  240. weldd.C1 = b.CFrame:inverse() * a.CFrame
  241. weldd.Parent = a
  242. return weldd
  243. end
  244.  
  245.  
  246. function QuaternionFromCFrame(cf)
  247. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  248. local trace = m00 + m11 + m22
  249. if trace > 0 then
  250. local s = math.sqrt(1 + trace)
  251. local recip = 0.5 / s
  252. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  253. else
  254. local i = 0
  255. if m11 > m00 then
  256. i = 1
  257. end
  258. if m22 > (i == 0 and m00 or m11) then
  259. i = 2
  260. end
  261. if i == 0 then
  262. local s = math.sqrt(m00 - m11 - m22 + 1)
  263. local recip = 0.5 / s
  264. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  265. elseif i == 1 then
  266. local s = math.sqrt(m11 - m22 - m00 + 1)
  267. local recip = 0.5 / s
  268. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  269. elseif i == 2 then
  270. local s = math.sqrt(m22 - m00 - m11 + 1)
  271. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  272. end
  273. end
  274. end
  275.  
  276. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  277. local xs, ys, zs = x + x, y + y, z + z
  278. local wx, wy, wz = w * xs, w * ys, w * zs
  279. local xx = x * xs
  280. local xy = x * ys
  281. local xz = x * zs
  282. local yy = y * ys
  283. local yz = y * zs
  284. local zz = z * zs
  285. 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))
  286. end
  287.  
  288. function QuaternionSlerp(a, b, t)
  289. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  290. local startInterp, finishInterp;
  291. if cosTheta >= 0.0001 then
  292. if (1 - cosTheta) > 0.0001 then
  293. local theta = ACOS(cosTheta)
  294. local invSinTheta = 1 / SIN(theta)
  295. startInterp = SIN((1 - t) * theta) * invSinTheta
  296. finishInterp = SIN(t * theta) * invSinTheta
  297. else
  298. startInterp = 1 - t
  299. finishInterp = t
  300. end
  301. else
  302. if (1 + cosTheta) > 0.0001 then
  303. local theta = ACOS(-cosTheta)
  304. local invSinTheta = 1 / SIN(theta)
  305. startInterp = SIN((t - 1) * theta) * invSinTheta
  306. finishInterp = SIN(t * theta) * invSinTheta
  307. else
  308. startInterp = t - 1
  309. finishInterp = t
  310. end
  311. end
  312. 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
  313. end
  314.  
  315. function Clerp(a, b, t)
  316. local qa = {QuaternionFromCFrame(a)}
  317. local qb = {QuaternionFromCFrame(b)}
  318. local ax, ay, az = a.x, a.y, a.z
  319. local bx, by, bz = b.x, b.y, b.z
  320. local _t = 1 - t
  321. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  322. end
  323.  
  324. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  325. local frame = IT("Frame")
  326. frame.BackgroundTransparency = TRANSPARENCY
  327. frame.BorderSizePixel = BORDERSIZEPIXEL
  328. frame.Position = POSITION
  329. frame.Size = SIZE
  330. frame.BackgroundColor3 = COLOR
  331. frame.BorderColor3 = BORDERCOLOR
  332. frame.Name = NAME
  333. frame.Parent = PARENT
  334. return frame
  335. end
  336.  
  337. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  338. local label = IT("TextLabel")
  339. label.BackgroundTransparency = 1
  340. label.Size = UD2(1, 0, 1, 0)
  341. label.Position = UD2(0, 0, 0, 0)
  342. label.TextColor3 = TEXTCOLOR
  343. label.TextStrokeTransparency = STROKETRANSPARENCY
  344. label.TextTransparency = TRANSPARENCY
  345. label.FontSize = TEXTFONTSIZE
  346. label.Font = TEXTFONT
  347. label.BorderSizePixel = BORDERSIZEPIXEL
  348. label.TextScaled = false
  349. label.Text = TEXT
  350. label.Name = NAME
  351. label.Parent = PARENT
  352. return label
  353. end
  354.  
  355. function NoOutlines(PART)
  356. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  357. end
  358.  
  359. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  360. local NEWWELD = IT(TYPE)
  361. NEWWELD.Part0 = PART0
  362. NEWWELD.Part1 = PART1
  363. NEWWELD.C0 = C0
  364. NEWWELD.C1 = C1
  365. NEWWELD.Parent = PARENT
  366. return NEWWELD
  367. end
  368.  
  369. local S = IT("Sound")
  370. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  371. local NEWSOUND = nil
  372. coroutine.resume(coroutine.create(function()
  373. NEWSOUND = S:Clone()
  374. NEWSOUND.Parent = PARENT
  375. NEWSOUND.Volume = VOLUME
  376. NEWSOUND.Pitch = PITCH
  377. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  378. NEWSOUND:play()
  379. if DOESLOOP == true then
  380. NEWSOUND.Looped = true
  381. else
  382. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  383. NEWSOUND:remove()
  384. end
  385. end))
  386. return NEWSOUND
  387. end
  388.  
  389. function CFrameFromTopBack(at, top, back)
  390. local right = top:Cross(back)
  391. 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)
  392. end
  393.  
  394. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  395. function WACKYEFFECT(Table)
  396. local TYPE = (Table.EffectType or "Sphere")
  397. local SIZE = (Table.Size or VT(1,1,1))
  398. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  399. local TRANSPARENCY = (Table.Transparency or 0)
  400. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  401. local CFRAME = (Table.CFrame or Torso.CFrame)
  402. local MOVEDIRECTION = (Table.MoveToPos or nil)
  403. local ROTATION1 = (Table.RotationX or 0)
  404. local ROTATION2 = (Table.RotationY or 0)
  405. local ROTATION3 = (Table.RotationZ or 0)
  406. local MATERIAL = (Table.Material or "Neon")
  407. local COLOR = (Table.Color or C3(1,1,1))
  408. local TIME = (Table.Time or 45)
  409. local SOUNDID = (Table.SoundID or nil)
  410. local SOUNDPITCH = (Table.SoundPitch or nil)
  411. local SOUNDVOLUME = (Table.SoundVolume or nil)
  412. coroutine.resume(coroutine.create(function()
  413. local PLAYSSOUND = false
  414. local SOUND = nil
  415. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  416. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  417. PLAYSSOUND = true
  418. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  419. end
  420. EFFECT.Color = COLOR
  421. local MSH = nil
  422. if TYPE == "Sphere" then
  423. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  424. elseif TYPE == "Block" then
  425. MSH = IT("BlockMesh",EFFECT)
  426. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  427. elseif TYPE == "Wave" then
  428. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  429. elseif TYPE == "Ring" then
  430. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  431. elseif TYPE == "Slash" then
  432. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  433. elseif TYPE == "Round Slash" then
  434. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  435. elseif TYPE == "Swirl" then
  436. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  437. elseif TYPE == "Skull" then
  438. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  439. elseif TYPE == "Crystal" then
  440. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  441. end
  442. if MSH ~= nil then
  443. local MOVESPEED = nil
  444. if MOVEDIRECTION ~= nil then
  445. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  446. end
  447. local GROWTH = SIZE - ENDSIZE
  448. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  449. if TYPE == "Block" then
  450. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  451. else
  452. EFFECT.CFrame = CFRAME
  453. end
  454. for LOOP = 1, TIME+1 do
  455. Swait()
  456. MSH.Scale = MSH.Scale - GROWTH/TIME
  457. if TYPE == "Wave" then
  458. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  459. end
  460. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  461. if TYPE == "Block" then
  462. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  463. else
  464. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  465. end
  466. if MOVEDIRECTION ~= nil then
  467. local ORI = EFFECT.Orientation
  468. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  469. EFFECT.Orientation = ORI
  470. end
  471. end
  472. if PLAYSSOUND == false then
  473. EFFECT:remove()
  474. else
  475. SOUND.Stopped:Connect(function()
  476. EFFECT:remove()
  477. end)
  478. end
  479. else
  480. if PLAYSSOUND == false then
  481. EFFECT:remove()
  482. else
  483. repeat Swait() until SOUND.Playing == false
  484. EFFECT:remove()
  485. end
  486. end
  487. end))
  488. end
  489.  
  490. function MakeForm(PART,TYPE)
  491. if TYPE == "Cyl" then
  492. local MSH = IT("CylinderMesh",PART)
  493. elseif TYPE == "Ball" then
  494. local MSH = IT("SpecialMesh",PART)
  495. MSH.MeshType = "Sphere"
  496. elseif TYPE == "Wedge" then
  497. local MSH = IT("SpecialMesh",PART)
  498. MSH.MeshType = "Wedge"
  499. end
  500. end
  501.  
  502. function SpawnTrail(FROM,TO,BIG)
  503. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  504. MakeForm(TRAIL,"Cyl")
  505. local DIST = (FROM - TO).Magnitude
  506. if BIG == true then
  507. TRAIL.Size = VT(0.5,DIST,0.5)
  508. else
  509. TRAIL.Size = VT(0.25,DIST,0.25)
  510. end
  511. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  512. coroutine.resume(coroutine.create(function()
  513. for i = 1, 25 do
  514. Swait()
  515. TRAIL.Transparency = TRAIL.Transparency + 0.05
  516. end
  517. TRAIL:remove()
  518. end))
  519. end
  520.  
  521. Debris = game:GetService("Debris")
  522.  
  523. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  524. local DIRECTION = CF(StartPos,EndPos).lookVector
  525. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  526. end
  527. function Debree(POS, SWAIT)
  528. coroutine.resume(coroutine.create(function()
  529. local HOLDER = IT("Model", Effects)
  530. HOLDER.Name = "Debree"
  531. local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  532. MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  533. MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  534. MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  535. repeat
  536. Swait()
  537. until HITFLOOR ~= nil
  538. local O = 0
  539. for i = 1, 18 do
  540. do
  541. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  542. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  543. O = O - 2.25 + i / 4
  544. coroutine.resume(coroutine.create(function()
  545. Swait(SWAIT)
  546. for i = 1, 60 do
  547. Swait()
  548. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  549. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  550. end
  551. for i = 1, 50 do
  552. Swait()
  553. Part.Size = Part.Size * 0.9
  554. end
  555. end))
  556. end
  557. end
  558. local O = 0
  559. for i = 1, 18 do
  560. do
  561. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  562. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  563. O = O + 2.25 - i / 4
  564. coroutine.resume(coroutine.create(function()
  565. Swait(SWAIT)
  566. for i = 1, 60 do
  567. Swait()
  568. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  569. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  570. end
  571. for i = 1, 50 do
  572. Swait()
  573. Part.Size = Part.Size * 0.9
  574. end
  575. end))
  576. end
  577. end
  578. Swait(SWAIT + 110)
  579. HOLDER:remove()
  580. end))
  581. end
  582.  
  583.  
  584.  
  585.  
  586. function turnto(position)
  587. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  588. end
  589.  
  590. function SpawnSoul(Humanoid)
  591. coroutine.resume(coroutine.create(function()
  592. local TORSO = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  593. local SOULMODEL = IT("Model",Effects)
  594. SOULMODEL.Name = Humanoid.Parent.Name.."'s Spirit"
  595. local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Head", VT(0.5,0.5,0.5))
  596. SOUL.CFrame = CF(TORSO.Position)
  597. local A1 = IT("Attachment",SOUL)
  598. A1.Position = Vector3.new(0, 0.25, 0)
  599. local A2 = IT("Attachment",SOUL)
  600. A2.Position = Vector3.new(0, -0.25, 0)
  601. local Trail = IT("Trail",SOUL)
  602. Trail.LightEmission = 0.3
  603. Trail.FaceCamera = true
  604. Trail.Texture = "rbxassetid://945758042"
  605. Trail.Attachment0 = A1
  606. Trail.Attachment1 = A2
  607. Trail.Lifetime = 0.5
  608. Trail.MinLength = 0
  609. Trail.Transparency = NumberSequence.new(0)
  610. Trail.Color = ColorSequence.new(SOUL.Color)
  611. MakeForm(SOUL,"Ball")
  612. local DISTANCE = nil
  613. local HUM = IT("Humanoid",SOULMODEL)
  614. repeat
  615. Swait()
  616. SOUL.CFrame = CF(SOUL.Position,Torso.Position)*CF(0,0,-0.2)
  617. DISTANCE = (SOUL.Position - Torso.Position).Magnitude
  618. until DISTANCE < 0.4
  619. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  620. WACKYEFFECT({EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(6.5,6.5,6.5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  621. SOUL.Transparency = 1
  622. A1.Parent = Torso
  623. A2.Parent = Torso
  624. Trail.Parent = Torso
  625. Debris:AddItem(SOULMODEL,10)
  626. SOULWELL = SOULWELL + 1
  627. for i = 1, 100 do
  628. Swait()
  629. Trail.Transparency = NumberSequence.new(i/100)
  630. end
  631. A1:remove()
  632. A2:remove()
  633. Trail:remove()
  634. end))
  635. end
  636.  
  637.  
  638.  
  639. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  640. if FLOOR ~= nil then
  641. coroutine.resume(coroutine.create(function()
  642. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  643. PART.CFrame = CF(POSITION)
  644. for i = 1, 45 do
  645. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  646. RingPiece.Material = FLOOR.Material
  647. RingPiece.Color = FLOOR.Color
  648. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  649. Debris:AddItem(RingPiece,SWAIT)
  650. end
  651. PART:remove()
  652. end))
  653. end
  654. end
  655.  
  656. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  657. if FLOOR ~= nil then
  658. for i = 1, AMOUNT do
  659. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  660. DEBREE.Material = FLOOR.Material
  661. DEBREE.Color = FLOOR.Color
  662. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  663. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  664. coroutine.resume(coroutine.create(function()
  665. Swait(15)
  666. DEBREE.Parent = workspace
  667. DEBREE.CanCollide = true
  668. Debris:AddItem(DEBREE,SWAIT)
  669. end))
  670. end
  671. end
  672. end
  673.  
  674. function swait(num)
  675. if num == 0 or num == nil then
  676. ArtificialHB.Event:wait()
  677. else
  678. for i = 0, num do
  679. ArtificialHB.Event:wait()
  680. end
  681. end
  682. end
  683.  
  684. --//====================================================\\--
  685. --|| SPEECH
  686. --\\====================================================//--
  687.  
  688. function chatfunc(text)
  689. local chat = coroutine.wrap(function()
  690. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  691. Character:FindFirstChild("TalkingBillBoard"):destroy()
  692. end
  693. local Bill = Instance.new("BillboardGui",Character)
  694. Bill.Size = UDim2.new(0,100,0,40)
  695. Bill.StudsOffset = Vector3.new(0,3,0)
  696. Bill.Adornee = Character.Head
  697. Bill.Name = "TalkingBillBoard"
  698. local Hehe = Instance.new("TextLabel",Bill)
  699. Hehe.BackgroundTransparency = 1
  700. Hehe.BorderSizePixel = 0
  701. Hehe.Text = ""
  702. Hehe.Font = "SciFi"
  703. Hehe.TextSize = 40
  704. Hehe.TextStrokeTransparency = 0
  705. Hehe.Size = UDim2.new(1,0,0.5,0)
  706. coroutine.resume(coroutine.create(function()
  707. while Hehe ~= nil do
  708. swait()
  709. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  710. Hehe.Rotation = math.random(-1,1)
  711. Hehe.TextColor3 = Color3.new(1,0,0)
  712. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  713. end
  714. end))
  715. for i = 1,string.len(text),1 do
  716. swait()
  717. Hehe.Text = string.sub(text,1,i)
  718. end
  719. Swait(90)--Re[math.random(1, 93)]
  720. for i = 0, 1, .025 do
  721. Swait()
  722. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  723. Hehe.TextStrokeTransparency = i
  724. Hehe.TextTransparency = i
  725. end
  726. Bill:Destroy()
  727. end)
  728. chat()
  729. end
  730.  
  731. function onChatted(msg)
  732. chatfunc(msg)
  733. end
  734. Player.Chatted:connect(onChatted)
  735.  
  736. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  737. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  738. local mesh = IT("SpecialMesh", wave)
  739. mesh.MeshType = "FileMesh"
  740. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  741. mesh.Scale = SIZE
  742. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  743. wave.CFrame = CFRAME
  744. coroutine.resume(coroutine.create(function(PART)
  745. for i = 1, WAIT do
  746. Swait()
  747. mesh.Scale = mesh.Scale + GROW
  748. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  749. if DOESROT == true then
  750. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  751. end
  752. wave.Transparency = wave.Transparency + 0.5 / WAIT
  753. if wave.Transparency > 0.99 then
  754. wave:remove()
  755. end
  756. end
  757. end))
  758. end
  759. function CreateCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  760. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  761. local mesh = IT("SpecialMesh", wave)
  762. mesh.MeshType = "FileMesh"
  763. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  764. mesh.Scale = SIZE
  765. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  766. wave.CFrame = CFRAME
  767. coroutine.resume(coroutine.create(function(PART)
  768. for i = 1, WAIT do
  769. Swait()
  770. mesh.Scale = mesh.Scale + GROW
  771. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  772. if DOESROT == true then
  773. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  774. end
  775. wave.Transparency = wave.Transparency + 0.5 / WAIT
  776. if wave.Transparency > 0.99 then
  777. wave:remove()
  778. end
  779. end
  780. end))
  781. end
  782. function CreateIceCrown(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  783. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  784. local mesh = IT("SpecialMesh", wave)
  785. mesh.MeshType = "FileMesh"
  786. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  787. mesh.Scale = SIZE
  788. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  789. wave.CFrame = CFRAME
  790. coroutine.resume(coroutine.create(function(PART)
  791. for i = 1, WAIT do
  792. Swait()
  793. mesh.Scale = mesh.Scale + GROW
  794. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  795. if DOESROT == true then
  796. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  797. end
  798. wave.Transparency = wave.Transparency + 0.5 / WAIT
  799. if wave.Transparency > 0.99 then
  800. wave:remove()
  801. end
  802. end
  803. end))
  804. end
  805. function CreateSpikeball(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  806. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  807. local mesh = IT("SpecialMesh", wave)
  808. mesh.MeshType = "FileMesh"
  809. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  810. mesh.Scale = SIZE
  811. mesh.Offset = VT(0, 0, -SIZE.X / 8)
  812. wave.CFrame = CFRAME
  813. coroutine.resume(coroutine.create(function(PART)
  814. for i = 1, WAIT do
  815. Swait()
  816. mesh.Scale = mesh.Scale + GROW
  817. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  818. if DOESROT == true then
  819. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  820. end
  821. wave.Transparency = wave.Transparency + 0.5 / WAIT
  822. if wave.Transparency > 0.99 then
  823. wave:remove()
  824. end
  825. end
  826. end))
  827. end
  828. function CreateSwirl(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  829. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  830. local mesh = IT("SpecialMesh", wave)
  831. mesh.MeshType = "FileMesh"
  832. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  833. mesh.Scale = SIZE
  834. wave.CFrame = CFRAME
  835. coroutine.resume(coroutine.create(function(PART)
  836. for i = 1, WAIT do
  837. Swait()
  838. mesh.Scale = mesh.Scale + GROW
  839. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  840. if DOESROT == true then
  841. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  842. end
  843. wave.Transparency = wave.Transparency + 0.5 / WAIT
  844. if wave.Transparency > 0.99 then
  845. wave:remove()
  846. end
  847. end
  848. end))
  849. end
  850. function CreateTornado(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  851. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  852. local mesh = IT("SpecialMesh", wave)
  853. mesh.MeshType = "FileMesh"
  854. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  855. mesh.Scale = SIZE
  856. wave.CFrame = CFRAME
  857. coroutine.resume(coroutine.create(function(PART)
  858. for i = 1, WAIT do
  859. Swait()
  860. mesh.Scale = mesh.Scale + GROW
  861. if DOESROT == true then
  862. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  863. end
  864. wave.Transparency = wave.Transparency + 0.5 / WAIT
  865. if wave.Transparency > 0.99 then
  866. wave:remove()
  867. end
  868. end
  869. end))
  870. end
  871. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  872. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  873. local mesh = IT("SpecialMesh", wave)
  874. mesh.MeshType = "FileMesh"
  875. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  876. mesh.Scale = SIZE
  877. mesh.Offset = VT(0, 0, 0)
  878. wave.CFrame = CFRAME
  879. coroutine.resume(coroutine.create(function(PART)
  880. for i = 1, WAIT do
  881. Swait()
  882. mesh.Scale = mesh.Scale + GROW
  883. if DOESROT == true then
  884. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  885. end
  886. wave.Transparency = wave.Transparency + 0.5 / WAIT
  887. if wave.Transparency > 0.99 then
  888. wave:remove()
  889. end
  890. end
  891. end))
  892. end
  893. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  894. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  895. local mesh = IT("SpecialMesh", wave)
  896. mesh.MeshType = "Sphere"
  897. mesh.Scale = SIZE
  898. mesh.Offset = VT(0, 0, 0)
  899. wave.CFrame = CFRAME
  900. coroutine.resume(coroutine.create(function(PART)
  901. for i = 1, WAIT do
  902. Swait()
  903. mesh.Scale = mesh.Scale + GROW
  904. wave.Transparency = wave.Transparency + 1 / WAIT
  905. if wave.Transparency > 0.99 then
  906. wave:remove()
  907. end
  908. end
  909. end))
  910. end
  911. function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
  912. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
  913. local mesh = IT("BlockMesh", wave)
  914. wave.CFrame = CFRAME
  915. coroutine.resume(coroutine.create(function(PART)
  916. for i = 1, WAIT do
  917. Swait()
  918. mesh.Scale = mesh.Scale + GROW
  919. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
  920. wave.Transparency = wave.Transparency + 1 / WAIT
  921. if wave.Transparency > 0.99 then
  922. wave:remove()
  923. end
  924. end
  925. end))
  926. end
  927.  
  928. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  929. coroutine.resume(coroutine.create(function()
  930. local FADE = IT("Model",Effects)
  931. if PARENT ~= nil then
  932. FADE.Parent = PARENT
  933. end
  934. FADE.Name = "FadingEffect"
  935. for _, c in pairs(Weapon:GetChildren()) do
  936. if c.ClassName == "Part" then
  937. c.CanCollide = false
  938. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Really red"), c.Name, c.Size, true)
  939. FADER.CFrame = c.CFrame
  940. FADER.Color = COLOR
  941. if FADER.Name == "Head" then
  942. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  943. elseif FADER.Name == "HumanoidRootPart" then
  944. FADE.PrimaryPart = FADER
  945. FADER.Transparency = 1
  946. end
  947. end
  948. end
  949. for _, c in pairs(Character:GetChildren()) do
  950. if c.ClassName == "Part" then
  951. c.CanCollide = false
  952. local FADER = CreatePart(3, FADE, "Neon", 0, 0.95, BRICKC("Really red"), c.Name, c.Size, true)
  953. FADER.CFrame = c.CFrame
  954. FADER.Color = COLOR
  955. if FADER.Name == "Head" then
  956. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  957. elseif FADER.Name == "HumanoidRootPart" then
  958. FADE.PrimaryPart = FADER
  959. FADER.Transparency = 1
  960. end
  961. end
  962. end
  963. local TRANS = 0.25/TIMER
  964. local DIST = nil
  965. if MOVEDIRECTION ~= nil then
  966. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  967. end
  968. for i = 1, TIMER do
  969. Swait()
  970. for _, c in pairs(FADE:GetChildren()) do
  971. if c.ClassName == "Part" then
  972. c.Transparency = c.Transparency + TRANS
  973. end
  974. end
  975. if MOVEDIRECTION ~= nil then
  976. local ORI = FADE.PrimaryPart.Orientation
  977. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  978. end
  979. end
  980. FADE:remove()
  981. end))
  982. end
  983.  
  984. --//====================================================\\--
  985. --|| HALO
  986. --\\====================================================//--
  987.  
  988. function CreateNeonCircle(ATTACHPART, POSITION, SIZE, DOESSPIN, COLOR, MATERIAL, THICKNESS, WIDTH)
  989. local PART = CreatePart(3, Weapon, MATERIAL, 0, 1, COLOR, "CirclePart", VT(0, 0, 0), false)
  990. for i = 1, 45 do
  991. local RingPiece = CreatePart(3, Weapon, MATERIAL, 0, 0, COLOR, "CirclePart", VT(THICKNESS, WIDTH, SIZE * 0.65), false)
  992. local RingWeld = CreateWeldOrSnapOrMotor("Weld", RingPiece, PART, RingPiece, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i * 8), RAD(0)), CF(0, 0, 0) * CF(SIZE * 4, 0, 0))
  993. end
  994. local PartWeld = CreateWeldOrSnapOrMotor("Weld", ATTACHPART, PART, ATTACHPART, POSITION * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  995. coroutine.resume(coroutine.create(function()
  996. if DOESSPIN == true then
  997. while true do
  998. wait()
  999. PartWeld.C0 = Clerp(PartWeld.C0, POSITION * ANGLES(RAD(0), RAD(SINE * 2), RAD(0)), 1)
  1000. end
  1001. end
  1002. end))
  1003. end
  1004.  
  1005.  
  1006. --//=================================\\
  1007. --|| WEAPON CREATION
  1008. --\\=================================//
  1009.  
  1010. local Particle = IT("ParticleEmitter",nil)
  1011. Particle.Enabled = false
  1012. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1013. Particle.LightEmission = 0.5
  1014. Particle.Rate = 150
  1015. Particle.ZOffset = 0.2
  1016. Particle.Rotation = NumberRange.new(-180, 180)
  1017. Particle.RotSpeed = NumberRange.new(-180, 180)
  1018. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1019. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1020.  
  1021. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1022. function ParticleEmitter(Table)
  1023. local PRTCL = Particle:Clone()
  1024. local Speed = Table.Speed or 5
  1025. local Drag = Table.Drag or 0
  1026. local Size1 = Table.Size1 or 1
  1027. local Size2 = Table.Size2 or 5
  1028. local Lifetime1 = Table.Lifetime1 or 1
  1029. local Lifetime2 = Table.Lifetime2 or 1.5
  1030. local Parent = Table.Parent or Torso
  1031. local Emit = Table.Emit or 100
  1032. local Offset = Table.Offset or 360
  1033. local Acel = Table.Acel or VT(0,0,0)
  1034. local Enabled = Table.Enabled or false
  1035. PRTCL.Parent = Parent
  1036. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1037. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1038. PRTCL.Speed = NumberRange.new(Speed)
  1039. PRTCL.VelocitySpread = Offset
  1040. PRTCL.Drag = Drag
  1041. PRTCL.Acceleration = Acel
  1042. if Enabled == false then
  1043. PRTCL:Emit(Emit)
  1044. Debris:AddItem(PRTCL,Lifetime2)
  1045. else
  1046. PRTCL.Enabled = true
  1047. end
  1048. return PRTCL
  1049. end
  1050.  
  1051.  
  1052. local Gun = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gun", VT(0, 0, 0), false)
  1053. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  1054. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  1055. GunPoint = CreatePart(3, Weapon, "Neon", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  1056. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1057.  
  1058. local Gun1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gun1", VT(0, 0, 0), false)
  1059. local HandleMesh = CreateMesh("SpecialMesh", Gun1, "FileMesh", "0", "0", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
  1060. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun1, RightArm, Gun1, CF(0, -3.1, -0.8) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  1061.  
  1062. ParticleEmitter({Speed = 0, Drag = 0, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Gun1, Emit = 0, Offset = -360, Enabled = false})
  1063.  
  1064.  
  1065. Weapon.Parent = Character
  1066.  
  1067. for _, c in pairs(Weapon:GetChildren()) do
  1068. if c.ClassName == "Part" then
  1069. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1070. end
  1071. end
  1072.  
  1073. local SKILLTEXTCOLOR = C3(1,0,0)
  1074. local SKILLFONT = "SciFi"
  1075. local SKILLTEXTSIZE = 7
  1076.  
  1077. Humanoid.Died:connect(function()
  1078. ATTACK = false
  1079. end)
  1080.  
  1081. local BODY = {}
  1082.  
  1083. for _, c in pairs(Character:GetDescendants()) do
  1084. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1085. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1086. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1087. end
  1088. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1089. elseif c:IsA("JointInstance") then
  1090. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1091. end
  1092. end
  1093.  
  1094. for e = 1, #BODY do
  1095. if BODY[e] ~= nil then
  1096. local STUFF = BODY[e]
  1097. local PART = STUFF[1]
  1098. local PARENT = STUFF[2]
  1099. local MATERIAL = STUFF[3]
  1100. local COLOR = STUFF[4]
  1101. local TRANSPARENCY = STUFF[5]
  1102. if PART.ClassName == "Part" and PART ~= RootPart then
  1103. PART.Material = MATERIAL
  1104. PART.Color = COLOR
  1105. PART.Transparency = TRANSPARENCY
  1106. end
  1107. PART.AncestryChanged:Connect(function()
  1108. PART.Parent = PARENT
  1109. end)
  1110. end
  1111. end
  1112.  
  1113. function refit()
  1114. Character.Parent = workspace
  1115. for e = 1, #BODY do
  1116. if BODY[e] ~= nil then
  1117. local STUFF = BODY[e]
  1118. local PART = STUFF[1]
  1119. local PARENT = STUFF[2]
  1120. local MATERIAL = STUFF[3]
  1121. local COLOR = STUFF[4]
  1122. local TRANSPARENCY = STUFF[5]
  1123. if PART.ClassName == "Part" and PART ~= RootPart then
  1124. PART.Material = MATERIAL
  1125. PART.Color = COLOR
  1126. PART.Transparency = TRANSPARENCY
  1127. end
  1128. if PART.Parent ~= PARENT then
  1129. Humanoid:remove()
  1130. PART.Parent = PARENT
  1131. Humanoid = IT("Humanoid",Character)
  1132. end
  1133. end
  1134. end
  1135. end
  1136.  
  1137.  
  1138.  
  1139.  
  1140. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.100, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1141. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1142. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.631, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1143.  
  1144.  
  1145.  
  1146. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  1147. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Banish Laser", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  1148. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  1149.  
  1150. --//====================================================\\--
  1151. --|| TAUNTS
  1152. --\\====================================================//--
  1153.  
  1154.  
  1155. UnBanishTaunts = {"I'll show you Mercy.", "This is your final Mercy.", "You are now free.", "I'll forgive your sin.", "Don't refuse me.", "Don't do that again.", "If you desire to be free.", "I only give you Mercy."}
  1156.  
  1157. function printbye(Name)
  1158. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, ","Your Time has ended, ","You dont exist anymore, ","Im your true god, ","Your Soul is mine, ","You will be banished forever, ","You can't escape., ","Say goodbye to your cruel world., "}
  1159. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1160. end
  1161.  
  1162. workspace.ChildAdded:connect(function(instance)
  1163. for BANISH = 1, #TOBANISH do
  1164. if TOBANISH[BANISH] ~= nil then
  1165. if instance.Name == TOBANISH[BANISH] then
  1166. coroutine.resume(coroutine.create(function()
  1167. printbye(instance.Name)
  1168. instance:ClearAllChildren()
  1169. Debris:AddItem(instance,0.0005)
  1170. end))
  1171. end
  1172. end
  1173. end
  1174. end)
  1175.  
  1176. --//====================================================\\--
  1177. --\\====================================================//--
  1178.  
  1179. function R_RANDOM(CFRAME,DIST)
  1180. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  1181. end
  1182.  
  1183. function CamShake(SHAKE,TIMER)
  1184. coroutine.resume(coroutine.create(function()
  1185. local FADER = SHAKE/TIMER
  1186. for i = 1, TIMER do
  1187. wait()
  1188. Humanoid.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
  1189. end
  1190. Humanoid.CameraOffset = VT(0,0,0)
  1191. end))
  1192. end
  1193.  
  1194. --//=================================\\
  1195. --|| DAMAGING
  1196. --\\=================================//
  1197.  
  1198. function ApplyDamage(Humanoid,Damage)
  1199. if Humanoid.Health == math.huge then
  1200. Banish(c)
  1201. else
  1202. local MULTIPLY = Humanoid.MaxHealth/100
  1203. Damage = Damage * DAMAGEMULTIPLIER
  1204. if Humanoid.Health ~= 0 then
  1205. Humanoid.Health = Humanoid.Health - Damage*MULTIPLY
  1206. Banish(c)
  1207. end
  1208. end
  1209. end
  1210.  
  1211. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,CAMSINSTAKILL,INSTAKILL)
  1212. local CHILDREN = workspace:GetDescendants()
  1213. for index, CHILD in pairs(CHILDREN) do
  1214. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1215. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1216. if HUM then
  1217. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1218. if TORSO then
  1219. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1220. if INSTAKILL == true or HUM.MaxHealth == math.huge then
  1221. Banish(c)
  1222. else
  1223. local DMG = MRANDOM(MINDMG,MAXDMG)
  1224. ApplyDamage(HUM,DMG)
  1225. end
  1226. if FLING > 0 then
  1227. for _, c in pairs(CHILD:GetChildren()) do
  1228. if c:IsA("BasePart") then
  1229. local bv = Instance.new("BodyVelocity")
  1230. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1231. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1232. bv.Parent = c
  1233. Debris:AddItem(bv,0.05)
  1234. end
  1235. end
  1236. end
  1237. end
  1238. end
  1239. end
  1240. end
  1241. end
  1242. end
  1243.  
  1244.  
  1245.  
  1246. function Banish(Foe)
  1247. if Foe then
  1248. coroutine.resume(coroutine.create(function()
  1249. --if game.Players:FindFirstChild(Foe.Name) then
  1250. table.insert(TOBANISH,Foe.Name)
  1251. printbye(Foe.Name)
  1252. --end
  1253. Foe.Archivable = true
  1254. local CLONE = Foe:Clone()
  1255. Foe:Destroy()
  1256. CLONE.Parent = Effects
  1257. CLONE:BreakJoints()
  1258. local MATERIALS = {"Neon","Neon"}
  1259. for _, c in pairs(CLONE:GetDescendants()) do
  1260. if c:IsA("BasePart") then
  1261. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1262. CreateSound(340722848, c, 10, 1, false)
  1263. end
  1264. c.Anchored = true
  1265. c.Transparency = c.Transparency + 0.2
  1266. c.Material = MATERIALS[MRANDOM(1,2)]
  1267. c.Color = C3(1,0,0)
  1268. if c.ClassName == "MeshPart" then
  1269. c.TextureID = ""
  1270. end
  1271. if c:FindFirstChildOfClass("SpecialMesh") then
  1272. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1273. end
  1274. if c:FindFirstChildOfClass("Decal") then
  1275. c:FindFirstChildOfClass("Decal"):remove()
  1276. end
  1277. c.Name = "Banished"
  1278. c.CanCollide = false
  1279. else
  1280. c:remove()
  1281. end
  1282. end
  1283. local A = false
  1284. for i = 1, 35 do
  1285. if A == false then
  1286. A = true
  1287. elseif A == true then
  1288. A = false
  1289. end
  1290. for _, c in pairs(CLONE:GetDescendants()) do
  1291. if c:IsA("BasePart") then
  1292. c.Anchored = true
  1293. c.Material = MATERIALS[MRANDOM(1,2)]
  1294. c.Transparency = c.Transparency + 0.8/35
  1295. if A == false then
  1296. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1297. elseif A == true then
  1298. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1299. end
  1300. end
  1301. end
  1302. Swait()
  1303. end
  1304. CLONE:remove()
  1305. end))
  1306. end
  1307. end
  1308.  
  1309. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1310. local CHILDREN = workspace:GetDescendants()
  1311. for index, CHILD in pairs(CHILDREN) do
  1312. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1313. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1314. if HUM then
  1315. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1316. if TORSO then
  1317. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1318. if ISBANISH == true then
  1319. Banish(CHILD)
  1320. else
  1321. if ISBANISH == "Gravity" then
  1322. HUM.PlatformStand = true
  1323. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1324. local grav = Instance.new("BodyPosition",TORSO)
  1325. grav.D = 15
  1326. grav.P = 20000
  1327. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1328. grav.position = TORSO.Position
  1329. grav.Name = "V3BanishForce"..Player.Name
  1330. else
  1331. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1332. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1333. end
  1334. else
  1335. HUM.PlatformStand = false
  1336. end
  1337. end
  1338. elseif ISBANISH == "Gravity" then
  1339. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1340. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1341. HUM.PlatformStand = false
  1342. end
  1343. end
  1344. end
  1345. end
  1346. end
  1347. end
  1348. end
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355. --//=================================\\
  1356. --|| ATTACK FUNCTIONS AND STUFF
  1357. --\\=================================//
  1358.  
  1359. function Banisher_Bullet()
  1360. ATTACK = true
  1361. Rooted = false
  1362. for i=0, 0.4, 0.1 / Animation_Speed do
  1363. Swait()
  1364. turnto(Mouse.Hit.p)
  1365. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1366. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1367. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1368. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1369. 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)
  1370. 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)
  1371. end
  1372. repeat
  1373. for i=0, 0.2, 0.1 / Animation_Speed do
  1374. Swait()
  1375. turnto(Mouse.Hit.p)
  1376. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1377. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1378. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1380. 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)
  1381. 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)
  1382. end
  1383. local HIT,POS = CastProperRay(Gun1.Position, Mouse.Hit.p, 1000, Character)
  1384. SpawnTrail(Gun1.Position,POS)
  1385. if HIT ~= nil then
  1386. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1387. Banish(HIT.Parent)
  1388. end
  1389. end
  1390. WACKYEFFECT({Time = 15+(i*5), EffectType = "Slash", Size = VT(0.03,0.03,0.03), Size2 = VT(0.05,0,0.05), Transparency = 0, Transparency2 = 1, CFrame = CF(Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1391. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(1.5,1.5,1.5), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = Gun1.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1392. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.4,0.4,0.4), Size2 = VT(2.5,2.5,2.5), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1393. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(3,3.5,3), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Gun1.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1394. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(3,3.5,3), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Gun1.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1395. WACKYEFFECT({Time = 15+(i*5), EffectType = "Ring", Size = VT(0.3,0.3,0.3), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1396. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(MRANDOM(12,13),MRANDOM(12,13),MRANDOM(12,13)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 608538233, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1397. CamShake(2,2)
  1398. for i=0, 0.3, 0.1 / Animation_Speed do
  1399. Swait()
  1400. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1401. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1402. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1403. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1404. 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)
  1405. 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)
  1406. end
  1407. until KEYHOLD == false
  1408. ATTACK = false
  1409. Rooted = false
  1410. end
  1411. function AttackTemplate()
  1412. ATTACK = true
  1413. Rooted = false
  1414. for i=0, 1, 0.1 / Animation_Speed do
  1415. Swait()
  1416. 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)
  1417. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1418. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1419. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1420. 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)
  1421. 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)
  1422. end
  1423. ATTACK = false
  1424. Rooted = false
  1425. end
  1426.  
  1427. function BanishLaser()
  1428. ATTACK = true
  1429. local GYRO = IT("BodyGyro",RootPart)
  1430. GYRO.D = 100
  1431. GYRO.P = 2000
  1432. GYRO.MaxTorque = VT(0,4000000,0)
  1433. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1434. for i=1, 35 do
  1435. Swait()
  1436. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1437. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = Gun1, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1438. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1439. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1440. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1441. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1442. 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)
  1443. 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)
  1444. end
  1445. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  1446. local LOOP = CreateSound("289315275", Gun1, 5, 1.2, false)
  1447. local MSH = IT("CylinderMesh",BEAM)
  1448. local TOCH = BEAM.Touched:Connect(function(hit)
  1449. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1450. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1451. Banish(hit.Parent)
  1452. end
  1453. end
  1454. end)
  1455. local I = 0
  1456. repeat
  1457. Swait()
  1458. I = I + 1
  1459. if I <= 10 then
  1460. BEAM.Transparency = BEAM.Transparency - 0.1
  1461. end
  1462. local STARTPOS = Gun1.CFrame.p
  1463. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1464. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1465. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(90),RAD(0),RAD(0))
  1466. BEAM.Size = VT(1,DISTANCE,1)
  1467. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1468. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1469. WACKYEFFECT({Time = 35, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1470. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(19,19,19), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1471. CamShake(4,4)
  1472. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1473. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1474. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1475. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1476. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1477. 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)
  1478. 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)
  1479. if ENDHIT ~= nil then
  1480. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  1481. if ENDHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1482. Banish(ENDHIT.Parent)
  1483. end
  1484. end
  1485. end
  1486. until LOOP.Playing == false
  1487. BEAM:remove()
  1488. GYRO:remove()
  1489. ATTACK = false
  1490. end
  1491.  
  1492. function Teleport()
  1493. ATTACK = true
  1494. Rooted = false
  1495. for i=0, 0.5, 0.1 / Animation_Speed do
  1496. Swait()
  1497. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1498. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1499. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1500. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1501. 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)
  1502. 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)
  1503. end
  1504. for e = 1, #BODY do
  1505. if BODY[e] ~= nil then
  1506. local STUFF = BODY[e]
  1507. local PART = STUFF[1]
  1508. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "Gun1" and PART.Name ~= "Gun" and PART.Transparency ~= 1 then
  1509. local PRT = PART:Clone()
  1510. PRT.Anchored = true
  1511. PRT.CanCollide = false
  1512. PRT.Material = "Neon"
  1513. PRT.Color = C3(1,0,0)
  1514. PRT.Name = "WarpEffect"
  1515. PRT.Parent = Effects
  1516. PRT.CFrame = PART.CFrame
  1517. PRT:BreakJoints()
  1518. if PRT:FindFirstChildOfClass("Sound") then
  1519. PRT:FindFirstChildOfClass("Sound"):remove()
  1520. end
  1521. if PRT:FindFirstChildOfClass("Decal") then
  1522. PRT:FindFirstChildOfClass("Decal"):remove()
  1523. end
  1524. coroutine.resume(coroutine.create(function()
  1525. for i = 1, 500 do
  1526. Swait()
  1527. PRT.Transparency = PRT.Transparency + 1/100
  1528. end
  1529. PRT:remove()
  1530. end))
  1531. end
  1532. end
  1533. end
  1534. CamShake(1,1)
  1535. CreateSound(217767125, Torso, 10, 1)
  1536. local POS = RootPart.Orientation
  1537. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1538. local HIT,POS = CastProperRay(RootPart.Position, Mouse.Hit.p, 1000, Character)
  1539. SpawnTrail(Gun1.Position,POS)
  1540. RootPart.Orientation = POS
  1541. RootJoint.Parent = RootPart
  1542. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(3,8,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,10), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1543. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(6,5,6), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,10), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 3})
  1544. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 1})
  1545. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(19,19,19), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 1})
  1546. WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.3,0.2,0.3), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 1})
  1547. for i=0, 0.5, 0.1 / Animation_Speed do
  1548. Swait()
  1549. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1550. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1551. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1552. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1553. 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)
  1554. 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)
  1555. end
  1556. for i=0, 0.1, 0.1 / Animation_Speed do
  1557. Swait()
  1558. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1559. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1562. 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)
  1563. 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)
  1564. end
  1565. ATTACK = false
  1566. Rooted = false
  1567. end
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576. function SpectralBanishing()
  1577. ATTACK = true
  1578. Rooted = false
  1579. chatfunc("Your time has ended...", 20)
  1580. for i = 0, 5, 0.1 / Animation_Speed do
  1581. Swait()
  1582. 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)
  1583. 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)
  1584. 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)
  1585. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1586. 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)
  1587. 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)
  1588. end
  1589. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  1590. local LOOP = CreateSound("289315275", Gun1, 5, 1.2, false)
  1591. local MSH = IT("CylinderMesh",BEAM)
  1592. local STARTPOS = Gun1.CFrame.p
  1593. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1594. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1595. BEAM.CFrame = CF(STARTPOS,ENDPOS)
  1596. BEAM.Size = VT(1,100,1)
  1597. WACKYEFFECT({Time = 125, EffectType = "Sphere", Size = VT(55,55,55), Size2 = VT(44,44,44), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1598. I = I + 1
  1599. if I <= 10 then
  1600. BEAM.Transparency = BEAM.Transparency - 0.1
  1601. end
  1602.  
  1603. local ORB = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Alder"), "Orb", VT(0,0,0), true)
  1604. MakeForm(ORB,"Ball")
  1605. ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
  1606. local A = IT("Attachment",ORB)
  1607. local LOOP = 0
  1608. for i = 1, 200 do
  1609. Swait()
  1610. LOOP = LOOP + 1
  1611. if LOOP >= 30 then
  1612. LOOP = 0
  1613. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1614. end
  1615. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1616. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1617. end
  1618. CreateSound(CHARGE,Torso,6,0.5,false)
  1619. for i = 1, 200 do
  1620. Swait()
  1621. LOOP = LOOP + 1
  1622. if LOOP >= 30 then
  1623. LOOP = 0
  1624. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1625. end
  1626. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1627. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1628. end
  1629. for i = 1, 400 do
  1630. Swait()
  1631. LOOP = LOOP + 1
  1632. if LOOP >= 30 then
  1633. LOOP = 0
  1634. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1635. end
  1636. ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
  1637. ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
  1638. end
  1639. wait(0.5)
  1640. CreateSound(FIREBALLSOUND,Effects,4,1,false)
  1641. ORB.CFrame = CF(ORB.Position,Mouse.Hit.p)
  1642. for i = 1, 1200 do
  1643. Swait()
  1644. ORB.CFrame = ORB.CFrame*CF(0,0,-1)
  1645. local HIT,HITPOS = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2.5, Character)
  1646. if HIT then
  1647. break
  1648. end
  1649. end
  1650. WACKYEFFECT({Time = 125, EffectType = "Sphere", Size = VT(55,55,55), Size2 = VT(66,66,66), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1651. Swait(1)
  1652. WACKYEFFECT({Time = 125, EffectType = "Sphere", Size = VT(88,88,88), Size2 = VT(100,100,100), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1653. WACKYEFFECT({Time = 150, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1654. CamShake(5,15)
  1655. Swait()
  1656. WACKYEFFECT({Time = 125, EffectType = "Sphere", Size = VT(30,30,30), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 238353911, SoundPitch = 0.6, SoundVolume = 6})
  1657. WACKYEFFECT({Time = 40, EffectType = "Round Slash", Size = VT(0.3,0,0.3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun1.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1658. Wait(5)
  1659. local BALL = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  1660. local LOOP = CreateSound("289315275", Gun1, 5, 1.2, false)
  1661. local MSH = IT("CylinderMesh",BALL)
  1662. local TOCH = BALL.Touched:Connect(function(hit)
  1663. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1664. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1665. Banish(hit.Parent)
  1666. end
  1667. end
  1668. end)
  1669. if hit ~= nil then
  1670. if hit.Parent ~= workspace and hit.Parent.ClassName ~= "Folder" then
  1671. Banish(hit.Parent)
  1672. end
  1673. end
  1674. for i = 1, 3 do
  1675. BALL.CFrame = CF(Gun1.Position)
  1676. BALL.Size = VT(80,80,80)
  1677. CamShake(5,25)
  1678. ApplyAoE(ORB.Position,ORB.Size.X*10,75,90,375,true)
  1679. CreateSound(EXPLOSIONLARGESOUND,Effects,2,1,false)
  1680. CreateSound(EXPLOSIONSMALLSOUND,Effects,4,1,false)
  1681. for i = 1, 3 do
  1682. WACKYEFFECT({Time = 360, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(20,20,20)*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1683. end
  1684. for i = 1, 3 do
  1685. WACKYEFFECT({Time = 320, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(20,20,20)*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Red".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
  1686. end
  1687. for i = 1, 15 do
  1688. WACKYEFFECT({Time = 320+(i*5), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,25,25)*MRANDOM(5,20), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Gun1.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = BRICKC"Crimson".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1689. end
  1690. Swait()
  1691. for i = 0, 2, 0.1 / Animation_Speed do
  1692. Swait()
  1693. 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)
  1694. 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)
  1695. 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)
  1696. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1697. 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)
  1698. 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)
  1699. end
  1700. ATTACK = false
  1701. Rooted = false
  1702. BEAM:remove()
  1703. BALL:remove()
  1704. SpectralBanishing1()
  1705. end
  1706. end
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712. function Intro()
  1713. coroutine.resume(coroutine.create(function()
  1714. ATTACK = true
  1715. Rooted = true
  1716. for i = 0, 3, 0.1 / Animation_Speed do
  1717. Swait()
  1718. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1719. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1720. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1721. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1722. 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)
  1723. 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)
  1724. end
  1725. CreateSound("649634100", Head, 10, 0.5)
  1726. for i = 0, 1, 0.1 / Animation_Speed do
  1727. Swait()
  1728. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
  1729. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1730. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1731. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1732. 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)
  1733. 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)
  1734. end
  1735. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1736. repeat
  1737. Swait()
  1738. HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1739. until HITFLOOR ~= nil
  1740. for i = 0, 0.5, 0.1 / Animation_Speed do
  1741. Swait()
  1742. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 0.5 / Animation_Speed)
  1743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1746. 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)
  1747. 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)
  1748. end
  1749. CreateSound("289842971", RightArm, 10, 1)
  1750. Debree(CF(RightArm.Position) * CF(0, -0.75, 0).p, 200)
  1751. Swait(45)
  1752. Swait(5)
  1753. for i = 0, 1, 0.1 / Animation_Speed do
  1754. Swait()
  1755. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
  1756. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1757. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.25, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1758. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1759. 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)
  1760. 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)
  1761. end
  1762. VALUE1 = true
  1763. Swait(10)
  1764. ATTACK = false
  1765. Rooted = false
  1766. end))
  1767. end
  1768.  
  1769.  
  1770.  
  1771.  
  1772. --//=================================\\
  1773. --|| ASSIGN THINGS TO KEYS
  1774. --\\=================================//
  1775.  
  1776. function MouseDown(Mouse)
  1777. if ATTACK == false then
  1778. end
  1779. end
  1780.  
  1781. function MouseUp(Mouse)
  1782. HOLD = false
  1783. end
  1784.  
  1785. function KeyDown(Key)
  1786. KEYHOLD = true
  1787. if Key == "z" and ATTACK == false then
  1788. Banisher_Bullet()
  1789. end
  1790.  
  1791. if Key == "b" and ATTACK == false then
  1792. SpectralBanishing()
  1793. end
  1794.  
  1795. if Key == "c" and ATTACK == false then
  1796. Teleport()
  1797. end
  1798.  
  1799. if Key == "v" and ATTACK == false then
  1800. end
  1801.  
  1802. if Key == "x" and ATTACK == false then
  1803. BanishLaser()
  1804. end
  1805.  
  1806. if Key == "1" and ATTACK == false then
  1807. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  1808. TOBANISH = {}
  1809. end
  1810. end
  1811.  
  1812. function KeyUp(Key)
  1813. KEYHOLD = false
  1814. end
  1815.  
  1816. Mouse.Button1Down:connect(function(NEWKEY)
  1817. MouseDown(NEWKEY)
  1818. end)
  1819. Mouse.Button1Up:connect(function(NEWKEY)
  1820. MouseUp(NEWKEY)
  1821. end)
  1822. Mouse.KeyDown:connect(function(NEWKEY)
  1823. KeyDown(NEWKEY)
  1824. end)
  1825. Mouse.KeyUp:connect(function(NEWKEY)
  1826. KeyUp(NEWKEY)
  1827. end)
  1828.  
  1829. --//=================================\\
  1830. --\\=================================//
  1831.  
  1832.  
  1833. function unanchor()
  1834. if UNANCHOR == true then
  1835. g = Character:GetChildren()
  1836. for i = 1, #g do
  1837. if g[i].ClassName == "Part" then
  1838. g[i].Anchored = false
  1839. end
  1840. end
  1841. end
  1842. end
  1843.  
  1844.  
  1845. --//=================================\\
  1846. --|| WRAP THE WHOLE SCRIPT UP
  1847. --\\=================================//
  1848.  
  1849. Humanoid.Changed:connect(function(Jump)
  1850. if Jump == "Jump" and (Disable_Jump == true) then
  1851. Humanoid.Jump = false
  1852. end
  1853. end)
  1854.  
  1855. local CONNECT = nil
  1856.  
  1857. while true do
  1858. Swait()
  1859. ANIMATE.Parent = nil
  1860. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1861. Humanoid = IT("Humanoid",Character)
  1862. end
  1863. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1864. v:Stop();
  1865. end
  1866. SINE = SINE + CHANGE
  1867. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1868. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1869. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1870. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1871. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1872. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1873. 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)
  1874. 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)
  1875. 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)
  1876. 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)
  1877. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 then
  1878. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1879. 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)
  1880. 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)
  1881. 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)
  1882. end
  1883. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1884. ANIM = "Jump"
  1885. if ATTACK == false then
  1886. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1887. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1888. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1889. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1890. 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)
  1891. 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)
  1892. end
  1893. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1894. ANIM = "Fall"
  1895. if ATTACK == false then
  1896. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1897. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1898. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(55), RAD(0), RAD(55)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1899. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1900. 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)
  1901. 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)
  1902. end
  1903. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1904. ANIM = "Idle"
  1905. if ATTACK == false then
  1906. 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)
  1907. 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)
  1908. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1909. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1910. 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)
  1911. 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)
  1912. end
  1913. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1914. ANIM = "Walk"
  1915. WALK = WALK + 1 / Animation_Speed
  1916. if WALK >= 15 - 5 * (Humanoid.WalkSpeed / 16 / Player_Size) then
  1917. WALK = 0
  1918. if WALKINGANIM == true then
  1919. WALKINGANIM = false
  1920. elseif WALKINGANIM == false then
  1921. WALKINGANIM = true
  1922. end
  1923. end
  1924. if ATTACK == false then
  1925. 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)
  1926. 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)
  1927. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1928. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1929. 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)
  1930. 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)
  1931. end
  1932. end
  1933. unanchor()
  1934. refit()
  1935. Humanoid.MaxHealth = math.huge
  1936. Humanoid.Health = math.huge
  1937. if Rooted == false then
  1938. Disable_Jump = false
  1939. Humanoid.WalkSpeed = Speed
  1940. elseif Rooted == true then
  1941. Disable_Jump = true
  1942. Humanoid.WalkSpeed = 0
  1943. end
  1944. if MRANDOM(1,25) == 1 then
  1945. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25))), 1)
  1946. end
  1947. if FADERS == true then
  1948. if MRANDOM(1,7) == 1 then
  1949. CharacterFade(C3(1,0,0),65,R_RANDOM(Torso.CFrame,0.5).p)
  1950. end
  1951. end
  1952. sick.Parent = Torso
  1953. sick:resume()
  1954. sick.Volume = 1.25
  1955. sick.Pitch = 1.01
  1956. sick.SoundId = "rbxassetid://1140442110"
  1957. sick.Name = "BanishV5Music"
  1958. if VALUE1 == true then
  1959. elseif VALUE1 == false then
  1960. if ATTACK == false then
  1961. Intro()
  1962. end
  1963. end
  1964. end
  1965.  
  1966. --//=================================\\
  1967. --\\=================================//
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973. --//====================================================\\--
  1974. --|| END OF SCRIPT
  1975. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement