Advertisement
EARTHWORM_SALLY

Kickisher Banisher

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