Advertisement
Guest User

Untitled

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