Advertisement
Guest User

Bonk

a guest
Jul 16th, 2019
764
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.97 KB | None | 0 0
  1. script.Name = "Banisher Gun V3 / 1"
  2. --//====================================================\\--
  3. --|| CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11.  
  12.  
  13. Player = game.Players.BONKBOY937
  14. Character = Player.Character
  15. local txt = Instance.new("BillboardGui", Character)
  16. txt.Adornee = Character.Head
  17. txt.Name = "_status"
  18. txt.Size = UDim2.new(2, 0, 1.2, 0)
  19. txt.StudsOffset = Vector3.new(-9, 8, 0)
  20. local text = Instance.new("TextLabel", txt)
  21. text.Size = UDim2.new(10, 0, 7, 0)
  22. text.FontSize = "Size24"
  23. text.TextScaled = true
  24. text.TextTransparency = 0
  25. text.BackgroundTransparency = 10
  26. text.TextTransparency = 0
  27. text.TextStrokeTransparency = 0
  28. text.Font = "Antique"
  29. text.TextStrokeColor3 = Color3.new(0,1,0)
  30. text.Text = ("The Bonk")
  31.  
  32. script:ClearAllChildren()
  33. wait(0.2)
  34.  
  35. Player = game:GetService("Players").BONKBOY937
  36. PlayerGui = Player.PlayerGui
  37. Cam = workspace.CurrentCamera
  38. Backpack = Player.Backpack
  39. Character = Player.Character
  40. Humanoid = Character.Humanoid
  41. Mouse = Player:GetMouse()
  42. RootPart = Character["HumanoidRootPart"]
  43. Torso = Character["Torso"]
  44. Head = Character["Head"]
  45. RightArm = Character["Right Arm"]
  46. LeftArm = Character["Left Arm"]
  47. RightLeg = Character["Right Leg"]
  48. LeftLeg = Character["Left Leg"]
  49. RootJoint = RootPart["RootJoint"]
  50. Neck = Torso["Neck"]
  51. RightShoulder = Torso["Right Shoulder"]
  52. LeftShoulder = Torso["Left Shoulder"]
  53. RightHip = Torso["Right Hip"]
  54. LeftHip = Torso["Left Hip"]
  55. local TIME = 0
  56. local sick = Instance.new("Sound",Torso)
  57.  
  58. IT = Instance.new
  59. CF = CFrame.new
  60. VT = Vector3.new
  61. RAD = math.rad
  62. C3 = Color3.new
  63. UD2 = UDim2.new
  64. BRICKC = BrickColor.new
  65. ANGLES = CFrame.Angles
  66. EULER = CFrame.fromEulerAnglesXYZ
  67. COS = math.cos
  68. ACOS = math.acos
  69. SIN = math.sin
  70. ASIN = math.asin
  71. ABS = math.abs
  72. MRANDOM = math.random
  73. FLOOR = math.floor
  74.  
  75. --//=================================\\
  76. --|| USEFUL VALUES
  77. --\\=================================//
  78.  
  79. Animation_Speed = 3
  80. local FORCERESET = false
  81. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  82. local Speed = 16
  83. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  84. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  85. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  86. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  87. local DAMAGEMULTIPLIER = 1
  88. local ANIM = "Idle"
  89. local ATTACK = false
  90. local EQUIPPED = false
  91. local HOLD = false
  92. local COMBO = 1
  93. local Rooted = false
  94. local SINE = 0
  95. local KEYHOLD = false
  96. local CHANGE = 2 / Animation_Speed
  97. local WALKINGANIM = false
  98. local VALUE1 = false
  99. local VALUE2 = false
  100. local ROBLOXIDLEANIMATION = IT("Animation")
  101. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  102. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  103. --ROBLOXIDLEANIMATION.Parent = Humanoid
  104. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  105. WEAPONGUI.Name = "BanishV3Gui"
  106. local Weapon = IT("Model")
  107. Weapon.Name = "Adds"
  108. local Effects = IT("Folder", Weapon)
  109. Effects.Name = "Effects"
  110. local ANIMATOR = Humanoid.Animator
  111. local ANIMATE = Character:FindFirstChild("Animate")
  112. local UNANCHOR = true
  113. local TOBANISH = {}
  114. script.Parent = PlayerGui
  115.  
  116. --//=================================\\
  117. --\\=================================//
  118.  
  119.  
  120. --//=================================\\
  121. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  122. --\\=================================//
  123.  
  124. ArtificialHB = Instance.new("BindableEvent", script)
  125. ArtificialHB.Name = "ArtificialHB"
  126.  
  127. script:WaitForChild("ArtificialHB")
  128.  
  129. frame = Frame_Speed
  130. tf = 0
  131. allowframeloss = false
  132. tossremainder = false
  133. lastframe = tick()
  134. script.ArtificialHB:Fire()
  135.  
  136. game:GetService("RunService").Heartbeat:connect(function(s, p)
  137. tf = tf + s
  138. if tf >= frame then
  139. if allowframeloss then
  140. script.ArtificialHB:Fire()
  141. lastframe = tick()
  142. else
  143. for i = 1, math.floor(tf / frame) do
  144. script.ArtificialHB:Fire()
  145. end
  146. lastframe = tick()
  147. end
  148. if tossremainder then
  149. tf = 0
  150. else
  151. tf = tf - frame * math.floor(tf / frame)
  152. end
  153. end
  154. end)
  155.  
  156. --//=================================\\
  157. --\\=================================//
  158.  
  159. --//=================================\\
  160. --|| SOME FUNCTIONS
  161. --\\=================================//
  162.  
  163. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  164. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  165. end
  166.  
  167. function PositiveAngle(NUMBER)
  168. if NUMBER >= 0 then
  169. NUMBER = 0
  170. end
  171. return NUMBER
  172. end
  173.  
  174. function NegativeAngle(NUMBER)
  175. if NUMBER <= 0 then
  176. NUMBER = 0
  177. end
  178. return NUMBER
  179. end
  180.  
  181. function Swait(NUMBER)
  182. if NUMBER == 0 or NUMBER == nil then
  183. ArtificialHB.Event:wait()
  184. else
  185. for i = 1, NUMBER do
  186. ArtificialHB.Event:wait()
  187. end
  188. end
  189. end
  190.  
  191. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  192. local NEWMESH = IT(MESH)
  193. if MESH == "SpecialMesh" then
  194. NEWMESH.MeshType = MESHTYPE
  195. if MESHID ~= "nil" and MESHID ~= "" then
  196. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  197. end
  198. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  199. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  200. end
  201. end
  202. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  203. NEWMESH.Scale = SCALE
  204. NEWMESH.Parent = PARENT
  205. return NEWMESH
  206. end
  207.  
  208. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  209. local NEWPART = IT("Part")
  210. NEWPART.formFactor = FORMFACTOR
  211. NEWPART.Reflectance = REFLECTANCE
  212. NEWPART.Transparency = TRANSPARENCY
  213. NEWPART.CanCollide = false
  214. NEWPART.Locked = true
  215. NEWPART.Anchored = true
  216. if ANCHOR == false then
  217. NEWPART.Anchored = false
  218. end
  219. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  220. NEWPART.Name = NAME
  221. NEWPART.Size = SIZE
  222. NEWPART.Position = Torso.Position
  223. NEWPART.Material = MATERIAL
  224. NEWPART:BreakJoints()
  225. NEWPART.Parent = PARENT
  226. return NEWPART
  227. end
  228.  
  229. local function weldBetween(a, b)
  230. local weldd = Instance.new("ManualWeld")
  231. weldd.Part0 = a
  232. weldd.Part1 = b
  233. weldd.C0 = CFrame.new()
  234. weldd.C1 = b.CFrame:inverse() * a.CFrame
  235. weldd.Parent = a
  236. return weldd
  237. end
  238.  
  239.  
  240. function QuaternionFromCFrame(cf)
  241. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  242. local trace = m00 + m11 + m22
  243. if trace > 0 then
  244. local s = math.sqrt(1 + trace)
  245. local recip = 0.5 / s
  246. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  247. else
  248. local i = 0
  249. if m11 > m00 then
  250. i = 1
  251. end
  252. if m22 > (i == 0 and m00 or m11) then
  253. i = 2
  254. end
  255. if i == 0 then
  256. local s = math.sqrt(m00 - m11 - m22 + 1)
  257. local recip = 0.5 / s
  258. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  259. elseif i == 1 then
  260. local s = math.sqrt(m11 - m22 - m00 + 1)
  261. local recip = 0.5 / s
  262. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  263. elseif i == 2 then
  264. local s = math.sqrt(m22 - m00 - m11 + 1)
  265. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  266. end
  267. end
  268. end
  269.  
  270. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  271. local xs, ys, zs = x + x, y + y, z + z
  272. local wx, wy, wz = w * xs, w * ys, w * zs
  273. local xx = x * xs
  274. local xy = x * ys
  275. local xz = x * zs
  276. local yy = y * ys
  277. local yz = y * zs
  278. local zz = z * zs
  279. 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))
  280. end
  281.  
  282. function QuaternionSlerp(a, b, t)
  283. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  284. local startInterp, finishInterp;
  285. if cosTheta >= 0.0001 then
  286. if (1 - cosTheta) > 0.0001 then
  287. local theta = ACOS(cosTheta)
  288. local invSinTheta = 1 / SIN(theta)
  289. startInterp = SIN((1 - t) * theta) * invSinTheta
  290. finishInterp = SIN(t * theta) * invSinTheta
  291. else
  292. startInterp = 1 - t
  293. finishInterp = t
  294. end
  295. else
  296. if (1 + cosTheta) > 0.0001 then
  297. local theta = ACOS(-cosTheta)
  298. local invSinTheta = 1 / SIN(theta)
  299. startInterp = SIN((t - 1) * theta) * invSinTheta
  300. finishInterp = SIN(t * theta) * invSinTheta
  301. else
  302. startInterp = t - 1
  303. finishInterp = t
  304. end
  305. end
  306. 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
  307. end
  308.  
  309. function Clerp(a, b, t)
  310. local qa = {QuaternionFromCFrame(a)}
  311. local qb = {QuaternionFromCFrame(b)}
  312. local ax, ay, az = a.x, a.y, a.z
  313. local bx, by, bz = b.x, b.y, b.z
  314. local _t = 1 - t
  315. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  316. end
  317.  
  318. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  319. local frame = IT("Frame")
  320. frame.BackgroundTransparency = TRANSPARENCY
  321. frame.BorderSizePixel = BORDERSIZEPIXEL
  322. frame.Position = POSITION
  323. frame.Size = SIZE
  324. frame.BackgroundColor3 = COLOR
  325. frame.BorderColor3 = BORDERCOLOR
  326. frame.Name = NAME
  327. frame.Parent = PARENT
  328. return frame
  329. end
  330.  
  331. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  332. local label = IT("TextLabel")
  333. label.BackgroundTransparency = 1
  334. label.Size = UD2(1, 0, 1, 0)
  335. label.Position = UD2(0, 0, 0, 0)
  336. label.TextColor3 = TEXTCOLOR
  337. label.TextStrokeTransparency = STROKETRANSPARENCY
  338. label.TextTransparency = TRANSPARENCY
  339. label.FontSize = TEXTFONTSIZE
  340. label.Font = TEXTFONT
  341. label.BorderSizePixel = BORDERSIZEPIXEL
  342. label.TextScaled = false
  343. label.Text = TEXT
  344. label.Name = NAME
  345. label.Parent = PARENT
  346. return label
  347. end
  348.  
  349. function NoOutlines(PART)
  350. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  351. end
  352.  
  353. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  354. local NEWWELD = IT(TYPE)
  355. NEWWELD.Part0 = PART0
  356. NEWWELD.Part1 = PART1
  357. NEWWELD.C0 = C0
  358. NEWWELD.C1 = C1
  359. NEWWELD.Parent = PARENT
  360. return NEWWELD
  361. end
  362.  
  363. local S = IT("Sound")
  364. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  365. local NEWSOUND = nil
  366. coroutine.resume(coroutine.create(function()
  367. NEWSOUND = S:Clone()
  368. NEWSOUND.Parent = PARENT
  369. NEWSOUND.Volume = VOLUME
  370. NEWSOUND.Pitch = PITCH
  371. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  372. NEWSOUND:play()
  373. if DOESLOOP == true then
  374. NEWSOUND.Looped = true
  375. else
  376. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  377. NEWSOUND:remove()
  378. end
  379. end))
  380. return NEWSOUND
  381. end
  382.  
  383. function CFrameFromTopBack(at, top, back)
  384. local right = top:Cross(back)
  385. 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)
  386. end
  387.  
  388. --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})
  389. function WACKYEFFECT(Table)
  390. local TYPE = (Table.EffectType or "Sphere")
  391. local SIZE = (Table.Size or VT(1,1,1))
  392. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  393. local TRANSPARENCY = (Table.Transparency or 0)
  394. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  395. local CFRAME = (Table.CFrame or Torso.CFrame)
  396. local MOVEDIRECTION = (Table.MoveToPos or nil)
  397. local ROTATION1 = (Table.RotationX or 0)
  398. local ROTATION2 = (Table.RotationY or 0)
  399. local ROTATION3 = (Table.RotationZ or 0)
  400. local MATERIAL = (Table.Material or "Neon")
  401. local COLOR = (Table.Color or C3(1,1,1))
  402. local TIME = (Table.Time or 45)
  403. local SOUNDID = (Table.SoundID or nil)
  404. local SOUNDPITCH = (Table.SoundPitch or nil)
  405. local SOUNDVOLUME = (Table.SoundVolume or nil)
  406. coroutine.resume(coroutine.create(function()
  407. local PLAYSSOUND = false
  408. local SOUND = nil
  409. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  410. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  411. PLAYSSOUND = true
  412. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  413. end
  414. EFFECT.Color = COLOR
  415. local MSH = nil
  416. if TYPE == "Sphere" then
  417. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  418. elseif TYPE == "Block" then
  419. MSH = IT("BlockMesh",EFFECT)
  420. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  421. elseif TYPE == "Wave" then
  422. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  423. elseif TYPE == "Ring" then
  424. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  425. elseif TYPE == "Slash" then
  426. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  427. elseif TYPE == "Round Slash" then
  428. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  429. elseif TYPE == "Swirl" then
  430. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  431. elseif TYPE == "Skull" then
  432. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  433. elseif TYPE == "Crystal" then
  434. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  435. end
  436. if MSH ~= nil then
  437. local MOVESPEED = nil
  438. if MOVEDIRECTION ~= nil then
  439. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  440. end
  441. local GROWTH = SIZE - ENDSIZE
  442. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  443. if TYPE == "Block" then
  444. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  445. else
  446. EFFECT.CFrame = CFRAME
  447. end
  448. for LOOP = 1, TIME+1 do
  449. Swait()
  450. MSH.Scale = MSH.Scale - GROWTH/TIME
  451. if TYPE == "Wave" then
  452. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  453. end
  454. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  455. if TYPE == "Block" then
  456. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  457. else
  458. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  459. end
  460. if MOVEDIRECTION ~= nil then
  461. local ORI = EFFECT.Orientation
  462. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  463. EFFECT.Orientation = ORI
  464. end
  465. end
  466. if PLAYSSOUND == false then
  467. EFFECT:remove()
  468. else
  469. SOUND.Stopped:Connect(function()
  470. EFFECT:remove()
  471. end)
  472. end
  473. else
  474. if PLAYSSOUND == false then
  475. EFFECT:remove()
  476. else
  477. repeat Swait() until SOUND.Playing == false
  478. EFFECT:remove()
  479. end
  480. end
  481. end))
  482. end
  483.  
  484. function MakeForm(PART,TYPE)
  485. if TYPE == "Cyl" then
  486. local MSH = IT("CylinderMesh",PART)
  487. elseif TYPE == "Ball" then
  488. local MSH = IT("SpecialMesh",PART)
  489. MSH.MeshType = "Sphere"
  490. elseif TYPE == "Wedge" then
  491. local MSH = IT("SpecialMesh",PART)
  492. MSH.MeshType = "Wedge"
  493. end
  494. end
  495.  
  496. function SpawnTrail(FROM,TO,BIG)
  497. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  498. MakeForm(TRAIL,"Cyl")
  499. local DIST = (FROM - TO).Magnitude
  500. if BIG == true then
  501. TRAIL.Size = VT(10,DIST,0.5)
  502. else
  503. TRAIL.Size = VT(0.25,DIST,0.25)
  504. end
  505. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  506. coroutine.resume(coroutine.create(function()
  507. for i = 1, 5 do
  508. Swait()
  509. TRAIL.Transparency = TRAIL.Transparency + 0.1
  510. end
  511. TRAIL:remove()
  512. end))
  513. end
  514.  
  515. Debris = game:GetService("Debris")
  516.  
  517. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  518. local DIRECTION = CF(StartPos,EndPos).lookVector
  519. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  520. end
  521.  
  522. function turnto(position)
  523. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  524. end
  525. local Particle = IT("ParticleEmitter",nil)
  526. Particle.Enabled = false
  527. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  528. Particle.LightEmission = 0.5
  529. Particle.Rate = 150
  530. Particle.ZOffset = 1
  531. Particle.Rotation = NumberRange.new(-180, 180)
  532. Particle.RotSpeed = NumberRange.new(-180, 180)
  533. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  534. Particle.Color = ColorSequence.new(C3(0,3,0),C3(0.4,0,0))
  535.  
  536. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  537. function ParticleEmitter(Table)
  538. local PRTCL = Particle:Clone()
  539. local Speed = Table.Speed or 5
  540. local Drag = Table.Drag or 0
  541. local Size1 = Table.Size1 or 1
  542. local Size2 = Table.Size2 or 5
  543. local Lifetime1 = Table.Lifetime1 or 1
  544. local Lifetime2 = Table.Lifetime2 or 1.5
  545. local Parent = Table.Parent or Torso
  546. local Emit = Table.Emit or 100
  547. local Offset = Table.Offset or 360
  548. local Acel = Table.Acel or VT(0,0,0)
  549. local Enabled = Table.Enabled or false
  550. PRTCL.Parent = Parent
  551. PRTCL.Size = NumberSequence.new(Size1,Size2)
  552. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  553. PRTCL.Speed = NumberRange.new(Speed)
  554. PRTCL.VelocitySpread = Offset
  555. PRTCL.Drag = Drag
  556. PRTCL.Acceleration = Acel
  557. if Enabled == false then
  558. PRTCL:Emit(Emit)
  559. Debris:AddItem(PRTCL,Lifetime2)
  560. else
  561. PRTCL.Enabled = true
  562. end
  563. return PRTCL
  564. end
  565. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  566. local NEWMESH = IT(MESH)
  567. if MESH == "SpecialMesh" then
  568. NEWMESH.MeshType = MESHTYPE
  569. if MESHID ~= "nil" and MESHID ~= "" then
  570. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  571. end
  572. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  573. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  574. end
  575. end
  576. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  577. NEWMESH.Scale = SCALE
  578. NEWMESH.Parent = PARENT
  579. return NEWMESH
  580. end
  581. local Particle = IT("ParticleEmitter",nil)
  582. Particle.Enabled = false
  583. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  584. Particle.LightEmission = 0.5
  585. Particle.Rate = 150
  586. Particle.ZOffset = 1
  587. Particle.Rotation = NumberRange.new(-180, 180)
  588. Particle.RotSpeed = NumberRange.new(-180, 180)
  589. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  590. Particle.Color = ColorSequence.new(C3(0,3,0),C3(0,0,1))
  591.  
  592. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  593. function ParticleEmitter(Table)
  594. local PRTCL = Particle:Clone()
  595. local Speed = Table.Speed or 5
  596. local Drag = Table.Drag or 0
  597. local Size1 = Table.Size1 or 1
  598. local Size2 = Table.Size2 or 5
  599. local Lifetime1 = Table.Lifetime1 or 1
  600. local Lifetime2 = Table.Lifetime2 or 1.5
  601. local Parent = Table.Parent or Torso
  602. local Emit = Table.Emit or 100
  603. local Offset = Table.Offset or 360
  604. local Acel = Table.Acel or VT(0,0,0)
  605. local Enabled = Table.Enabled or false
  606. PRTCL.Parent = Parent
  607. PRTCL.Size = NumberSequence.new(Size1,Size2)
  608. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  609. PRTCL.Speed = NumberRange.new(Speed)
  610. PRTCL.VelocitySpread = Offset
  611. PRTCL.Drag = Drag
  612. PRTCL.Acceleration = Acel
  613. if Enabled == false then
  614. PRTCL:Emit(Emit)
  615. Debris:AddItem(PRTCL,Lifetime2)
  616. else
  617. PRTCL.Enabled = true
  618. end
  619. return PRTCL
  620. end
  621. local asd = Instance.new("ParticleEmitter")
  622. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  623. asd.LightEmission = .1
  624. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  625. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  626. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  627. asd.Transparency = bbb
  628. asd.Size = aaa
  629. asd.ZOffset = .9
  630. asd.Acceleration = Vector3.new(0, -15, 0)
  631. asd.LockedToPart = false
  632. asd.EmissionDirection = "Back"
  633. asd.Lifetime = NumberRange.new(1, 2)
  634. asd.Rotation = NumberRange.new(-100, 100)
  635. asd.RotSpeed = NumberRange.new(-100, 100)
  636. asd.Speed = NumberRange.new(10)
  637. asd.Enabled = false
  638. asd.VelocitySpread = 999
  639. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  640. local NEWPART = IT("Part")
  641. NEWPART.formFactor = FORMFACTOR
  642. NEWPART.Reflectance = REFLECTANCE
  643. NEWPART.Transparency = TRANSPARENCY
  644. NEWPART.CanCollide = false
  645. NEWPART.Locked = true
  646. NEWPART.Anchored = true
  647. if ANCHOR == false then
  648. NEWPART.Anchored = false
  649. end
  650. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  651. NEWPART.Name = NAME
  652. NEWPART.Size = SIZE
  653. NEWPART.Position = Torso.Position
  654. NEWPART.Material = MATERIAL
  655. NEWPART:BreakJoints()
  656. NEWPART.Parent = PARENT
  657. return NEWPART
  658. end
  659. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  660. local NEWMESH = IT(MESH)
  661. if MESH == "SpecialMesh" then
  662. NEWMESH.MeshType = MESHTYPE
  663. if MESHID ~= "nil" and MESHID ~= "" then
  664. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  665. end
  666. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  667. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  668. end
  669. end
  670. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  671. NEWMESH.Scale = SCALE
  672. NEWMESH.Parent = PARENT
  673. return NEWMESH
  674. end
  675. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  676. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  677. end
  678.  
  679. function PositiveAngle(NUMBER)
  680. if NUMBER >= 0 then
  681. NUMBER = 0
  682. end
  683. return NUMBER
  684. end
  685.  
  686. function NegativeAngle(NUMBER)
  687. if NUMBER <= 0 then
  688. NUMBER = 0
  689. end
  690. return NUMBER
  691. end
  692.  
  693. function Swait(NUMBER)
  694. if NUMBER == 0 or NUMBER == nil then
  695. ArtificialHB.Event:wait()
  696. else
  697. for i = 1, NUMBER do
  698. ArtificialHB.Event:wait()
  699. end
  700. end
  701. end
  702.  
  703. --//=================================\\
  704. --|| WEAPON CREATION
  705. --\\=================================//
  706.  
  707. local Particle = IT("ParticleEmitter",nil)
  708. Particle.Enabled = false
  709. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  710. Particle.LightEmission = 0.5
  711. Particle.Rate = 150
  712. Particle.ZOffset = 0.2
  713. Particle.Rotation = NumberRange.new(-180, 180)
  714. Particle.RotSpeed = NumberRange.new(-180, 180)
  715. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  716. Particle.Color = ColorSequence.new(C3(0,3,0),C3(0,0,1)
  717. )
  718.  
  719. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  720. function ParticleEmitter(Table)
  721. local PRTCL = Particle:Clone()
  722. local Speed = Table.Speed or 5
  723. local Drag = Table.Drag or 0
  724. local Size1 = Table.Size1 or 1
  725. local Size2 = Table.Size2 or 5
  726. local Lifetime1 = Table.Lifetime1 or 1
  727. local Lifetime2 = Table.Lifetime2 or 1.5
  728. local Parent = Table.Parent or Torso
  729. local Emit = Table.Emit or 100
  730. local Offset = Table.Offset or 360
  731. local Acel = Table.Acel or VT(0,0,0)
  732. local Enabled = Table.Enabled or false
  733. PRTCL.Parent = Parent
  734. PRTCL.Size = NumberSequence.new(Size1,Size2)
  735. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  736. PRTCL.Speed = NumberRange.new(Speed)
  737. PRTCL.VelocitySpread = Offset
  738. PRTCL.Drag = Drag
  739. PRTCL.Acceleration = Acel
  740. if Enabled == false then
  741. PRTCL:Emit(Emit)
  742. Debris:AddItem(PRTCL,Lifetime2)
  743. else
  744. PRTCL.Enabled = true
  745. end
  746. return PRTCL
  747. end
  748.  
  749. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  750. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  751. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  752. MakeForm(Part,"Wedge")
  753. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  754. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  755. MakeForm(Part,"Wedge")
  756. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  757. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  758. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  759. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  760. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  761. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  762. MakeForm(Part,"Cyl")
  763. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  764. for i = 1, 8 do
  765. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  766. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  767. end
  768. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  769. MakeForm(Part,"Cyl")
  770. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  771. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  772. MakeForm(Part,"Ball")
  773. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  774. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  775. MakeForm(Part,"Wedge")
  776. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  777. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  778. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  779. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  780. MakeForm(Part,"Cyl")
  781. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  782. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  783. MakeForm(Part,"Cyl")
  784. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  785. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  786. MakeForm(Part,"Cyl")
  787. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  788. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  789. MakeForm(Part,"Wedge")
  790. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  791. local LASTPART = Handle
  792. for i = 1, 10 do
  793. if LASTPART == Handle then
  794. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  795. LASTPART = Part
  796. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  797. else
  798. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  799. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  800. LASTPART = Part
  801. end
  802. end
  803.  
  804. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  805. MakeForm(Barrel,"Cyl")
  806. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  807. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  808. MakeForm(Part,"Cyl")
  809. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  810. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  811. MakeForm(Part,"Wedge")
  812. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  813. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  814. MakeForm(Hole,"Cyl")
  815. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  816. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  817. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  818. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  819. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  820. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  821. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  822. coroutine.resume(coroutine.create(function()
  823. while wait() do
  824. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  825. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  826. end
  827. end))
  828.  
  829.  
  830. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0.1, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  831. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  832.  
  833. for _, c in pairs(Weapon:GetDescendants()) do
  834. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  835. c.Material = "Glass"
  836. c.Color = C3(0,0,1)
  837. elseif c.ClassName == "Part" and c.Name == "Eye" then
  838. c.Color = C3(0,3,0)
  839. c.Material = "Neon"
  840. end
  841. end
  842.  
  843. Weapon.Parent = Character
  844. for _, c in pairs(Weapon:GetChildren()) do
  845. if c.ClassName == "Part" then
  846. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  847. end
  848. end
  849.  
  850. local SKILLTEXTCOLOR = C3(0,3,0)
  851. local SKILLFONT = "Antique"
  852. local SKILLTEXTSIZE = 7
  853.  
  854. Humanoid.Died:connect(function()
  855. ATTACK = true
  856. end)
  857.  
  858. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  859. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  860. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  861. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  862. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  863. ]]
  864. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  865. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  866. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  867. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  868. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  869. ]]
  870. function printbye(Name)
  871. 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, "}
  872. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  873. end
  874.  
  875. workspace.ChildAdded:connect(function(instance)
  876. for BANISH = 1, #TOBANISH do
  877. if TOBANISH[BANISH] ~= nil then
  878. if instance.Name == TOBANISH[BANISH] then
  879. coroutine.resume(coroutine.create(function()
  880. printbye(instance.Name)
  881. instance:ClearAllChildren()
  882. Debris:AddItem(instance,0.0005)
  883. end))
  884. end
  885. end
  886. end
  887. end)
  888.  
  889.  
  890. for _, c in pairs(Character:GetDescendants()) do
  891. if c and c.Parent then
  892. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  893. local ACCESSORY = c.Parent
  894. c.Parent = Character
  895. if c then
  896. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  897. weldBetween(Head,c)
  898. else
  899. weldBetween(Torso,c)
  900. end
  901. end
  902.  
  903. end
  904. end
  905. end
  906. local BODY = {}
  907. for _, c in pairs(Character:GetDescendants()) do
  908. if c:IsA("BasePart") and c.Name ~= "Handle" then
  909. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  910. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  911. end
  912. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  913. elseif c:IsA("JointInstance") then
  914. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  915. end
  916. end
  917. function refit()
  918. Character.Parent = workspace
  919. for e = 1, #BODY do
  920. if BODY[e] ~= nil then
  921. local STUFF = BODY[e]
  922. local PART = STUFF[1]
  923. local PARENT = STUFF[2]
  924. local MATERIAL = STUFF[3]
  925. local COLOR = STUFF[4]
  926. local TRANSPARENCY = STUFF[5]
  927. --local SIZE = STUFF[6]
  928. local NAME = STUFF[7]
  929. if PART.ClassName == "Part" and PART ~= RootPart then
  930. PART.Material = MATERIAL
  931. PART.Transparency = TRANSPARENCY
  932. PART.Name = NAME
  933. end
  934. if PART.Parent ~= PARENT then
  935. Humanoid:remove()
  936. PART.Parent = PARENT
  937. Humanoid = IT("Humanoid",Character)
  938. end
  939. end
  940. end
  941. end
  942. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eye", VT(0.6,0.1,1)/2,false)
  943. MakeForm(Eye,"Ball")
  944. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  945. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eye", VT(0.6,0.1,1)/2,false)
  946. MakeForm(Eye,"Ball")
  947. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  948. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eye", VT(0.1,1,1)/2,false)
  949. MakeForm(Eye,"Ball")
  950. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  951. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Eye", VT(0.1,1,1)/2,false)
  952. MakeForm(Eye,"Ball")
  953. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  954.  
  955. local ChainLink = IT("Beam",Torso)
  956. ChainLink.Texture = "rbxassetid://73042633"
  957. ChainLink.Color = ColorSequence.new(C3(0,3,0))
  958. ChainLink.TextureSpeed = 1
  959. ChainLink.FaceCamera = true
  960. ChainLink.Width0 = 1
  961. ChainLink.Width1 = 1
  962. ChainLink.TextureLength = 3
  963. ChainLink.Attachment0 = A
  964. ChainLink.Attachment1 = B
  965. ChainLink.CurveSize0 = 1.6
  966. ChainLink.CurveSize1 = 1.6
  967. ChainLink.FaceCamera = true
  968. ChainLink.Transparency = NumberSequence.new(0)
  969. local ChainLink = IT("Beam",Torso)
  970. ChainLink.Texture = "rbxassetid://73042633"
  971. ChainLink.Color = ColorSequence.new(C3(0,3,0))
  972. ChainLink.TextureSpeed = 1
  973. ChainLink.FaceCamera = true
  974. ChainLink.Width0 = 1
  975. ChainLink.Width1 = 1
  976. ChainLink.TextureLength = 3
  977. ChainLink.Attachment0 = B
  978. ChainLink.Attachment1 = A
  979. ChainLink.CurveSize0 = 1.6
  980. ChainLink.CurveSize1 = 1.6
  981. ChainLink.FaceCamera = true
  982. ChainLink.Transparency = NumberSequence.new(0)
  983. local A = IT("Attachment",Torso)
  984. A.Position = VT(1.3,-0.85,0)
  985. A.Orientation = VT(-0.098, -89.999, 0.227)
  986. local B = IT("Attachment",Torso)
  987. B.Position = VT(-1,2,0)
  988. B.Orientation = VT(-88.911, -68.808, 158.782)
  989. local ChainLink = IT("Beam",Torso)
  990. ChainLink.Texture = "rbxassetid://73042633"
  991. ChainLink.Color = ColorSequence.new(C3(0,3,0))
  992. ChainLink.TextureSpeed = 1
  993. ChainLink.FaceCamera = true
  994. ChainLink.Width0 = 1
  995. ChainLink.Width1 = 1
  996. ChainLink.TextureLength = 3
  997. ChainLink.Attachment0 = A
  998. ChainLink.Attachment1 = B
  999. ChainLink.CurveSize0 = 1.3
  1000. ChainLink.CurveSize1 = 1.3
  1001. ChainLink.FaceCamera = true
  1002. ChainLink.Transparency = NumberSequence.new(0)
  1003. local ChainLink = IT("Beam",Torso)
  1004. ChainLink.Texture = "rbxassetid://73042633"
  1005. ChainLink.Color = ColorSequence.new(C3(0,3,0))
  1006. ChainLink.TextureSpeed = 1
  1007. ChainLink.FaceCamera = true
  1008. ChainLink.Width0 = 1
  1009. ChainLink.Width1 = 1
  1010. ChainLink.TextureLength = 3
  1011. ChainLink.Attachment0 = B
  1012. ChainLink.Attachment1 = A
  1013. ChainLink.CurveSize0 = 1.3
  1014. ChainLink.CurveSize1 = 1.3
  1015. ChainLink.FaceCamera = true
  1016. ChainLink.Transparency = NumberSequence.new(0)
  1017.  
  1018. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  1019. PRT.LockedToPart = true
  1020. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  1021. PRT.LockedToPart = true
  1022. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  1023. PRT.LockedToPart = true
  1024. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  1025. PRT.LockedToPart = true
  1026. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  1027. PRT.LockedToPart = true
  1028. for _, c in pairs(Character:GetDescendants()) do
  1029. if c and c.Parent then
  1030. if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  1031. local ACCESSORY = c.Parent
  1032. c.Parent = Character
  1033. if c then
  1034. if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  1035. weldBetween(Head,c)
  1036. else
  1037. weldBetween(Torso,c)
  1038. end
  1039. end
  1040. ACCESSORY:remove()
  1041. elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1042. c.Material = "Neon"
  1043. c.Color = C3(0,0,0)
  1044. if c:FindFirstChildOfClass("SpecialMesh") then
  1045. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1046. end
  1047. if c == Head then
  1048. if c:FindFirstChild("face") then
  1049. c.face:remove()
  1050. end
  1051. end
  1052.  
  1053. end
  1054. end
  1055. end
  1056. local BODY = {}
  1057. for _, c in pairs(Character:GetDescendants()) do
  1058. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1059. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1060. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1061. end
  1062. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1063. elseif c:IsA("JointInstance") then
  1064. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1065. end
  1066. end
  1067. function refit()
  1068. Character.Parent = workspace
  1069. for e = 1, #BODY do
  1070. if BODY[e] ~= nil then
  1071. local STUFF = BODY[e]
  1072. local PART = STUFF[1]
  1073. local PARENT = STUFF[2]
  1074. local MATERIAL = STUFF[3]
  1075. local COLOR = STUFF[4]
  1076. local TRANSPARENCY = STUFF[5]
  1077. --local SIZE = STUFF[6]
  1078. local NAME = STUFF[7]
  1079. if PART.ClassName == "Part" and PART ~= RootPart then
  1080. PART.Material = MATERIAL
  1081. PART.Transparency = TRANSPARENCY
  1082. PART.Name = NAME
  1083. end
  1084. if PART.Parent ~= PARENT then
  1085. Humanoid:remove()
  1086. PART.Parent = PARENT
  1087. Humanoid = IT("Humanoid",Character)
  1088. end
  1089. end
  1090. end
  1091. end
  1092.  
  1093.  
  1094. --//=================================\\
  1095. --|| DAMAGING
  1096. --\\=================================//
  1097.  
  1098. function Banish(Foe)
  1099. if Foe then
  1100. coroutine.resume(coroutine.create(function()
  1101. --if game.Players:FindFirstChild(Foe.Name) then
  1102. table.insert(TOBANISH,Foe.Name)
  1103. printbye(Foe.Name)
  1104. --end
  1105. Foe.Archivable = true
  1106. local CLONE = Foe:Clone()
  1107. Foe:Destroy()
  1108. CLONE.Parent = Effects
  1109. CLONE:BreakJoints()
  1110. local MATERIALS = {"Glass","Neon"}
  1111. for _, c in pairs(CLONE:GetDescendants()) do
  1112. if c:IsA("BasePart") then
  1113. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1114. CreateSound(340722848, c, 10, 1, false)
  1115. end
  1116. c.Anchored = true
  1117. c.Transparency = c.Transparency + 0.2
  1118. c.Material = MATERIALS[MRANDOM(1,2)]
  1119. c.Color = C3(0,3,0)
  1120. if c.ClassName == "MeshPart" then
  1121. c.TextureID = ""
  1122. end
  1123. if c:FindFirstChildOfClass("SpecialMesh") then
  1124. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1125. end
  1126. if c:FindFirstChildOfClass("Decal") then
  1127. c:FindFirstChildOfClass("Decal"):remove()
  1128. end
  1129. c.Name = "Banished"
  1130. c.CanCollide = false
  1131. else
  1132. c:remove()
  1133. end
  1134. end
  1135. local A = false
  1136. for i = 1, 35 do
  1137. if A == false then
  1138. A = true
  1139. elseif A == true then
  1140. A = false
  1141. end
  1142. for _, c in pairs(CLONE:GetDescendants()) do
  1143. if c:IsA("BasePart") then
  1144. c.Anchored = true
  1145. c.Material = MATERIALS[MRANDOM(1,2)]
  1146. c.Transparency = c.Transparency + 0.8/35
  1147. if A == false then
  1148. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1149. elseif A == true then
  1150. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1151. end
  1152. end
  1153. end
  1154. Swait()
  1155. end
  1156. CLONE:remove()
  1157. end))
  1158. end
  1159. end
  1160.  
  1161. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1162. local CHILDREN = workspace:GetDescendants()
  1163. for index, CHILD in pairs(CHILDREN) do
  1164. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1165. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1166. if HUM then
  1167. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1168. if TORSO then
  1169. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1170. if ISBANISH == true then
  1171. Banish(CHILD)
  1172. else
  1173. if ISBANISH == "Gravity" then
  1174. HUM.PlatformStand = true
  1175. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1176. local grav = Instance.new("BodyPosition",TORSO)
  1177. grav.D = 15
  1178. grav.P = 20000
  1179. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1180. grav.position = TORSO.Position
  1181. grav.Name = "V3BanishForce"..Player.Name
  1182. else
  1183. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1184. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1185. end
  1186. else
  1187. HUM.PlatformStand = false
  1188. end
  1189. end
  1190. elseif ISBANISH == "Gravity" then
  1191. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1192. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1193. HUM.PlatformStand = false
  1194. end
  1195. end
  1196. end
  1197. end
  1198. end
  1199. end
  1200. end
  1201.  
  1202. --//=================================\\
  1203. --|| ATTACK FUNCTIONS AND STUFF
  1204. --\\=================================//
  1205.  
  1206. function Banisher_Bullet()
  1207. ATTACK = true
  1208. Rooted = false
  1209. for i=0, 0.00001, 10000000000 / Animation_Speed do
  1210. Swait()
  1211. turnto(Mouse.Hit.p)
  1212. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  1213. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.01 / Animation_Speed)
  1214. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1215. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1216. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1217. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1218. end
  1219. repeat
  1220. for i=0, 0.00001, 1000000000 / Animation_Speed do
  1221. Swait()
  1222. turnto(Mouse.Hit.p)
  1223. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  1224. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1 / Animation_Speed)
  1225. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1226. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1227. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1228. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1229. end
  1230. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1231. SpawnTrail(Hole.Position,POS)
  1232. if HIT ~= nil then
  1233. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1234. Banish(HIT.Parent)
  1235. end
  1236. end
  1237. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1238. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,3,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1239. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,3,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1240. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,3,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1241. for i=0, 0.0001, 10000000 / Animation_Speed do
  1242. Swait()
  1243. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1/ Animation_Speed)
  1244. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1245. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1246. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1247. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1248. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1249. end
  1250. until KEYHOLD == false
  1251. ATTACK = false
  1252. Rooted = false
  1253. end
  1254.  
  1255. function AttackTemplate()
  1256. ATTACK = true
  1257. Rooted = false
  1258. for i=0, 0.00001, 1000000 / Animation_Speed do
  1259. Swait()
  1260. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1261. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1262. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1263. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1264. 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)), 1 / Animation_Speed)
  1265. 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)), 1 / Animation_Speed)
  1266. end
  1267. ATTACK = false
  1268. Rooted = false
  1269. end
  1270.  
  1271. --//=================================\\
  1272. --|| ASSIGN THINGS TO KEYS
  1273. --\\=================================//
  1274.  
  1275. function MouseDown(Mouse)
  1276. if ATTACK == false then
  1277. end
  1278. end
  1279.  
  1280. function MouseUp(Mouse)
  1281. HOLD = false
  1282. end
  1283.  
  1284. function KeyDown(Key)
  1285. KEYHOLD = true
  1286. if Key == "z" and ATTACK == false then
  1287. Banisher_Bullet()
  1288. end
  1289.  
  1290. if Key == "b" and ATTACK == false then
  1291. end
  1292.  
  1293. if Key == "c" and ATTACK == false then
  1294. end
  1295.  
  1296. if Key == "v" and ATTACK == false then
  1297. end
  1298.  
  1299. if Key == "x" and ATTACK == false then
  1300. end
  1301. end
  1302.  
  1303. function KeyUp(Key)
  1304. KEYHOLD = false
  1305. end
  1306.  
  1307. --//=================================\\
  1308. --\\=================================//
  1309.  
  1310.  
  1311. function unanchor()
  1312. if UNANCHOR == true then
  1313. g = Character:GetChildren()
  1314. for i = 1, #g do
  1315. if g[i].ClassName == "Part" then
  1316. g[i].Anchored = false
  1317. end
  1318. end
  1319. end
  1320. end
  1321.  
  1322.  
  1323. --//=================================\\
  1324. --|| WRAP THE WHOLE SCRIPT UP
  1325. --\\=================================//
  1326.  
  1327. Humanoid.Changed:connect(function(Jump)
  1328. if Jump == "Jump" and (Disable_Jump == true) then
  1329. Humanoid.Jump = false
  1330. end
  1331. end)
  1332.  
  1333. local CONNECT = nil
  1334.  
  1335. while true do
  1336. Swait()
  1337. ANIMATE.Parent = nil
  1338. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1339. Humanoid = IT("Humanoid",Character)
  1340. end
  1341. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1342. v:Stop();
  1343. end
  1344. SINE = SINE + CHANGE
  1345. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1346. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1347. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1348. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1349. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1350. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 100) / Animation_Speed)
  1351. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1352. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 15) / Animation_Speed)
  1353. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.5 * (Humanoid.WalkSpeed / 15) / Animation_Speed)
  1354. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1355. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1356. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1357. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1358. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1359. end
  1360. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1361. ANIM = "Jump"
  1362. if ATTACK == false then
  1363. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1364. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1365. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1366. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1367. 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)
  1368. 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)
  1369. end
  1370. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1371. ANIM = "Fall"
  1372. if ATTACK == false then
  1373. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1374. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1375. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1376. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1377. 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)
  1378. 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)
  1379. end
  1380. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1381. ANIM = "Idle"
  1382. if ATTACK == false then
  1383. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1384. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1385. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1386. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1387. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1388. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1389. end
  1390. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1391. ANIM = "Walk"
  1392. if ATTACK == false then
  1393. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1394. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1395. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1396. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1397. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1398. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1399. end
  1400. end
  1401. unanchor()
  1402. Humanoid.MaxHealth = "inf"
  1403. Humanoid.Health = "inf"
  1404. if Rooted == false then
  1405. Disable_Jump = false
  1406. Humanoid.WalkSpeed = Speed
  1407. elseif Rooted == true then
  1408. Disable_Jump = true
  1409. Humanoid.WalkSpeed = 100
  1410. end
  1411. sick.Parent = Torso
  1412. sick:resume()
  1413. sick.Volume = 5
  1414. sick.Pitch = 1
  1415. sick.SoundId = "rbxassetid://682499163"
  1416. sick.Name = "BanishV3Music"
  1417. end
  1418. if c == Head then
  1419. if c:FindFirstChild("face") then
  1420. c.face:remove()
  1421. end
  1422. end
  1423. Humanoid.MaxHealth = "inf"
  1424. Humanoid.Health = "inf"
  1425. if Rooted == false then
  1426. Disable_Jump = false
  1427. Humanoid.WalkSpeed = Speed
  1428. elseif Rooted == true then
  1429. Disable_Jump = true
  1430. Humanoid.WalkSpeed = 0
  1431. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1432. c:remove()
  1433. end
  1434. for _, c in pairs(Character:GetDescendants()) do
  1435. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1436. c.Material = "Neon"
  1437. c.Color = C3(0,0,0)
  1438. if c:FindFirstChildOfClass("SpecialMesh") then
  1439. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1440. end
  1441. if c == Head then
  1442. if c:FindFirstChild("face") then
  1443. c.face:remove()
  1444. end
  1445. end
  1446. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1447. c.Color = C3(1,0,0)
  1448. c.Material = "Neon"
  1449. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1450. c:remove()
  1451. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1452. c:remove()
  1453. end
  1454. end
  1455. Humanoid.Changed:connect(function(Jump)
  1456. if Jump == "Jump" and (Disable_Jump == true) then
  1457. Humanoid.Jump = false
  1458. end
  1459. end)
  1460. for _, c in pairs(Character:GetDescendants()) do
  1461. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1462. c.Material = "Neon"
  1463. c.Color = C3(0,3,0)
  1464. if c:FindFirstChildOfClass("SpecialMesh") then
  1465. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1466. end
  1467. if c == Head then
  1468. if c:FindFirstChild("face") then
  1469. c.face:remove()
  1470. end
  1471. end
  1472. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1473. c.Color = C3(0,3,0)
  1474. c.Material = "Neon"
  1475. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1476. c:remove()
  1477. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1478. c:remove()
  1479. end
  1480. end
  1481. refit()
  1482. Humanoid.Name = "Deadeyes"
  1483. sick.Parent = Torso
  1484. sick:resume()
  1485. sick.Volume = 5
  1486. sick.Pitch = 1
  1487. sick.SoundId = "rbxassetid://"..SONGS[CHOICE]
  1488. if Head:FindFirstChildOfClass("Sound") then
  1489. Head:FindFirstChildOfClass("Sound"):remove()
  1490. end
  1491. for child in pairs(playerInWorkspace:GetChildren()) do
  1492. if child:IsA('Hat') then
  1493. print("removed hat")
  1494. child:Destroy()
  1495. end
  1496. if child:IsA('ShirtGraphic')then
  1497. print("removed shirt graphic")
  1498. child:Destroy()
  1499. end
  1500. if child:IsA('Shirt')then
  1501. print("removed shirt")
  1502. child:Destroy()
  1503. end
  1504. if child.Name == "Torso" then
  1505. for TorsoChild in pairs(child:GetChildren()) do
  1506. if TorsoChild:IsA('Decal')then
  1507. print("Decal Removed")
  1508. TorsoChild:Destroy()
  1509. end
  1510. end
  1511. end
  1512. end
  1513.  
  1514.  
  1515.  
  1516.  
  1517. --//=================================\\
  1518. --\\=================================//
  1519.  
  1520.  
  1521.  
  1522.  
  1523. --//====================================================\\--
  1524. --|| END OF SCRIPT
  1525. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement