Advertisement
Guest User

Untitled

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