AOM-GU-PRO

Banisher Gun V.3

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