Advertisement
hipeopleofthisworld8

Untitled

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