Advertisement
wormybag9035

sense

Jul 1st, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.54 KB | None | 0 0
  1. wait(0.2)
  2.  
  3. Player = game.Players:WaitForChild(_G.target)
  4. PlayerGui = Player.PlayerGui
  5. Cam = workspace.CurrentCamera
  6. Backpack = Player.Backpack
  7. Character = Player.Character
  8. Humanoid = Character.Humanoid
  9. RootPart = Character["HumanoidRootPart"]
  10. Torso = Character["Torso"]
  11. Head = Character["Head"]
  12. RightArm = Character["Right Arm"]
  13. LeftArm = Character["Left Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LeftLeg = Character["Left Leg"]
  16. RootJoint = RootPart["RootJoint"]
  17. Neck = Torso["Neck"]
  18. RightShoulder = Torso["Right Shoulder"]
  19. LeftShoulder = Torso["Left Shoulder"]
  20. RightHip = Torso["Right Hip"]
  21. LeftHip = Torso["Left Hip"]
  22. local TIME = 0
  23. local sick = Instance.new("Sound",Torso)
  24.  
  25. IT = Instance.new
  26. CF = CFrame.new
  27. VT = Vector3.new
  28. RAD = math.rad
  29. C3 = Color3.new
  30. UD2 = UDim2.new
  31. BRICKC = BrickColor.new
  32. ANGLES = CFrame.Angles
  33. EULER = CFrame.fromEulerAnglesXYZ
  34. COS = math.cos
  35. ACOS = math.acos
  36. SIN = math.sin
  37. ASIN = math.asin
  38. ABS = math.abs
  39. MRANDOM = math.random
  40. FLOOR = math.floor
  41.  
  42. --//=================================\\
  43. --|| USEFUL VALUES
  44. --\\=================================//
  45.  
  46. Animation_Speed = 3
  47. local FORCERESET = false
  48. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  49. local Speed = 16
  50. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  51. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  52. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  53. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  54. local DAMAGEMULTIPLIER = 1
  55. local ANIM = "Idle"
  56. local ATTACK = false
  57. local EQUIPPED = false
  58. local HOLD = false
  59. local COMBO = 1
  60. local Rooted = false
  61. local SINE = 0
  62. local KEYHOLD = false
  63. local CHANGE = 2 / Animation_Speed
  64. local WALKINGANIM = false
  65. local VALUE1 = false
  66. local VALUE2 = false
  67. local Reason = 'Get outta here.'
  68. local ROBLOXIDLEANIMATION = IT("Animation")
  69. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  70. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  71. --ROBLOXIDLEANIMATION.Parent = Humanoid
  72. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  73. WEAPONGUI.Name = "BanishV3Gui"
  74. local Weapon = IT("Model")
  75. Weapon.Name = "Adds"
  76. local Effects = IT("Folder", Weapon)
  77. Effects.Name = "Effects"
  78. local ANIMATOR = Humanoid.Animator
  79. local ANIMATE = Character:FindFirstChild("Animate")
  80. local UNANCHOR = true
  81. local TOBANISH = {}
  82. script.Parent = PlayerGui
  83.  
  84. --//=================================\\
  85. --\\=================================//
  86.  
  87.  
  88. --//=================================\\
  89. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  90. --\\=================================//
  91.  
  92. ArtificialHB = Instance.new("BindableEvent", script)
  93. ArtificialHB.Name = "ArtificialHB"
  94.  
  95. script:WaitForChild("ArtificialHB")
  96.  
  97. frame = Frame_Speed
  98. tf = 0
  99. allowframeloss = false
  100. tossremainder = false
  101. lastframe = tick()
  102. script.ArtificialHB:Fire()
  103.  
  104. game:GetService("RunService").Heartbeat:connect(function(s, p)
  105. tf = tf + s
  106. if tf >= frame then
  107. if allowframeloss then
  108. script.ArtificialHB:Fire()
  109. lastframe = tick()
  110. else
  111. for i = 1, math.floor(tf / frame) do
  112. script.ArtificialHB:Fire()
  113. end
  114. lastframe = tick()
  115. end
  116. if tossremainder then
  117. tf = 0
  118. else
  119. tf = tf - frame * math.floor(tf / frame)
  120. end
  121. end
  122. end)
  123.  
  124. --//=================================\\
  125. --\\=================================//
  126.  
  127. --//=================================\\
  128. --|| SOME FUNCTIONS
  129. --\\=================================//
  130.  
  131. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  132. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  133. end
  134.  
  135. function PositiveAngle(NUMBER)
  136. if NUMBER >= 0 then
  137. NUMBER = 0
  138. end
  139. return NUMBER
  140. end
  141.  
  142. function NegativeAngle(NUMBER)
  143. if NUMBER <= 0 then
  144. NUMBER = 0
  145. end
  146. return NUMBER
  147. end
  148.  
  149. function Swait(NUMBER)
  150. if NUMBER == 0 or NUMBER == nil then
  151. ArtificialHB.Event:wait()
  152. else
  153. for i = 1, NUMBER do
  154. ArtificialHB.Event:wait()
  155. end
  156. end
  157. end
  158.  
  159. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  160. local NEWMESH = IT(MESH)
  161. if MESH == "SpecialMesh" then
  162. NEWMESH.MeshType = MESHTYPE
  163. if MESHID ~= "nil" and MESHID ~= "" then
  164. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  165. end
  166. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  167. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  168. end
  169. end
  170. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  171. NEWMESH.Scale = SCALE
  172. NEWMESH.Parent = PARENT
  173. return NEWMESH
  174. end
  175.  
  176. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  177. local NEWPART = IT("Part")
  178. NEWPART.formFactor = FORMFACTOR
  179. NEWPART.Reflectance = REFLECTANCE
  180. NEWPART.Transparency = TRANSPARENCY
  181. NEWPART.CanCollide = false
  182. NEWPART.Locked = true
  183. NEWPART.Anchored = true
  184. if ANCHOR == false then
  185. NEWPART.Anchored = false
  186. end
  187. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  188. NEWPART.Name = NAME
  189. NEWPART.Size = SIZE
  190. NEWPART.Position = Torso.Position
  191. NEWPART.Material = MATERIAL
  192. NEWPART:BreakJoints()
  193. NEWPART.Parent = PARENT
  194. return NEWPART
  195. end
  196.  
  197. local function weldBetween(a, b)
  198. local weldd = Instance.new("ManualWeld")
  199. weldd.Part0 = a
  200. weldd.Part1 = b
  201. weldd.C0 = CFrame.new()
  202. weldd.C1 = b.CFrame:inverse() * a.CFrame
  203. weldd.Parent = a
  204. return weldd
  205. end
  206.  
  207.  
  208. function QuaternionFromCFrame(cf)
  209. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  210. local trace = m00 + m11 + m22
  211. if trace > 0 then
  212. local s = math.sqrt(1 + trace)
  213. local recip = 0.5 / s
  214. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  215. else
  216. local i = 0
  217. if m11 > m00 then
  218. i = 1
  219. end
  220. if m22 > (i == 0 and m00 or m11) then
  221. i = 2
  222. end
  223. if i == 0 then
  224. local s = math.sqrt(m00 - m11 - m22 + 1)
  225. local recip = 0.5 / s
  226. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  227. elseif i == 1 then
  228. local s = math.sqrt(m11 - m22 - m00 + 1)
  229. local recip = 0.5 / s
  230. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  231. elseif i == 2 then
  232. local s = math.sqrt(m22 - m00 - m11 + 1)
  233. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  234. end
  235. end
  236. end
  237.  
  238. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  239. local xs, ys, zs = x + x, y + y, z + z
  240. local wx, wy, wz = w * xs, w * ys, w * zs
  241. local xx = x * xs
  242. local xy = x * ys
  243. local xz = x * zs
  244. local yy = y * ys
  245. local yz = y * zs
  246. local zz = z * zs
  247. 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))
  248. end
  249.  
  250. function QuaternionSlerp(a, b, t)
  251. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  252. local startInterp, finishInterp;
  253. if cosTheta >= 0.0001 then
  254. if (1 - cosTheta) > 0.0001 then
  255. local theta = ACOS(cosTheta)
  256. local invSinTheta = 1 / SIN(theta)
  257. startInterp = SIN((1 - t) * theta) * invSinTheta
  258. finishInterp = SIN(t * theta) * invSinTheta
  259. else
  260. startInterp = 1 - t
  261. finishInterp = t
  262. end
  263. else
  264. if (1 + cosTheta) > 0.0001 then
  265. local theta = ACOS(-cosTheta)
  266. local invSinTheta = 1 / SIN(theta)
  267. startInterp = SIN((t - 1) * theta) * invSinTheta
  268. finishInterp = SIN(t * theta) * invSinTheta
  269. else
  270. startInterp = t - 1
  271. finishInterp = t
  272. end
  273. end
  274. 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
  275. end
  276.  
  277. function Clerp(a, b, t)
  278. local qa = {QuaternionFromCFrame(a)}
  279. local qb = {QuaternionFromCFrame(b)}
  280. local ax, ay, az = a.x, a.y, a.z
  281. local bx, by, bz = b.x, b.y, b.z
  282. local _t = 1 - t
  283. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  284. end
  285.  
  286. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  287. local frame = IT("Frame")
  288. frame.BackgroundTransparency = TRANSPARENCY
  289. frame.BorderSizePixel = BORDERSIZEPIXEL
  290. frame.Position = POSITION
  291. frame.Size = SIZE
  292. frame.BackgroundColor3 = COLOR
  293. frame.BorderColor3 = BORDERCOLOR
  294. frame.Name = NAME
  295. frame.Parent = PARENT
  296. return frame
  297. end
  298.  
  299. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  300. local label = IT("TextLabel")
  301. label.BackgroundTransparency = 1
  302. label.Size = UD2(1, 0, 1, 0)
  303. label.Position = UD2(0, 0, 0, 0)
  304. label.TextColor3 = TEXTCOLOR
  305. label.TextStrokeTransparency = STROKETRANSPARENCY
  306. label.TextTransparency = TRANSPARENCY
  307. label.FontSize = TEXTFONTSIZE
  308. label.Font = TEXTFONT
  309. label.BorderSizePixel = BORDERSIZEPIXEL
  310. label.TextScaled = false
  311. label.Text = TEXT
  312. label.Name = NAME
  313. label.Parent = PARENT
  314. return label
  315. end
  316.  
  317. function NoOutlines(PART)
  318. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  319. end
  320.  
  321. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  322. local NEWWELD = IT(TYPE)
  323. NEWWELD.Part0 = PART0
  324. NEWWELD.Part1 = PART1
  325. NEWWELD.C0 = C0
  326. NEWWELD.C1 = C1
  327. NEWWELD.Parent = PARENT
  328. return NEWWELD
  329. end
  330.  
  331. local S = IT("Sound")
  332. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  333. local NEWSOUND = nil
  334. coroutine.resume(coroutine.create(function()
  335. NEWSOUND = S:Clone()
  336. NEWSOUND.Parent = PARENT
  337. NEWSOUND.Volume = VOLUME
  338. NEWSOUND.Pitch = PITCH
  339. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  340. NEWSOUND:play()
  341. if DOESLOOP == true then
  342. NEWSOUND.Looped = true
  343. else
  344. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  345. NEWSOUND:remove()
  346. end
  347. end))
  348. return NEWSOUND
  349. end
  350.  
  351. function CFrameFromTopBack(at, top, back)
  352. local right = top:Cross(back)
  353. 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)
  354. end
  355.  
  356. --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})
  357. function WACKYEFFECT(Table)
  358. local TYPE = (Table.EffectType or "Sphere")
  359. local SIZE = (Table.Size or VT(1,1,1))
  360. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  361. local TRANSPARENCY = (Table.Transparency or 0)
  362. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  363. local CFRAME = (Table.CFrame or Torso.CFrame)
  364. local MOVEDIRECTION = (Table.MoveToPos or nil)
  365. local ROTATION1 = (Table.RotationX or 0)
  366. local ROTATION2 = (Table.RotationY or 0)
  367. local ROTATION3 = (Table.RotationZ or 0)
  368. local MATERIAL = (Table.Material or "Neon")
  369. local COLOR = (Table.Color or C3(1,1,1))
  370. local TIME = (Table.Time or 45)
  371. local SOUNDID = (Table.SoundID or nil)
  372. local SOUNDPITCH = (Table.SoundPitch or nil)
  373. local SOUNDVOLUME = (Table.SoundVolume or nil)
  374. coroutine.resume(coroutine.create(function()
  375. local PLAYSSOUND = false
  376. local SOUND = nil
  377. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  378. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  379. PLAYSSOUND = true
  380. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  381. end
  382. EFFECT.Color = COLOR
  383. local MSH = nil
  384. if TYPE == "Sphere" then
  385. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  386. elseif TYPE == "Block" then
  387. MSH = IT("BlockMesh",EFFECT)
  388. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  389. elseif TYPE == "Wave" then
  390. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  391. elseif TYPE == "Ring" then
  392. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  393. elseif TYPE == "Slash" then
  394. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  395. elseif TYPE == "Round Slash" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  397. elseif TYPE == "Swirl" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  399. elseif TYPE == "Skull" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  401. elseif TYPE == "Crystal" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  403. end
  404. if MSH ~= nil then
  405. local MOVESPEED = nil
  406. if MOVEDIRECTION ~= nil then
  407. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  408. end
  409. local GROWTH = SIZE - ENDSIZE
  410. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  411. if TYPE == "Block" then
  412. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  413. else
  414. EFFECT.CFrame = CFRAME
  415. end
  416. for LOOP = 1, TIME+1 do
  417. Swait()
  418. MSH.Scale = MSH.Scale - GROWTH/TIME
  419. if TYPE == "Wave" then
  420. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  421. end
  422. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  423. if TYPE == "Block" then
  424. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  425. else
  426. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  427. end
  428. if MOVEDIRECTION ~= nil then
  429. local ORI = EFFECT.Orientation
  430. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  431. EFFECT.Orientation = ORI
  432. end
  433. end
  434. if PLAYSSOUND == false then
  435. EFFECT:remove()
  436. else
  437. SOUND.Stopped:Connect(function()
  438. EFFECT:remove()
  439. end)
  440. end
  441. else
  442. if PLAYSSOUND == false then
  443. EFFECT:remove()
  444. else
  445. repeat Swait() until SOUND.Playing == false
  446. EFFECT:remove()
  447. end
  448. end
  449. end))
  450. end
  451.  
  452. function MakeForm(PART,TYPE)
  453. if TYPE == "Cyl" then
  454. local MSH = IT("CylinderMesh",PART)
  455. elseif TYPE == "Ball" then
  456. local MSH = IT("SpecialMesh",PART)
  457. MSH.MeshType = "Sphere"
  458. elseif TYPE == "Wedge" then
  459. local MSH = IT("SpecialMesh",PART)
  460. MSH.MeshType = "Wedge"
  461. end
  462. end
  463.  
  464. function SpawnTrail(FROM,TO,BIG)
  465. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.1, "Salmon", "Trail", VT(0,0,0))
  466. MakeForm(TRAIL,"Cyl")
  467. local DIST = (FROM - TO).Magnitude
  468. if BIG == true then
  469. TRAIL.Size = VT(0.5,DIST,0.5)
  470. else
  471. TRAIL.Size = VT(0.25,DIST,0.25)
  472. end
  473. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  474. coroutine.resume(coroutine.create(function()
  475. for i = 1, 5 do
  476. Swait()
  477. TRAIL.Transparency = TRAIL.Transparency + 0.1
  478. end
  479. TRAIL:remove()
  480. end))
  481. end
  482.  
  483. Debris = game:GetService("Debris")
  484.  
  485. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  486. local DIRECTION = CF(StartPos,EndPos).lookVector
  487. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  488. end
  489.  
  490. function turnto(position)
  491. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  492. end
  493.  
  494. --//=================================\\
  495. --|| WEAPON CREATION
  496. --\\=================================//
  497.  
  498. local Particle = IT("ParticleEmitter",nil)
  499. Particle.Enabled = false
  500. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  501. Particle.LightEmission = 0.5
  502. Particle.Rate = 150
  503. Particle.ZOffset = 0.2
  504. Particle.Rotation = NumberRange.new(-180, 180)
  505. Particle.RotSpeed = NumberRange.new(-180, 180)
  506. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  507. Particle.Color = ColorSequence.new(Color3.fromRGB(98,37,209),Color3.fromRGB(255, 134, 134))
  508.  
  509. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  510. function ParticleEmitter(Table)
  511. local PRTCL = Particle:Clone()
  512. local Speed = Table.Speed or 5
  513. local Drag = Table.Drag or 0
  514. local Size1 = Table.Size1 or 1
  515. local Size2 = Table.Size2 or 5
  516. local Lifetime1 = Table.Lifetime1 or 1
  517. local Lifetime2 = Table.Lifetime2 or 1.5
  518. local Parent = Table.Parent or Torso
  519. local Emit = Table.Emit or 100
  520. local Offset = Table.Offset or 360
  521. local Acel = Table.Acel or VT(0,0,0)
  522. local Enabled = Table.Enabled or false
  523. PRTCL.Parent = Parent
  524. PRTCL.Size = NumberSequence.new(Size1,Size2)
  525. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  526. PRTCL.Speed = NumberRange.new(Speed)
  527. PRTCL.VelocitySpread = Offset
  528. PRTCL.Drag = Drag
  529. PRTCL.Acceleration = Acel
  530. if Enabled == false then
  531. PRTCL:Emit(Emit)
  532. Debris:AddItem(PRTCL,Lifetime2)
  533. else
  534. PRTCL.Enabled = true
  535. end
  536. return PRTCL
  537. end
  538.  
  539. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
  540. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  541. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  542. MakeForm(Part,"Wedge")
  543. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  544. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
  545. MakeForm(Part,"Wedge")
  546. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  547. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
  548. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  549. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  550. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  551. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  552. MakeForm(Part,"Cyl")
  553. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  554. for i = 1, 8 do
  555. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  556. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  557. end
  558. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
  559. MakeForm(Part,"Cyl")
  560. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  561. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
  562. MakeForm(Part,"Ball")
  563. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  564. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
  565. MakeForm(Part,"Wedge")
  566. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  567. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
  568. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  569. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
  570. MakeForm(Part,"Cyl")
  571. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  572. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
  573. MakeForm(Part,"Cyl")
  574. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  575. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
  576. MakeForm(Part,"Cyl")
  577. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  578. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  579. MakeForm(Part,"Wedge")
  580. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  581. local LASTPART = Handle
  582. for i = 1, 10 do
  583. if LASTPART == Handle then
  584. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.1,0.2,0),false)
  585. LASTPART = Part
  586. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  587. else
  588. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.1,0.05,0),false)
  589. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  590. LASTPART = Part
  591. end
  592. end
  593.  
  594. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
  595. MakeForm(Barrel,"Cyl")
  596. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  597. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
  598. MakeForm(Part,"Cyl")
  599. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  600. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
  601. MakeForm(Part,"Wedge")
  602. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  603. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Eye", VT(0.125,0,0.125),false)
  604. MakeForm(Hole,"Cyl")
  605. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  606. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0,0,0),false)
  607. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  608. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  609. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Really black", "Eye", VT(0,0,0),false)
  610. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  611. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  612. coroutine.resume(coroutine.create(function()
  613. while wait() do
  614. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  615. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  616. end
  617. end))
  618.  
  619. 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)})
  620. --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)})
  621.  
  622. for _, c in pairs(Weapon:GetDescendants()) do
  623. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  624. c.Material = "Glass"
  625. c.Color = C3(0,0,0)
  626. elseif c.ClassName == "Part" and c.Name == "Eye" then
  627. c.Color = Color3.fromRGB(255, 134, 134)
  628. c.Material = "Neon"
  629. end
  630. end
  631.  
  632. Weapon.Parent = Character
  633. for _, c in pairs(Weapon:GetChildren()) do
  634. if c.ClassName == "Part" then
  635. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  636. end
  637. end
  638.  
  639. local SKILLTEXTCOLOR = Color3.fromRGB(255, 134, 134)
  640. local SKILLFONT = "Antique"
  641. local SKILLTEXTSIZE = 7
  642.  
  643. Humanoid.Died:connect(function()
  644. ATTACK = true
  645. end)
  646.  
  647. --[[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")
  648. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  649. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  650. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  651. 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")
  652.  
  653. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  654. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  655. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  656. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  657. ]]
  658.  
  659. function printbye(Name)
  660. local MESSAGES = {"Woops I shot you", "Oh nu", "LOOOOOOOOOOOL", "Oopsie a big bad trap shot you", "WAsn't me", "D: where did you go"}
  661. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  662. end
  663.  
  664. --//=================================\\
  665. --|| DAMAGING
  666. --\\=================================//
  667.  
  668. function Banish(Foe)
  669. if Foe then
  670. coroutine.resume(coroutine.create(function()
  671. local plr = game:service'Players':GetPlayerFromCharacter(Foe)
  672. if plr then
  673. plr:Kick(Reason)
  674. end
  675. printbye(Foe.Name)
  676. Foe.Archivable = true
  677. local CLONE = Foe:Clone()
  678. Foe:Destroy()
  679. CLONE.Parent = Effects
  680. CLONE:BreakJoints()
  681. local MATERIALS = {"Glass","Neon"}
  682. for _, c in pairs(CLONE:GetDescendants()) do
  683. if c:IsA("BasePart") then
  684. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  685. CreateSound(1333149768, c, 10, 1, false)
  686. end
  687. c.Anchored = true
  688. c.Transparency = c.Transparency + 0.2
  689. c.Material = MATERIALS[MRANDOM(1,2)]
  690. c.Color = Color3.fromRGB(255, 134, 134)
  691. if c.ClassName == "MeshPart" then
  692. c.TextureID = ""
  693. end
  694. if c:FindFirstChildOfClass("SpecialMesh") then
  695. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  696. end
  697. if c:FindFirstChildOfClass("Decal") then
  698. c:FindFirstChildOfClass("Decal"):remove()
  699. end
  700. c.Name = "Banished"
  701. c.CanCollide = false
  702. else
  703. c:remove()
  704. end
  705. end
  706. local A = false
  707. for i = 1, 35 do
  708. if A == false then
  709. A = true
  710. elseif A == true then
  711. A = false
  712. end
  713. for _, c in pairs(CLONE:GetDescendants()) do
  714. if c:IsA("BasePart") then
  715. c.Anchored = true
  716. c.Material = MATERIALS[MRANDOM(1,2)]
  717. c.Transparency = c.Transparency + 0.8/35
  718. if A == false then
  719. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  720. elseif A == true then
  721. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  722. end
  723. end
  724. end
  725. Swait()
  726. end
  727. CLONE:remove()
  728. end))
  729. end
  730. end
  731.  
  732. function ApplyAoE(POSITION,RANGE,ISBANISH)
  733. local CHILDREN = workspace:GetDescendants()
  734. for index, CHILD in pairs(CHILDREN) do
  735. if CHILD.ClassName == "Model" and CHILD ~= Character then
  736. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  737. if HUM then
  738. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  739. if TORSO then
  740. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  741. if ISBANISH == true then
  742. Banish(CHILD)
  743. else
  744. if ISBANISH == "Gravity" then
  745. HUM.PlatformStand = true
  746. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  747. local grav = Instance.new("BodyPosition",TORSO)
  748. grav.D = 15
  749. grav.P = 20000
  750. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  751. grav.position = TORSO.Position
  752. grav.Name = "V3BanishForce"..Player.Name
  753. else
  754. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  755. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  756. end
  757. else
  758. HUM.PlatformStand = false
  759. end
  760. end
  761. elseif ISBANISH == "Gravity" then
  762. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  763. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  764. HUM.PlatformStand = false
  765. end
  766. end
  767. end
  768. end
  769. end
  770. end
  771. end
  772.  
  773. --//=================================\\
  774. --|| ATTACK FUNCTIONS AND STUFF
  775. --\\=================================//
  776.  
  777. function Banisher_Bullet()
  778. ATTACK = true
  779. Rooted = false
  780. for i=0, 0.01, 0.1 / Animation_Speed do
  781. Swait()
  782. turnto(Mouse.Hit.p)
  783. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  784. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  785. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  786. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  787. 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)
  788. 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)
  789. end
  790. repeat
  791. for i=0, 0.01, 0.1 / Animation_Speed do
  792. Swait()
  793. turnto(Mouse.Hit.p)
  794. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  795. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  796. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  797. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  798. 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)
  799. 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)
  800. end
  801. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  802. SpawnTrail(Hole.Position,POS)
  803. if HIT ~= nil then
  804. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  805. Banish(HIT.Parent)
  806. end
  807. end
  808. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), 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 = Color3.fromRGB(255, 134, 134), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  809. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(3,0,3), Size2 = VT(1,0,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(255, 134, 134), SoundID = 1028044973, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  810. 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 = Color3.fromRGB(255, 134, 134), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  811. 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 = Color3.fromRGB(255, 134, 134), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  812. for i=0, 0.001, 0.1 / Animation_Speed do
  813. Swait()
  814. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  815. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  816. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  817. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  818. 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)
  819. 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)
  820. end
  821. until KEYHOLD == false
  822. ATTACK = false
  823. Rooted = false
  824. end
  825.  
  826. --//=================================\\
  827. --|| ASSIGN THINGS TO KEYS
  828. --\\=================================//
  829.  
  830. function MouseDown(Mouse)
  831. if ATTACK == false then
  832. end
  833. end
  834.  
  835. function MouseUp(Mouse)
  836. HOLD = false
  837. end
  838.  
  839. function KeyDown(Key)
  840. KEYHOLD = true
  841. if Key == "z" and ATTACK == false then
  842. Banisher_Bullet()
  843. end
  844.  
  845. if Key == "b" and ATTACK == false then
  846. end
  847.  
  848. if Key == "c" and ATTACK == false then
  849. end
  850.  
  851. if Key == "v" and ATTACK == false then
  852. end
  853.  
  854. if Key == "x" and ATTACK == false then
  855. end
  856. end
  857.  
  858. function KeyUp(Key)
  859. KEYHOLD = false
  860. end
  861.  
  862. Mouse.Button1Down:connect(function(NEWKEY)
  863. MouseDown(NEWKEY)
  864. end)
  865. Mouse.Button1Up:connect(function(NEWKEY)
  866. MouseUp(NEWKEY)
  867. end)
  868. Mouse.KeyDown:connect(function(NEWKEY)
  869. KeyDown(NEWKEY)
  870. end)
  871. Mouse.KeyUp:connect(function(NEWKEY)
  872. KeyUp(NEWKEY)
  873. end)
  874.  
  875. Player.Chatted:connect(function(m)
  876. if(m:sub(1,7) == 'reason/')then
  877. Reason = m:sub(8) or 'None!'
  878. end
  879. end)
  880.  
  881. --//=================================\\
  882. --\\=================================//
  883.  
  884.  
  885. function unanchor()
  886. if UNANCHOR == true then
  887. g = Character:GetChildren()
  888. for i = 1, #g do
  889. if g[i].ClassName == "Part" then
  890. g[i].Anchored = false
  891. end
  892. end
  893. end
  894. end
  895.  
  896.  
  897. --//=================================\\
  898. --|| WRAP THE WHOLE SCRIPT UP
  899. --\\=================================//
  900.  
  901. Humanoid.Changed:connect(function(Jump)
  902. if Jump == "Jump" and (Disable_Jump == true) then
  903. Humanoid.Jump = false
  904. end
  905. end)
  906.  
  907. local CONNECT = nil
  908.  
  909. while true do
  910. wait()
  911. ANIMATE.Parent = nil
  912. if Character:FindFirstChildOfClass("Humanoid") == nil then
  913. Humanoid = IT("Humanoid",Character)
  914. end
  915. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  916. v:Stop();
  917. end
  918. SINE = SINE + CHANGE
  919. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  920. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  921. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  922. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  923. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  924. 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)
  925. 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)
  926. 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)
  927. 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)
  928. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  929. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  930. 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)
  931. 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)
  932. 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)
  933. end
  934. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  935. ANIM = "Jump"
  936. if ATTACK == false then
  937. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  938. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  939. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  940. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  941. 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)
  942. 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)
  943. end
  944. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  945. ANIM = "Fall"
  946. if ATTACK == false then
  947. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  948. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  949. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  950. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  951. 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)
  952. 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)
  953. end
  954. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  955. ANIM = "Idle"
  956. if ATTACK == false then
  957. 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)
  958. 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)
  959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  961. 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)
  962. 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)
  963. end
  964. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  965. ANIM = "Walk"
  966. if ATTACK == false then
  967. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  968. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  969. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  970. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  971. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  972. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  973. end
  974. end
  975. unanchor()
  976. Humanoid.MaxHealth = "inf"
  977. Humanoid.Health = "inf"
  978. if Rooted == false then
  979. Disable_Jump = false
  980. Humanoid.WalkSpeed = Speed
  981. elseif Rooted == true then
  982. Disable_Jump = true
  983. Humanoid.WalkSpeed = 0
  984. end
  985. sick.Parent = Torso
  986. sick:resume()
  987. sick.Volume = 5
  988. sick.Pitch = 1
  989. sick.SoundId = "rbxassetid://252305196"
  990. sick.Name = "BanishV3Music"
  991. end
  992.  
  993. --//=================================\\
  994. --\\=================================//
  995.  
  996.  
  997.  
  998.  
  999.  
  1000. --//====================================================\\--
  1001. --|| END OF SCRIPT
  1002. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement