SKOSHILOKI

Blue Banisher

Jun 28th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 125.84 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4.     print("CONVERTED TO FE BY SKOSHILOKI")
  5.     script.Parent = Player.Character
  6.  
  7.     --RemoteEvent for communicating
  8.     local Event = Instance.new("RemoteEvent")
  9.     Event.Name = "UserInput_Event"
  10.  
  11.     --Fake event to make stuff like Mouse.KeyDown work
  12.     local function fakeEvent()
  13.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.  
  18.     --Creating fake input objects with fake variables
  19.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23.     end}
  24.     --Merged 2 functions into one by checking amount of arguments
  25.     CAS.UnbindAction = CAS.BindAction
  26.  
  27.     --This function will trigger the events that have been :Connect()'ed
  28.     local function te(self,ev,...)
  29.         local t = m[ev]
  30.         if t and t._fakeEvent and t.Function then
  31.             t.Function(...)
  32.         end
  33.     end
  34.     m.TrigEvent = te
  35.     UIS.TrigEvent = te
  36.  
  37.     Event.OnServerEvent:Connect(function(plr,io)
  38.         if plr~=Player then return end
  39.         if io.isMouse then
  40.             m.Target = io.Target
  41.             m.Hit = io.Hit
  42.         else
  43.             local b = io.UserInputState == Enum.UserInputState.Begin
  44.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46.             end
  47.             for _,t in pairs(CAS.Actions) do
  48.                 for _,k in pairs(t.Keys) do
  49.                     if k==io.KeyCode then
  50.                         t.Function(t.Name,io.UserInputState,io)
  51.                     end
  52.                 end
  53.             end
  54.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56.         end
  57.     end)
  58.     Event.Parent = NLS([==[
  59.     local Player = game:GetService("Players").LocalPlayer
  60.     local Event = script:WaitForChild("UserInput_Event")
  61.  
  62.     local UIS = game:GetService("UserInputService")
  63.     local input = function(io,a)
  64.         if a then return end
  65.         --Since InputObject is a client-side instance, we create and pass table instead
  66.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67.     end
  68.     UIS.InputBegan:Connect(input)
  69.     UIS.InputEnded:Connect(input)
  70.  
  71.     local Mouse = Player:GetMouse()
  72.     local h,t
  73.     --Give the server mouse data 30 times every second, but only if the values changed
  74.     --If player is not moving their mouse, client won't fire events
  75.     while wait(1/30) do
  76.         if h~=Mouse.Hit or t~=Mouse.Target then
  77.             h,t=Mouse.Hit,Mouse.Target
  78.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  79.         end
  80.     end]==],Player.Character)
  81.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. Player = owner
  85.         Character = Player.Character
  86.         local txt = Instance.new("BillboardGui", Character)
  87.         txt.Adornee = Character.Head
  88.         txt.Name = "_status"
  89.         txt.Size = UDim2.new(2, 0, 1.2, 0)
  90.         txt.StudsOffset = Vector3.new(-9, 8, 0)
  91.         local text = Instance.new("TextLabel", txt)
  92.         text.Size = UDim2.new(10, 0, 7, 0)
  93.         text.FontSize = "Size24"
  94.         text.TextScaled = true
  95.         text.TextTransparency = 0
  96.         text.BackgroundTransparency = 1
  97.         text.TextTransparency = 0
  98.         text.TextStrokeTransparency = 0
  99.         text.Font = "Antique"
  100.         text.TextStrokeColor3 = Color3.new(0,0,80)
  101.         text.Text = "PANDORA BLUE BANISH"
  102.         print("Edited by Program Error")
  103. --//====================================================\\--
  104. --||                       CREATED BY SHACKLUSTER EDIT BY NAMECLAN
  105. --\\====================================================//--
  106.  
  107. script:ClearAllChildren()
  108. wait(0.2)
  109.  
  110. Player = owner
  111. PlayerGui = Player.PlayerGui
  112. Cam = workspace.CurrentCamera
  113. Backpack = Player.Backpack
  114. Character = Player.Character
  115. Humanoid = Character.Humanoid
  116. Mouse = Player:GetMouse()
  117. RootPart = Character["HumanoidRootPart"]
  118. Torso = Character["Torso"]
  119. Head = Character["Head"]
  120. RightArm = Character["Right Arm"]
  121. LeftArm = Character["Left Arm"]
  122. RightLeg = Character["Right Leg"]
  123. LeftLeg = Character["Left Leg"]
  124. RootJoint = RootPart["RootJoint"]
  125. Neck = Torso["Neck"]
  126. RightShoulder = Torso["Right Shoulder"]
  127. LeftShoulder = Torso["Left Shoulder"]
  128. RightHip = Torso["Right Hip"]
  129. LeftHip = Torso["Left Hip"]
  130. local TIME = 0
  131. local sick = Instance.new("Sound",Torso)
  132.  
  133. IT = Instance.new
  134. CF = CFrame.new
  135. VT = Vector3.new
  136. RAD = math.rad
  137. C3 = Color3.new
  138. UD2 = UDim2.new
  139. BRICKC = BrickColor.new
  140. ANGLES = CFrame.Angles
  141. EULER = CFrame.fromEulerAnglesXYZ
  142. COS = math.cos
  143. ACOS = math.acos
  144. SIN = math.sin
  145. ASIN = math.asin
  146. ABS = math.abs
  147. MRANDOM = math.random
  148. FLOOR = math.floor
  149.  
  150. --//=================================\\
  151. --||          USEFUL VALUES
  152. --\\=================================//
  153.  
  154. Animation_Speed = 3
  155. local FORCERESET = false
  156. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  157. local Speed = 16
  158. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  159. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  160. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  161. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  162. local DAMAGEMULTIPLIER = 1
  163. local ANIM = "Idle"
  164. local ATTACK = false
  165. local EQUIPPED = false
  166. local HOLD = false
  167. local COMBO = 1
  168. local Rooted = false
  169. local SINE = 0
  170. local KEYHOLD = false
  171. local CHANGE = 2 / Animation_Speed
  172. local WALKINGANIM = false
  173. local VALUE1 = false
  174. local VALUE2 = false
  175. local ROBLOXIDLEANIMATION = IT("Animation")
  176. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  177. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  178. --ROBLOXIDLEANIMATION.Parent = Humanoid
  179. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  180. WEAPONGUI.Name = "BanishV3Gui"
  181. local Weapon = IT("Model")
  182. Weapon.Name = "Adds"
  183. local Effects = IT("Folder", Weapon)
  184. Effects.Name = "Effects"
  185. local ANIMATOR = Humanoid.Animator
  186. local ANIMATE = Character:FindFirstChild("Animate")
  187. local UNANCHOR = true
  188. local TOBANISH = {}
  189. script.Parent = PlayerGui
  190.  
  191. --//=================================\\
  192. --\\=================================//
  193.  
  194.  
  195. --//=================================\\
  196. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  197. --\\=================================//
  198.  
  199. ArtificialHB = Instance.new("BindableEvent", script)
  200. ArtificialHB.Name = "ArtificialHB"
  201.  
  202. script:WaitForChild("ArtificialHB")
  203.  
  204. frame = Frame_Speed
  205. tf = 0
  206. allowframeloss = false
  207. tossremainder = false
  208. lastframe = tick()
  209. script.ArtificialHB:Fire()
  210.  
  211. game:GetService("RunService").Heartbeat:connect(function(s, p)
  212.         tf = tf + s
  213.         if tf >= frame then
  214.                 if allowframeloss then
  215.                         script.ArtificialHB:Fire()
  216.                         lastframe = tick()
  217.                 else
  218.                         for i = 1, math.floor(tf / frame) do
  219.                                 script.ArtificialHB:Fire()
  220.                         end
  221.                 lastframe = tick()
  222.                 end
  223.                 if tossremainder then
  224.                         tf = 0
  225.                 else
  226.                         tf = tf - frame * math.floor(tf / frame)
  227.                 end
  228.         end
  229. end)
  230.  
  231. --//=================================\\
  232. --\\=================================//
  233.  
  234. --//=================================\\
  235. --||          SOME FUNCTIONS
  236. --\\=================================//
  237.  
  238. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  239.         return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  240. end
  241.  
  242. function PositiveAngle(NUMBER)
  243.         if NUMBER >= 0 then
  244.                 NUMBER = 0
  245.         end
  246.         return NUMBER
  247. end
  248.  
  249. function NegativeAngle(NUMBER)
  250.         if NUMBER <= 0 then
  251.                 NUMBER = 0
  252.         end
  253.         return NUMBER
  254. end
  255.  
  256. function Swait(NUMBER)
  257.         if NUMBER == 0 or NUMBER == nil then
  258.                 ArtificialHB.Event:wait()
  259.         else
  260.                 for i = 1, NUMBER do
  261.                         ArtificialHB.Event:wait()
  262.                 end
  263.         end
  264. end
  265.  
  266. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  267.         local NEWMESH = IT(MESH)
  268.         if MESH == "SpecialMesh" then
  269.                 NEWMESH.MeshType = MESHTYPE
  270.                 if MESHID ~= "nil" and MESHID ~= "" then
  271.                         NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  272.                 end
  273.                 if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  274.                         NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  275.                 end
  276.         end
  277.         NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  278.         NEWMESH.Scale = SCALE
  279.         NEWMESH.Parent = PARENT
  280.         return NEWMESH
  281. end
  282.  
  283. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  284.         local NEWPART = IT("Part")
  285.         NEWPART.formFactor = FORMFACTOR
  286.         NEWPART.Reflectance = REFLECTANCE
  287.         NEWPART.Transparency = TRANSPARENCY
  288.         NEWPART.CanCollide = false
  289.         NEWPART.Locked = true
  290.         NEWPART.Anchored = true
  291.         if ANCHOR == false then
  292.                 NEWPART.Anchored = false
  293.         end
  294.         NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  295.         NEWPART.Name = NAME
  296.         NEWPART.Size = SIZE
  297.         NEWPART.Position = Torso.Position
  298.         NEWPART.Material = MATERIAL
  299.         NEWPART:BreakJoints()
  300.         NEWPART.Parent = PARENT
  301.         return NEWPART
  302. end
  303.  
  304.         local function weldBetween(a, b)
  305.             local weldd = Instance.new("ManualWeld")
  306.             weldd.Part0 = a
  307.             weldd.Part1 = b
  308.             weldd.C0 = CFrame.new()
  309.             weldd.C1 = b.CFrame:inverse() * a.CFrame
  310.             weldd.Parent = a
  311.             return weldd
  312.         end
  313.  
  314.  
  315. function QuaternionFromCFrame(cf)
  316.         local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  317.         local trace = m00 + m11 + m22
  318.         if trace > 0 then
  319.                 local s = math.sqrt(1 + trace)
  320.                 local recip = 0.5 / s
  321.                 return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  322.         else
  323.                 local i = 0
  324.                 if m11 > m00 then
  325.                         i = 1
  326.                 end
  327.                 if m22 > (i == 0 and m00 or m11) then
  328.                         i = 2
  329.                 end
  330.                 if i == 0 then
  331.                         local s = math.sqrt(m00 - m11 - m22 + 1)
  332.                         local recip = 0.5 / s
  333.                         return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  334.                 elseif i == 1 then
  335.                         local s = math.sqrt(m11 - m22 - m00 + 1)
  336.                         local recip = 0.5 / s
  337.                         return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  338.                 elseif i == 2 then
  339.                         local s = math.sqrt(m22 - m00 - m11 + 1)
  340.                         local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  341.                 end
  342.         end
  343. end
  344.  
  345. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  346.         local xs, ys, zs = x + x, y + y, z + z
  347.         local wx, wy, wz = w * xs, w * ys, w * zs
  348.         local xx = x * xs
  349.         local xy = x * ys
  350.         local xz = x * zs
  351.         local yy = y * ys
  352.         local yz = y * zs
  353.         local zz = z * zs
  354.         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))
  355. end
  356.  
  357. function QuaternionSlerp(a, b, t)
  358.         local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  359.         local startInterp, finishInterp;
  360.         if cosTheta >= 0.0001 then
  361.                 if (1 - cosTheta) > 0.0001 then
  362.                         local theta = ACOS(cosTheta)
  363.                         local invSinTheta = 1 / SIN(theta)
  364.                         startInterp = SIN((1 - t) * theta) * invSinTheta
  365.                         finishInterp = SIN(t * theta) * invSinTheta
  366.                 else
  367.                         startInterp = 1 - t
  368.                         finishInterp = t
  369.                 end
  370.         else
  371.                 if (1 + cosTheta) > 0.0001 then
  372.                         local theta = ACOS(-cosTheta)
  373.                         local invSinTheta = 1 / SIN(theta)
  374.                         startInterp = SIN((t - 1) * theta) * invSinTheta
  375.                         finishInterp = SIN(t * theta) * invSinTheta
  376.                 else
  377.                         startInterp = t - 1
  378.                         finishInterp = t
  379.                 end
  380.         end
  381.         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
  382. end
  383.  
  384. function Clerp(a, b, t)
  385.         local qa = {QuaternionFromCFrame(a)}
  386.         local qb = {QuaternionFromCFrame(b)}
  387.         local ax, ay, az = a.x, a.y, a.z
  388.         local bx, by, bz = b.x, b.y, b.z
  389.         local _t = 1 - t
  390.         return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  391. end
  392.  
  393. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  394.         local frame = IT("Frame")
  395.         frame.BackgroundTransparency = TRANSPARENCY
  396.         frame.BorderSizePixel = BORDERSIZEPIXEL
  397.         frame.Position = POSITION
  398.         frame.Size = SIZE
  399.         frame.BackgroundColor3 = COLOR
  400.         frame.BorderColor3 = BORDERCOLOR
  401.         frame.Name = NAME
  402.         frame.Parent = PARENT
  403.         return frame
  404. end
  405.  
  406. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  407.         local label = IT("TextLabel")
  408.         label.BackgroundTransparency = 1
  409.         label.Size = UD2(1, 0, 1, 0)
  410.         label.Position = UD2(0, 0, 0, 0)
  411.         label.TextColor3 = TEXTCOLOR
  412.         label.TextStrokeTransparency = STROKETRANSPARENCY
  413.         label.TextTransparency = TRANSPARENCY
  414.         label.FontSize = TEXTFONTSIZE
  415.         label.Font = TEXTFONT
  416.         label.BorderSizePixel = BORDERSIZEPIXEL
  417.         label.TextScaled = false
  418.         label.Text = TEXT
  419.         label.Name = NAME
  420.         label.Parent = PARENT
  421.         return label
  422. end
  423.  
  424. function NoOutlines(PART)
  425.         PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  426. end
  427.  
  428. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  429.         local NEWWELD = IT(TYPE)
  430.         NEWWELD.Part0 = PART0
  431.         NEWWELD.Part1 = PART1
  432.         NEWWELD.C0 = C0
  433.         NEWWELD.C1 = C1
  434.         NEWWELD.Parent = PARENT
  435.         return NEWWELD
  436. end
  437.  
  438. local S = IT("Sound")
  439. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  440.         local NEWSOUND = nil
  441.         coroutine.resume(coroutine.create(function()
  442.                 NEWSOUND = S:Clone()
  443.                 NEWSOUND.Parent = PARENT
  444.                 NEWSOUND.Volume = VOLUME
  445.                 NEWSOUND.Pitch = PITCH
  446.                 NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  447.                 NEWSOUND:play()
  448.                 if DOESLOOP == true then
  449.                         NEWSOUND.Looped = true
  450.                 else
  451.                         repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  452.                         NEWSOUND:remove()
  453.                 end
  454.         end))
  455.         return NEWSOUND
  456. end
  457.  
  458. function CFrameFromTopBack(at, top, back)
  459.         local right = top:Cross(back)
  460.         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)
  461. end
  462.  
  463. --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(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  464. function WACKYEFFECT(Table)
  465.         local TYPE = (Table.EffectType or "Sphere")
  466.         local SIZE = (Table.Size or VT(1,1,1))
  467.         local ENDSIZE = (Table.Size2 or VT(0,0,0))
  468.         local TRANSPARENCY = (Table.Transparency or 0)
  469.         local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  470.         local CFRAME = (Table.CFrame or Torso.CFrame)
  471.         local MOVEDIRECTION = (Table.MoveToPos or nil)
  472.         local ROTATION1 = (Table.RotationX or 0)
  473.         local ROTATION2 = (Table.RotationY or 0)
  474.         local ROTATION3 = (Table.RotationZ or 0)
  475.         local MATERIAL = (Table.Material or "Neon")
  476.         local COLOR = (Table.Color or C3(0,0,1))
  477.         local TIME = (Table.Time or 45)
  478.         local SOUNDID = (Table.SoundID or nil)
  479.         local SOUNDPITCH = (Table.SoundPitch or nil)
  480.         local SOUNDVOLUME = (Table.SoundVolume or nil)
  481.         coroutine.resume(coroutine.create(function()
  482.                 local PLAYSSOUND = false
  483.                 local SOUND = nil
  484.                 local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  485.                 if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  486.                         PLAYSSOUND = true
  487.                         SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  488.                 end
  489.                 EFFECT.Color = COLOR
  490.                 local MSH = nil
  491.                 if TYPE == "Sphere" then
  492.                         MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  493.                 elseif TYPE == "Block" then
  494.                         MSH = IT("BlockMesh",EFFECT)
  495.                         MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  496.                 elseif TYPE == "Wave" then
  497.                         MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  498.                 elseif TYPE == "Ring" then
  499.                         MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  500.                 elseif TYPE == "Slash" then
  501.                         MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  502.                 elseif TYPE == "Round Slash" then
  503.                         MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  504.                 elseif TYPE == "Swirl" then
  505.                         MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  506.                 elseif TYPE == "Skull" then
  507.                         MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  508.                 elseif TYPE == "Crystal" then
  509.                         MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  510.                 end
  511.                 if MSH ~= nil then
  512.                         local MOVESPEED = nil
  513.                         if MOVEDIRECTION ~= nil then
  514.                                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  515.                         end
  516.                         local GROWTH = SIZE - ENDSIZE
  517.                         local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  518.                         if TYPE == "Block" then
  519.                                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  520.                         else
  521.                                 EFFECT.CFrame = CFRAME
  522.                         end
  523.                         for LOOP = 1, TIME+1 do
  524.                                 Swait()
  525.                                 MSH.Scale = MSH.Scale - GROWTH/TIME
  526.                                 if TYPE == "Wave" then
  527.                                         MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  528.                                 end
  529.                                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  530.                                 if TYPE == "Block" then
  531.                                         EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  532.                                 else
  533.                                         EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  534.                                 end
  535.                                 if MOVEDIRECTION ~= nil then
  536.                                         local ORI = EFFECT.Orientation
  537.                                         EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  538.                                         EFFECT.Orientation = ORI
  539.                                 end
  540.                         end
  541.                         if PLAYSSOUND == false then
  542.                                 EFFECT:remove()
  543.                         else
  544.                                 SOUND.Stopped:Connect(function()
  545.                                         EFFECT:remove()
  546.                                 end)
  547.                         end
  548.                 else
  549.                         if PLAYSSOUND == false then
  550.                                 EFFECT:remove()
  551.                         else
  552.                                 repeat Swait() until SOUND.Playing == false
  553.                                 EFFECT:remove()
  554.                         end
  555.                 end
  556.         end))
  557. end
  558.  
  559. function MakeForm(PART,TYPE)
  560.         if TYPE == "Cyl" then
  561.                 local MSH = IT("CylinderMesh",PART)
  562.         elseif TYPE == "Ball" then
  563.                 local MSH = IT("SpecialMesh",PART)
  564.                 MSH.MeshType = "Sphere"
  565.         elseif TYPE == "Wedge" then
  566.                 local MSH = IT("SpecialMesh",PART)
  567.                 MSH.MeshType = "Wedge"
  568.         end
  569. end
  570.  
  571. function SpawnTrail(FROM,TO,BIG)
  572.         local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Dark Blue", "Trail", VT(0,0,0))
  573.         MakeForm(TRAIL,"Cyl")
  574.         local DIST = (FROM - TO).Magnitude
  575.         if BIG == true then
  576.                 TRAIL.Size = VT(5,DIST,5)
  577.         else
  578.                 TRAIL.Size = VT(5,DIST,5)
  579.         end
  580.         TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  581.         coroutine.resume(coroutine.create(function()
  582.                 for i = 1, 5 do
  583.                         Swait()
  584.                         TRAIL.Transparency = TRAIL.Transparency + 0.1
  585.                 end
  586.                 TRAIL:remove()
  587.         end))
  588. end
  589.  
  590. Debris = game:GetService("Debris")
  591.  
  592. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  593.         local DIRECTION = CF(StartPos,EndPos).lookVector
  594.         return Raycast(StartPos, DIRECTION, Distance, Ignore)
  595. end
  596.  
  597. function turnto(position)
  598.         RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  599. end
  600. local asd = Instance.new("ParticleEmitter")
  601. asd.Color = ColorSequence.new(Color3.new(0.0, 0, 5), Color3.new(.0, 0, 3))
  602. asd.LightEmission = .1
  603. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  604. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  605. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  606. asd.Transparency = bbb
  607. asd.Size = aaa
  608. asd.ZOffset = .9
  609. asd.Acceleration = Vector3.new(0, -15, 0)
  610. asd.LockedToPart = false
  611. asd.EmissionDirection = "Back"
  612. asd.Lifetime = NumberRange.new(1, 2)
  613. asd.Rotation = NumberRange.new(-100, 100)
  614. asd.RotSpeed = NumberRange.new(-100, 100)
  615. asd.Speed = NumberRange.new(10)
  616. asd.Enabled = false
  617. asd.VelocitySpread = 999
  618.  
  619. function getbloody(victim,amount)
  620.         local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  621.         PART.CFrame = victim.CFrame
  622.         local HITPLAYERSOUNDS = {"356551938","264486467"}
  623.         Debris:AddItem(PART,5)
  624.         CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  625.         CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  626.         CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  627.         local prtcl = asd:Clone()
  628.         prtcl.Parent = PART
  629.         prtcl:Emit(amount*10)
  630. end
  631.  
  632. local Particle = IT("ParticleEmitter",nil)
  633. Particle.Enabled = false
  634. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  635. Particle.LightEmission = 0.5
  636. Particle.Rate = 150
  637. Particle.ZOffset = 1
  638. Particle.Rotation = NumberRange.new(-180, 180)
  639. Particle.RotSpeed = NumberRange.new(-180, 180)
  640. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  641. Particle.Color = ColorSequence.new(C3(0,0,1),C3(0.0,0,1))
  642.  
  643. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  644. function ParticleEmitter(Table)
  645.         local PRTCL = Particle:Clone()
  646.         local Speed = Table.Speed or 5
  647.         local Drag = Table.Drag or 0
  648.         local Size1 = Table.Size1 or 1
  649.         local Size2 = Table.Size2 or 5
  650.         local Lifetime1 = Table.Lifetime1 or 1
  651.         local Lifetime2 = Table.Lifetime2 or 1.5
  652.         local Parent = Table.Parent or Torso
  653.         local Emit = Table.Emit or 100
  654.         local Offset = Table.Offset or 360
  655.         local Acel = Table.Acel or VT(0,0,0)
  656.         local Enabled = Table.Enabled or false
  657.         PRTCL.Parent = Parent
  658.         PRTCL.Size = NumberSequence.new(Size1,Size2)
  659.         PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  660.         PRTCL.Speed = NumberRange.new(Speed)
  661.         PRTCL.VelocitySpread = Offset
  662.         PRTCL.Drag = Drag
  663.         PRTCL.Acceleration = Acel
  664.         if Enabled == false then
  665.                 PRTCL:Emit(Emit)
  666.                 Debris:AddItem(PRTCL,Lifetime2)
  667.         else
  668.                 PRTCL.Enabled = true
  669.         end
  670.         return PRTCL
  671. end
  672.  
  673. function R_RANDOM(CFRAME,DIST)
  674.         return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  675. end
  676.  
  677. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  678.         coroutine.resume(coroutine.create(function()
  679.                 local FADE = IT("Model",Effects)
  680.                 if PARENT ~= nil then
  681.                         FADE.Parent = PARENT
  682.                 end
  683.                 FADE.Name = "FadingEffect"
  684.                 for _, c in pairs(Character:GetChildren()) do
  685.                         if c.ClassName == "Part" then
  686.                                 c.CanCollide = false
  687.                                 local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Dark Blue"), c.Name, c.Size, true)
  688.                                 FADER.CFrame = c.CFrame
  689.                                 FADER.Color = COLOR
  690.                                 if FADER.Name == "Head" then
  691.                                         Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  692.                                 elseif FADER.Name == "HumanoidRootPart" then
  693.                                         FADE.PrimaryPart = FADER
  694.                                         FADER.Transparency = 1
  695.                                 end
  696.                         end
  697.                 end
  698.                 local TRANS = 0.25/TIMER
  699.                 local DIST = nil
  700.                 if MOVEDIRECTION ~= nil then
  701.                         DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  702.                 end
  703.                 for i = 1, TIMER do
  704.                         Swait()
  705.                         for _, c in pairs(FADE:GetChildren()) do
  706.                                 if c.ClassName == "Part" then
  707.                                         c.Transparency = c.Transparency + TRANS
  708.                                 end
  709.                         end
  710.                         if MOVEDIRECTION ~= nil then
  711.                                 local ORI = FADE.PrimaryPart.Orientation
  712.                                 FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  713.                         end
  714.                 end
  715.                 FADE:remove()
  716.         end))
  717. end
  718.  
  719.  
  720. --//=================================\\
  721. --||         WEAPON CREATION
  722. --\\=================================//
  723.  
  724. local SIZE = 1.25
  725.  
  726. local Particle = IT("ParticleEmitter",nil)
  727. Particle.Enabled = false
  728. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  729. Particle.LightEmission = 0.5
  730. Particle.Rate = 150
  731. Particle.ZOffset = 0.2
  732. Particle.Rotation = NumberRange.new(-180, 180)
  733. Particle.RotSpeed = NumberRange.new(-180, 180)
  734. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  735. Particle.Color = ColorSequence.new(C3(0,0,3),C3(0.0,0,4))
  736.  
  737. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  738. function ParticleEmitter(Table)
  739.         local PRTCL = Particle:Clone()
  740.         local Speed = Table.Speed or 5
  741.         local Drag = Table.Drag or 0
  742.         local Size1 = Table.Size1 or 1
  743.         local Size2 = Table.Size2 or 5
  744.         local Lifetime1 = Table.Lifetime1 or 1
  745.         local Lifetime2 = Table.Lifetime2 or 1.5
  746.         local Parent = Table.Parent or Torso
  747.         local Emit = Table.Emit or 100
  748.         local Offset = Table.Offset or 360
  749.         local Acel = Table.Acel or VT(0,0,0)
  750.         local Enabled = Table.Enabled or false
  751.         PRTCL.Parent = Parent
  752.         PRTCL.Size = NumberSequence.new(Size1,Size2)
  753.         PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  754.         PRTCL.Speed = NumberRange.new(Speed)
  755.         PRTCL.VelocitySpread = Offset
  756.         PRTCL.Drag = Drag
  757.         PRTCL.Acceleration = Acel
  758.         if Enabled == false then
  759.                 PRTCL:Emit(Emit)
  760.                 Debris:AddItem(PRTCL,Lifetime2)
  761.         else
  762.                 PRTCL.Enabled = true
  763.         end
  764.         return PRTCL
  765. end
  766.  
  767. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  768. PRT.Color = C3(0,0,1)
  769. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  770. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "15724132", VT(1,1,1)*SIZE, VT(0,0,0))
  771. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  772. PRT.Color = C3(0, 0, 111)
  773. MakeForm(PRT,"Ball")
  774. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  775. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  776. PRT.Color = C3(0, 0, 111)
  777. MakeForm(PRT,"Ball")
  778. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  779. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.0,0.3),false)
  780. PRT.Color = C3(0, 0, 111)
  781. MakeForm(PRT,"Ball")
  782. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  783. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.0,0.3),false)
  784. PRT.Color = C3(0, 0, 111)
  785. MakeForm(PRT,"Ball")
  786. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  787. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.0,0.3),false)
  788. PRT.Color = C3(0, 0, 111)
  789. MakeForm(PRT,"Ball")
  790. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  791. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.0,0.3),false)
  792. PRT.Color = C3(0, 0, 111)
  793. MakeForm(PRT,"Ball")
  794. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  795.  
  796.  
  797.  
  798.  
  799. local LASTPART = Head
  800. for i = 1, 20 do
  801.         local MATH = (1-(i/25))
  802.         if LASTPART == Head then
  803.                 local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  804.                 CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  805.                 LASTPART = Horn
  806.                 Horn.Color = C3((i*3-3)/0,0,4)
  807.         else
  808.                 local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  809.                 CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  810.                 LASTPART = Horn
  811.                 Horn.Color = C3((i*3-3)/0,0,3)
  812.         end
  813. end
  814. local LASTPART = Head
  815. for i = 1, 20 do
  816.         local MATH = (1-(i/25))
  817.         if LASTPART == Head then
  818.                 local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  819.                 CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  820.                 LASTPART = Horn
  821.                 Horn.Color = C3((i*3-3)/0,0,3)
  822.         else
  823.                 local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  824.                 CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  825.                 LASTPART = Horn
  826.                 Horn.Color = C3((i*3-3)/0,0,3)
  827.         end
  828. end
  829.  
  830. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  831. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  832. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  833. MakeForm(Part,"Wedge")
  834. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  835. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  836. MakeForm(Part,"Wedge")
  837. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  838. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  839. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  840. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  841. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  842. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  843. MakeForm(Part,"Cyl")
  844. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  845. for i = 1, 8 do
  846.         local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  847.         CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  848. end
  849. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  850. MakeForm(Part,"Cyl")
  851. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  852. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  853. MakeForm(Part,"Ball")
  854. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  855. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  856. MakeForm(Part,"Wedge")
  857. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  858. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  859. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  860. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  861. MakeForm(Part,"Cyl")
  862. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  863. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  864. MakeForm(Part,"Cyl")
  865. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  866. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  867. MakeForm(Part,"Cyl")
  868. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  869. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  870. MakeForm(Part,"Wedge")
  871. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  872. local LASTPART = Handle
  873. for i = 1, 10 do
  874.         if LASTPART == Handle then
  875.                 local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  876.                 LASTPART = Part
  877.                 CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  878.         else
  879.                 local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  880.                 CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  881.                 LASTPART = Part
  882.         end
  883. end
  884.  
  885. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  886. MakeForm(Barrel,"Cyl")
  887. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  888. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  889. MakeForm(Part,"Cyl")
  890. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  891. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  892. MakeForm(Part,"Wedge")
  893. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  894. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  895. MakeForm(Hole2,"Cyl")
  896. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  897. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  898. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  899. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  900. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  901. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  902. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  903. coroutine.resume(coroutine.create(function()
  904.         while wait() do
  905.                 GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  906.                 GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  907.         end
  908. end))
  909.  
  910. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  911. --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)})
  912.  
  913. for _, c in pairs(Weapon:GetDescendants()) do
  914.         if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  915.                 c.Material = "Glass"
  916.                 c.Color = C3(0,0,1)
  917.         elseif c.ClassName == "Part" and c.Name == "Eye" then
  918.                 c.Color = C3(0,0,1)
  919.                 c.Material = "Neon"
  920.         end
  921. end
  922.  
  923. Weapon.Parent = Character
  924. for _, c in pairs(Weapon:GetChildren()) do
  925.         if c.ClassName == "Part" then
  926.                 c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  927.         end
  928. end
  929.  
  930. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  931. PRT.Color = C3(0,0,1)
  932. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  933. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  934.  
  935.         if Character:FindFirstChildOfClass("Accessory") then
  936.                 Character:FindFirstChildOfClass("Accessory"):remove()
  937.         elseif Character:FindFirstChildOfClass("Hat") then
  938.                 Character:FindFirstChildOfClass("Hat"):remove()
  939.         end
  940.         if Head:FindFirstChild("face") then
  941.                 Head.face.Texture = "rbxassetid://403870689"
  942.                         if Character:FindFirstChildOfClass("Accessory") then
  943.                 Character:FindFirstChildOfClass("Accessory"):remove()
  944.         elseif Character:FindFirstChildOfClass("Hat") then
  945.                 Character:FindFirstChildOfClass("Hat"):remove()
  946.                         end
  947.                                 if Character:FindFirstChildOfClass("Accessory") then
  948.                 Character:FindFirstChildOfClass("Accessory"):remove()
  949.         elseif Character:FindFirstChildOfClass("Hat") then
  950.                 Character:FindFirstChildOfClass("Hat"):remove()
  951.                                 end
  952.                                         if Character:FindFirstChildOfClass("Accessory") then
  953.                 Character:FindFirstChildOfClass("Accessory"):remove()
  954.         elseif Character:FindFirstChildOfClass("Hat") then
  955.                 Character:FindFirstChildOfClass("Hat"):remove()
  956.                                         end
  957.                                                 if Character:FindFirstChildOfClass("Accessory") then
  958.                 Character:FindFirstChildOfClass("Accessory"):remove()
  959.         elseif Character:FindFirstChildOfClass("Hat") then
  960.                 Character:FindFirstChildOfClass("Hat"):remove()
  961.                                                 end
  962.                                                         if Character:FindFirstChildOfClass("Accessory") then
  963.                 Character:FindFirstChildOfClass("Accessory"):remove()
  964.         elseif Character:FindFirstChildOfClass("Hat") then
  965.                 Character:FindFirstChildOfClass("Hat"):remove()
  966.         end
  967.                 end
  968.  
  969. function ParticleEmitter(Table)
  970.         local PRTCL = Particle:Clone()
  971.         local Speed = Table.Speed or 5
  972.         local Drag = Table.Drag or 0
  973.         local Size1 = Table.Size1 or 1
  974.         local Size2 = Table.Size2 or 5
  975.         local Lifetime1 = Table.Lifetime1 or 1
  976.         local Lifetime2 = Table.Lifetime2 or 1.5
  977.         local Parent = Table.Parent or Torso
  978.         local Emit = Table.Emit or 100
  979.         local Offset = Table.Offset or 360
  980.         local Acel = Table.Acel or VT(0,0,0)
  981.         local Enabled = Table.Enabled or false
  982.         PRTCL.Parent = Parent
  983.         PRTCL.Size = NumberSequence.new(Size1,Size2)
  984.         PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  985.         PRTCL.Speed = NumberRange.new(Speed)
  986.         PRTCL.VelocitySpread = Offset
  987.         PRTCL.Drag = Drag
  988.         PRTCL.Acceleration = Acel
  989.         if Enabled == false then
  990.                 PRTCL:Emit(Emit)
  991.                 Debris:AddItem(PRTCL,Lifetime2)
  992.         else
  993.                 PRTCL.Enabled = true
  994.         end
  995.         return PRTCL
  996. end
  997.  
  998. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  999. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1000. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1001. MakeForm(Part,"Wedge")
  1002. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1003. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1004. MakeForm(Part,"Wedge")
  1005. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1006. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1007. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1008. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1009. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1010. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1011. MakeForm(Part,"Cyl")
  1012. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1013. for i = 1, 8 do
  1014.         local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1015.         CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1016. end
  1017. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1018. MakeForm(Part,"Cyl")
  1019. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1020. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1021. MakeForm(Part,"Ball")
  1022. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1023. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1024. MakeForm(Part,"Wedge")
  1025. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1026. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1027. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1028. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1029. MakeForm(Part,"Cyl")
  1030. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1031. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1032. MakeForm(Part,"Cyl")
  1033. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1034. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1035. MakeForm(Part,"Cyl")
  1036. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1037. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1038. MakeForm(Part,"Wedge")
  1039. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1040. local LASTPART = Handle
  1041. for i = 1, 10 do
  1042.         if LASTPART == Handle then
  1043.                 local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1044.                 LASTPART = Part
  1045.                 CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1046.         else
  1047.                 local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1048.                 CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1049.                 LASTPART = Part
  1050.         end
  1051. end
  1052.  
  1053. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1054. MakeForm(Barrel,"Cyl")
  1055. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1056. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1057. MakeForm(Part,"Cyl")
  1058. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1059. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1060. MakeForm(Part,"Wedge")
  1061. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1062. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1063. MakeForm(Hole,"Cyl")
  1064. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1065. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1066. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1067. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1068. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1069. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1070. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1071. coroutine.resume(coroutine.create(function()
  1072.         while wait() do
  1073.                 GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1074.                 GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1075.         end
  1076. end))
  1077.  
  1078. 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)})
  1079. --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)})
  1080.  
  1081. for _, c in pairs(Weapon:GetDescendants()) do
  1082.         if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1083.                 c.Material = "Glass"
  1084.                 c.Color = C3(0.05,0.05,0.05)
  1085.         elseif c.ClassName == "Part" and c.Name == "Eye" then
  1086.                 c.Color = C3(0,0,1)
  1087.                 c.Material = "Neon"
  1088.         end
  1089. end
  1090.  
  1091. Weapon.Parent = Character
  1092. for _, c in pairs(Weapon:GetChildren()) do
  1093.         if c.ClassName == "Part" then
  1094.                 c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1095.         end
  1096. end
  1097.  
  1098. local SKILLTEXTCOLOR = C3(0,0,1)
  1099. local SKILLFONT = "Antique"
  1100. local SKILLTEXTSIZE = 7
  1101.  
  1102. Humanoid.Died:connect(function()
  1103.         ATTACK = true
  1104. end)
  1105.  
  1106.  
  1107. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1108. --[[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")
  1109. 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")
  1110. 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")
  1111. 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")
  1112. ]]
  1113. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1114. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1115. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1116. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1117. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1118. ]]
  1119. function printbye(Name)
  1120.         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, "}
  1121.         warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1122. end
  1123.  
  1124. workspace.ChildAdded:connect(function(instance)
  1125.     for BANISH = 1, #TOBANISH do
  1126.                 if TOBANISH[BANISH] ~= nil then
  1127.                         if instance.Name == TOBANISH[BANISH] then
  1128.                                 coroutine.resume(coroutine.create(function()
  1129.                                         printbye(instance.Name)
  1130.                                         instance:ClearAllChildren()
  1131.                                         Debris:AddItem(instance,0.0005)
  1132.                                 end))
  1133.                         end
  1134.                 end
  1135.         end
  1136. end)
  1137.  
  1138. --//=================================\\
  1139. --||                    DAMAGING
  1140. --\\=================================//
  1141.  
  1142. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1143.         local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1144.         local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1145.         wave.CFrame = CFRAME
  1146.         coroutine.resume(coroutine.create(function(PART)
  1147.                 for i = 1, WAIT do
  1148.                         Swait()
  1149.                         mesh.Scale = mesh.Scale + GROW
  1150.                         mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1151.                         if DOESROT == true then
  1152.                                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1153.                         end
  1154.                         wave.Transparency = wave.Transparency + (0.5/WAIT)
  1155.                         if wave.Transparency > 0.99 then
  1156.                                 wave:remove()
  1157.                         end
  1158.                 end
  1159.         end))
  1160. end
  1161.  
  1162. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1163.         local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1164.         local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  1165.         wave.CFrame = CFRAME
  1166.         coroutine.resume(coroutine.create(function(PART)
  1167.                 for i = 1, WAIT do
  1168.                         Swait()
  1169.                         mesh.Scale = mesh.Scale + GROW
  1170.                         if DOESROT == true then
  1171.                                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1172.                         end
  1173.                         wave.Transparency = wave.Transparency + (0.5/WAIT)
  1174.                         if wave.Transparency > 0.99 then
  1175.                                 wave:remove()
  1176.                         end
  1177.                 end
  1178.         end))
  1179. end
  1180.  
  1181. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1182.         local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1183.         local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1184.         wave.CFrame = CFRAME
  1185.         coroutine.resume(coroutine.create(function(PART)
  1186.                 for i = 1, WAIT do
  1187.                         Swait()
  1188.                         mesh.Scale = mesh.Scale + GROW
  1189.                         wave.Transparency = wave.Transparency + (1/WAIT)
  1190.                         if wave.Transparency > 0.99 then
  1191.                                 wave:remove()
  1192.                         end
  1193.                 end
  1194.         end))
  1195. end
  1196.  
  1197. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1198.         local mesh = nil
  1199.         if KIND == "Base" then
  1200.                 mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1201.         elseif KIND == "Thin" then
  1202.                 mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1203.         elseif KIND == "Round" then
  1204.                 mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1205.         end
  1206.         wave.CFrame = CFRAME
  1207.         coroutine.resume(coroutine.create(function(PART)
  1208.                 for i = 1, WAIT do
  1209.                         Swait()
  1210.                         mesh.Scale = mesh.Scale + GROW/10
  1211.                         wave.Transparency = wave.Transparency + (0.5/WAIT)
  1212.                         if wave.Transparency > 0.99 then
  1213.                                 wave:remove()
  1214.                         end
  1215.                 end
  1216.         end))
  1217. end
  1218.  
  1219. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  1220.         local svch = Character2
  1221.         Character2:BreakJoints()
  1222.         local hum = Character2:findFirstChild("Humanoid")
  1223.         local q = Character2:GetChildren()
  1224.         local CLONE = IT("Model", Effects)
  1225.         for i = 1, #q do
  1226.                 if q[i].ClassName == "Accessory" and Headless == true then
  1227.                         q[i]:remove()
  1228.                 elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  1229.                         q[i].Parent = CLONE
  1230.                 elseif q[i].ClassName ~= "Humanoid" then
  1231.                         q[i]:remove()
  1232.                 end
  1233.         end
  1234.         local chrclone = CLONE
  1235.         local ch = chrclone:GetChildren()
  1236.         local i
  1237.         for i = 1, #ch do
  1238.                 if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1239.                         ch[i]:remove()
  1240.                 end
  1241.         end
  1242.         local function Scan(ch)
  1243.                 local e
  1244.                 for e = 1, #ch do
  1245.                         Scan(ch[e]:GetChildren())
  1246.                         if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1247.                                 ch[e]:remove()
  1248.                         end
  1249.                 end
  1250.         end
  1251.         Character2:remove()
  1252.         local NEWHUM = IT("Humanoid")
  1253.         NEWHUM.Name = "Corpse"
  1254.         NEWHUM.Health = 0
  1255.         NEWHUM.MaxHealth = 0
  1256.         NEWHUM.PlatformStand = true
  1257.         NEWHUM.Parent = CLONE
  1258.         NEWHUM.DisplayDistanceType = "None"
  1259.         Scan(chrclone:GetChildren())
  1260.         local ch = Character2:GetChildren()
  1261.         local i
  1262.         for i = 1, #ch do
  1263.                 if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1264.                         ch[i]:remove()
  1265.                 end
  1266.         end
  1267.         local ch = Character2:GetChildren()
  1268.         local i
  1269.         for i = 1, #ch do
  1270.                 if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1271.                         ch[i]:remove()
  1272.                 end
  1273.         end
  1274.         Character2 = chrclone
  1275.         local Torso2 = Character2.Torso
  1276.         local movevector = Vector3.new()
  1277.         if Torso2 then
  1278.                 movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  1279.                 local Head = Character2:FindFirstChild("Head")
  1280.                 if Head then
  1281.                         local Neck = Instance.new("Weld")
  1282.                         Neck.Name = "Neck"
  1283.                         Neck.Part0 = Torso2
  1284.                         Neck.Part1 = Head
  1285.                         Neck.C0 = CFrame.new(0, 1.5, 0)
  1286.                         Neck.C1 = CFrame.new()
  1287.                         Neck.Parent = Torso2
  1288.                         if Headless == true then
  1289.                                 Head.Transparency = 1
  1290.                                 Head:ClearAllChildren()
  1291.                         end
  1292.                 end
  1293.                 local Limb = Character2:FindFirstChild("Right Arm")
  1294.                 if Limb then
  1295.                         Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1296.                         local Joint = Instance.new("Glue")
  1297.                         Joint.Name = "RightShoulder"
  1298.                         Joint.Part0 = Torso2
  1299.                         Joint.Part1 = Limb
  1300.                         Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1301.                         Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1302.                         Joint.Parent = Torso2
  1303.                         local B = Instance.new("Part")
  1304.                         B.TopSurface = 0
  1305.                         B.BottomSurface = 0
  1306.                         B.formFactor = "Symmetric"
  1307.                         B.Size = Vector3.new(1, 1, 1)
  1308.                         B.Transparency = 1
  1309.                         B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1310.                         B.Parent = Character2
  1311.                         local W = Instance.new("Weld")
  1312.                         W.Part0 = Limb
  1313.                         W.Part1 = B
  1314.                         W.C0 = CFrame.new(0, -0.5, 0)
  1315.                         W.Parent = Limb
  1316.                 end
  1317.                 local Limb = Character2:FindFirstChild("Left Arm")
  1318.                 if Limb then
  1319.                         Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1320.                         local Joint = Instance.new("Glue")
  1321.                         Joint.Name = "LeftShoulder"
  1322.                         Joint.Part0 = Torso2
  1323.                         Joint.Part1 = Limb
  1324.                         Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1325.                         Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1326.                         Joint.Parent = Torso2
  1327.                         local B = Instance.new("Part")
  1328.                         B.TopSurface = 0
  1329.                         B.BottomSurface = 0
  1330.                         B.formFactor = "Symmetric"
  1331.                         B.Size = Vector3.new(1, 1, 1)
  1332.                         B.Transparency = 1
  1333.                         B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1334.                         B.Parent = Character2
  1335.                         local W = Instance.new("Weld")
  1336.                         W.Part0 = Limb
  1337.                         W.Part1 = B
  1338.                         W.C0 = CFrame.new(0, -0.5, 0)
  1339.                         W.Parent = Limb
  1340.                 end
  1341.                 local Limb = Character2:FindFirstChild("Right Leg")
  1342.                 if Limb then
  1343.                         Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1344.                         local Joint = Instance.new("Glue")
  1345.                         Joint.Name = "RightHip"
  1346.                         Joint.Part0 = Torso2
  1347.                         Joint.Part1 = Limb
  1348.                         Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1349.                         Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1350.                         Joint.Parent = Torso2
  1351.                         local B = Instance.new("Part")
  1352.                         B.TopSurface = 0
  1353.                         B.BottomSurface = 0
  1354.                         B.formFactor = "Symmetric"
  1355.                         B.Size = Vector3.new(1, 1, 1)
  1356.                         B.Transparency = 1
  1357.                         B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1358.                         B.Parent = Character2
  1359.                         local W = Instance.new("Weld")
  1360.                         W.Part0 = Limb
  1361.                         W.Part1 = B
  1362.                         W.C0 = CFrame.new(0, -0.5, 0)
  1363.                         W.Parent = Limb
  1364.                 end
  1365.                 local Limb = Character2:FindFirstChild("Left Leg")
  1366.                 if Limb then
  1367.                         Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1368.                         local Joint = Instance.new("Glue")
  1369.                         Joint.Name = "LeftHip"
  1370.                         Joint.Part0 = Torso2
  1371.                         Joint.Part1 = Limb
  1372.                         Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1373.                         Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1374.                         Joint.Parent = Torso2
  1375.                         local B = Instance.new("Part")
  1376.                         B.TopSurface = 0
  1377.                         B.BottomSurface = 0
  1378.                         B.formFactor = "Symmetric"
  1379.                         B.Size = Vector3.new(1, 1, 1)
  1380.                         B.Transparency = 1
  1381.                         B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1382.                         B.Parent = Character2
  1383.                         local W = Instance.new("Weld")
  1384.                         W.Part0 = Limb
  1385.                         W.Part1 = B
  1386.                         W.C0 = CFrame.new(0, -0.5, 0)
  1387.                         W.Parent = Limb
  1388.                 end
  1389.                 local Bar = Instance.new("Part")
  1390.                 Bar.TopSurface = 0
  1391.                 Bar.BottomSurface = 0
  1392.                 Bar.formFactor = "Symmetric"
  1393.                 Bar.Size = Vector3.new(1, 1, 1)
  1394.                 Bar.Transparency = 1
  1395.                 Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1396.                 Bar.Parent = Character2
  1397.                 local Weld = Instance.new("Weld")
  1398.                 Weld.Part0 = Torso2
  1399.                 Weld.Part1 = Bar
  1400.                 Weld.C0 = CFrame.new(0, 0.5, 0)
  1401.                 Weld.Parent = Torso2
  1402.         end
  1403.         Character2.Parent = Weapon
  1404.         if movevector ~= Vector3.new() then
  1405.                 for i = 1, 10 do
  1406.                         Torso2.Velocity = movevector * Velocity
  1407.                 end
  1408.         end
  1409.         Character2.Name = "Corpse"
  1410.         return Character2, Torso2
  1411. end
  1412.  
  1413. function Banish(Foe)
  1414.         if Foe then
  1415.                 coroutine.resume(coroutine.create(function()
  1416.                         --if game.Players:FindFirstChild(Foe.Name) then
  1417.                                 table.insert(TOBANISH,Foe.Name)
  1418.                                 printbye(Foe.Name)
  1419.                         --end
  1420.                         Foe.Archivable = true
  1421.                         local CLONE = Foe:Clone()
  1422.                         Foe:Destroy()
  1423.                         CLONE.Parent = Effects
  1424.                         CLONE:BreakJoints()
  1425.                         local MATERIALS = {"Glass","Neon"}
  1426.                         for _, c in pairs(CLONE:GetDescendants()) do
  1427.                                 if c:IsA("BasePart") then
  1428.                                         if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1429.                                                 CreateSound(340722848, c, 10, 1, false)
  1430.                                         end
  1431.                                         c.Anchored = true
  1432.                                         c.Transparency = c.Transparency + 0.2
  1433.                                         c.Material = MATERIALS[MRANDOM(1,2)]
  1434.                                         c.Color = C3(0,0,1)
  1435.                                         if c.ClassName == "MeshPart" then
  1436.                                                 c.TextureID = ""
  1437.                                         end
  1438.                                         if c:FindFirstChildOfClass("SpecialMesh") then
  1439.                                                 c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1440.                                         end
  1441.                                         if c:FindFirstChildOfClass("Decal") then
  1442.                                                 c:FindFirstChildOfClass("Decal"):remove()
  1443.                                         end
  1444.                                         c.Name = "Banished"
  1445.                                         c.CanCollide = false
  1446.                                 else
  1447.                                         c:remove()
  1448.                                 end
  1449.                         end
  1450.                         local A = false
  1451.                         for i = 1, 35 do
  1452.                                 if A == false then
  1453.                                         A = true
  1454.                                 elseif A == true then
  1455.                                         A = false
  1456.                                 end
  1457.                                 for _, c in pairs(CLONE:GetDescendants()) do
  1458.                                         if c:IsA("BasePart") then
  1459.                                                 c.Anchored = true
  1460.                                                 c.Material = MATERIALS[MRANDOM(1,2)]
  1461.                                                 c.Transparency = c.Transparency + 0.8/35
  1462.                                                 if A == false then
  1463.                                                         c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1464.                                                 elseif A == true then
  1465.                                                         c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                                                
  1466.                                                 end
  1467.                                         end
  1468.                                 end
  1469.                                 Swait()
  1470.                         end
  1471.                         CLONE:remove()
  1472.                 end))
  1473.         end
  1474. end
  1475.  
  1476. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1477.         local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1478.         if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1479.                 if HITFLOOR.Name == "BloodPuddle" then
  1480.                         local DIST = (Position - HITFLOOR.Position).Magnitude
  1481.                         if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  1482.                                 HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1483.                         end
  1484.                 elseif HITFLOOR.Anchored == true then
  1485.                         do
  1486.                                 local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(2, 0, 2))
  1487.                                 BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1488.                                 MakeForm(BLOOD, "Cyl")
  1489.                                 coroutine.resume(coroutine.create(function()
  1490.                                         Swait(75)
  1491.                                         while true do
  1492.                                                 Swait()
  1493.                                                 BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1494.                                                 if BLOOD.Size.Z < 0.051 then
  1495.                                                         BLOOD:remove()
  1496.                                                         break
  1497.                                                 end
  1498.                                         end
  1499.                                 end))
  1500.                         end
  1501.                 end
  1502.         end
  1503. end
  1504.  
  1505. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1506.         local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(1, 1, 1), false)
  1507.         BLOOD.CFrame = CF(POSITION)
  1508.         MakeForm(BLOOD, "Ball")
  1509.         local bv = Instance.new("BodyVelocity", BLOOD)
  1510.         bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1511.         bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1512.         bv.Name = "MOVE"
  1513.         Debris:AddItem(bv, 0.05)
  1514.         coroutine.resume(coroutine.create(function()
  1515.                 local HASTOUCHEDGROUND = false
  1516.                 local HIT = BLOOD.Touched:Connect(function(hit)
  1517.                         if hit.Anchored == true then
  1518.                                 HASTOUCHEDGROUND = true
  1519.                                 PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1520.                         end
  1521.                 end)
  1522.                 wait(5)
  1523.                 if HASTOUCHEDGROUND == false then
  1524.                         BLOOD:remove()
  1525.                 end
  1526.         end))
  1527. end
  1528. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1529.         local defence = Instance.new("BoolValue", Humanoid.Parent)
  1530.         defence.Name = "HitBy" .. Player.Name
  1531.         game:GetService("Debris"):AddItem(defence, 0.001)
  1532.         Damage = Damage * DAMAGEMULTIPLIER
  1533.         if Humanoid.Health ~= 0 then
  1534.                 local CritChance = MRANDOM(1, 100)
  1535.                 if Damage > Humanoid.Health then
  1536.                         Damage = math.ceil(Humanoid.Health)
  1537.                         if Damage == 0 then
  1538.                                 Damage = 0.1
  1539.                         end
  1540.                 end
  1541.                 Humanoid.Health = Humanoid.Health - Damage
  1542.                 StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1543.         end
  1544. end
  1545.  
  1546. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1547.         local CHILDREN = workspace:GetDescendants()
  1548.         for index, CHILD in pairs(CHILDREN) do
  1549.                 if CHILD.ClassName == "Model" and CHILD ~= Character then
  1550.                         local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1551.                         if HUM then
  1552.                                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1553.                                 if TORSO then
  1554.                                         if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1555.                                                 if ISBANISH == true then
  1556.                                                         Banish(CHILD)
  1557.                                                 else
  1558.                                                         if ISBANISH == "Gravity" then
  1559.                                                                 HUM.PlatformStand = true
  1560.                                                                 if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1561.                                                                         local grav = Instance.new("BodyPosition",TORSO)
  1562.                                                                         grav.D = 15
  1563.                                                                         grav.P = 20000
  1564.                                                                         grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1565.                                                                         grav.position = TORSO.Position
  1566.                                                                         grav.Name = "V3BanishForce"..Player.Name
  1567.                                                                 else
  1568.                                                                         TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1569.                                                                         TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1570.                                                                 end
  1571.                                                         else
  1572.                                                                 HUM.PlatformStand = false
  1573.                                                         end
  1574.                                                 end
  1575.                                         elseif ISBANISH == "Gravity" then
  1576.                                                 if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1577.                                                         TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1578.                                                         HUM.PlatformStand = false
  1579.                                                 end
  1580.                                         end
  1581.                                 end
  1582.                         end
  1583.                 end
  1584.         end
  1585. end
  1586.  
  1587. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1588.         local dmg = math.random(min,max)
  1589.         for i,v in ipairs(workspace:GetChildren()) do
  1590.         if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1591.                 local body = v:GetChildren()
  1592.                         for part = 1, #body do
  1593.                                 if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1594.                                         if(body[part].Position - position).Magnitude < radius then
  1595.                                                 if v.ClassName == "Model" then
  1596.                                                         if v:FindFirstChildOfClass("Humanoid") then
  1597.                                                                 if CanBeDodgedByJumping == true then
  1598.                                                                         if body[part].Position.Y < position.Y+5 then
  1599.                                                                                 ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1600.                                                                         end
  1601.                                                                 else
  1602.                                                                         ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1603.                                                                 end
  1604.                                                                 local bv = Instance.new("BodyVelocity")
  1605.                                                                 bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1606.                                                                 bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1607.                                                                 bv.Parent = body[part]
  1608.                                                                 Debris:AddItem(bv,0.2)
  1609.                                                         end
  1610.                                                 end
  1611.                                         end
  1612.                                 end
  1613.                         end
  1614.                 end
  1615.                 if v:FindFirstChild("HitBy"..Player.Name) then
  1616.                         v:FindFirstChild("HitBy"..Player.Name):remove()
  1617.                 end
  1618.         end
  1619. end
  1620.  
  1621.  
  1622. --//=================================\\
  1623. --||    ATTACK FUNCTIONS AND STUFF
  1624. --\\=================================//
  1625.  
  1626. function ShadowCloak()
  1627.         if ANIM ~= "Fall" and ANIM ~= "Jump" then
  1628.                 ATTACK = true
  1629.                 Rooted = false
  1630.                 UNANCHOR = false
  1631.                 FADERS = false
  1632.                 coroutine.resume(coroutine.create(function()
  1633.                         coroutine.resume(coroutine.create(function()
  1634.                                 for i=1, 25 do
  1635.                                         Swait()
  1636.                                         RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  1637.                                 end
  1638.                         end))
  1639.                         repeat
  1640.                                 Swait()
  1641.                                 BLADE.Transparency = Torso.Transparency
  1642.                                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1643.                                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  1644.                                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1645.                                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1646.                                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  1647.                                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  1648.                         until ATTACK == false
  1649.                 end))
  1650.                 WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  1651.                 WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1652.                 for i = 1, 50 do
  1653.                         Swait()
  1654.                         CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  1655.                         for index, CHILD in pairs(Character:GetChildren()) do
  1656.                                 if CHILD:IsA("BasePart") then
  1657.                                         CHILD.Transparency = CHILD.Transparency + 1/50
  1658.                                 elseif CHILD:IsA("Accessory") then
  1659.                                         CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  1660.                                 end
  1661.                         end
  1662.                 end
  1663.                 for i = 1, 25 do
  1664.                         Swait()
  1665.                         CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  1666.                 end
  1667.                 RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  1668.                 for i = 1, 5 do
  1669.                         WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,3), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1670.                 end
  1671.                 ApplyAoE(Torso.Position,15,12,22,150,false)
  1672.                 CreateSound(331666014,Torso,5,1,false)
  1673.                 for i = 1, 12 do
  1674.                         Swait()
  1675.                         CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  1676.                 end
  1677.                 for i = 1, 50 do
  1678.                         Swait()
  1679.                         CharacterFade(C3(0,0,3),12,R_RANDOM(Torso.CFrame,1.25).p)
  1680.                         for index, CHILD in pairs(Character:GetChildren()) do
  1681.                                 if CHILD:IsA("BasePart") then
  1682.                                         CHILD.Transparency = CHILD.Transparency - 1/50
  1683.                                 elseif CHILD:IsA("Accessory") then
  1684.                                         CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  1685.                                 end
  1686.                         end
  1687.                 end
  1688.                 UNANCHOR = true
  1689.                 ATTACK = false
  1690.                 Rooted = false
  1691.                 FADERS = true
  1692.         end
  1693. end
  1694.  
  1695. function Neck_Snap()
  1696.         ATTACK = true
  1697.         Rooted = false
  1698.         local TARGET, HUM, WLD
  1699.         local HIT = RightArm.Touched:Connect(function(hit)
  1700.                 if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1701.                         local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  1702.                         if H.Health > 0 then
  1703.                                 local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1704.                                 if TORSO then
  1705.                                         HUM = H
  1706.                                         TARGET = TORSO
  1707.                                         H.PlatformStand = true
  1708.                                         CreateSound("260411131", TORSO, 10, 1)
  1709.                                         WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1710.                                 end
  1711.                         end
  1712.                 end
  1713.         end)
  1714.         for i = 0, 1, 0.1 / Animation_Speed do
  1715.                 Swait()
  1716.                 if TARGET ~= nil then
  1717.                         break
  1718.                 end
  1719.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1720.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1721.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1722.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1723.                 if ANIM == "Idle" then
  1724.                         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.5 / Animation_Speed)
  1725.                         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.5 / Animation_Speed)
  1726.                 elseif ANIM == "Walk" then
  1727.                         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1728.                         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1729.                 elseif ANIM == "Jump" or ANIM == "Fall" then
  1730.                         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)
  1731.                         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)
  1732.                 end
  1733.         end
  1734.         HIT:disconnect()
  1735.         if TARGET ~= nil then
  1736.                 if TARGET.Name == "Torso" then
  1737.                         for i = 0, 2, 0.1 / Animation_Speed do
  1738.                                 Swait()
  1739.                                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1740.                                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1741.                                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1742.                                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1743.                                 if ANIM == "Idle" then
  1744.                                         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.5 / Animation_Speed)
  1745.                                         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.5 / Animation_Speed)
  1746.                                 elseif ANIM == "Walk" then
  1747.                                         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1748.                                         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1749.                                 elseif ANIM == "Jump" or ANIM == "Fall" then
  1750.                                         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)
  1751.                                         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)
  1752.                                 end
  1753.                         end
  1754.                         WLD:remove()
  1755.                         local HEAD = TARGET.Parent:FindFirstChild("Head")
  1756.                         if HEAD then
  1757.                                 UNANCHOR = false
  1758.                                 RootPart.Anchored = true
  1759.                                 local HD = HEAD:Clone()
  1760.                                 HD.Name = "FakeHead"
  1761.                                 for i = 1, 7 do
  1762.                                         SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  1763.                                 end
  1764.                                 local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  1765.                                 local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1766.                                 HD.Parent = RAGDOLL
  1767.                                 CreateSound("264486467", RAGTORSO, 10, 1)
  1768.                                 local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1769.                                 for i = 0, 2, 0.1 / Animation_Speed do
  1770.                                         Swait()
  1771.                                         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1772.                                         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1773.                                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1774.                                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1775.                                         if ANIM == "Idle" then
  1776.                                                 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.5 / Animation_Speed)
  1777.                                                 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.5 / Animation_Speed)
  1778.                                         elseif ANIM == "Walk" then
  1779.                                                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1780.                                                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1781.                                         elseif ANIM == "Jump" or ANIM == "Fall" then
  1782.                                                 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)
  1783.                                                 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)
  1784.                                         end
  1785.                                 end
  1786.                                 HEADWELD:remove()
  1787.                                 for i = 0, 0.5, 0.1 / Animation_Speed do
  1788.                                         Swait()
  1789.                                         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1790.                                         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1791.                                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1792.                                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1793.                                         if ANIM == "Idle" then
  1794.                                                 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.5 / Animation_Speed)
  1795.                                                 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.5 / Animation_Speed)
  1796.                                         elseif ANIM == "Walk" then
  1797.                                                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1798.                                                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1799.                                         elseif ANIM == "Jump" or ANIM == "Fall" then
  1800.                                                 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)
  1801.                                                 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)
  1802.                                         end
  1803.                                 end
  1804.                                 CreateSound("907333406", Torso, 10, 1)
  1805.                                 for i = 0, 0.25, 0.1 / Animation_Speed do
  1806.                                         Swait()
  1807.                                         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1808.                                         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1809.                                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1810.                                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1811.                                         if ANIM == "Idle" then
  1812.                                                 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.5 / Animation_Speed)
  1813.                                                 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.5 / Animation_Speed)
  1814.                                         elseif ANIM == "Walk" then
  1815.                                                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1816.                                                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1817.                                         elseif ANIM == "Jump" or ANIM == "Fall" then
  1818.                                                 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)
  1819.                                                 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)
  1820.                                         end
  1821.                                 end
  1822.                                 RAGWELD:remove()
  1823.                                 local bv = Instance.new("BodyVelocity")
  1824.                                 bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1825.                                 bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  1826.                                 bv.Parent = RAGTORSO
  1827.                                 Debris:AddItem(bv, 0.05)
  1828.                                 Debris:AddItem(RAGDOLL, 5)
  1829.                                 for i = 0, 0.15, 0.1 / Animation_Speed do
  1830.                                         Swait()
  1831.                                         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1832.                                         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1833.                                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1834.                                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1835.                                         if ANIM == "Idle" then
  1836.                                                 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.5 / Animation_Speed)
  1837.                                                 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.5 / Animation_Speed)
  1838.                                         elseif ANIM == "Walk" then
  1839.                                                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1840.                                                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1841.                                         elseif ANIM == "Jump" or ANIM == "Fall" then
  1842.                                                 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)
  1843.                                                 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)
  1844.                                         end
  1845.                                 end
  1846.                                 UNANCHOR = true
  1847.                                 RootPart.Anchored = false
  1848.                         end
  1849.                 else
  1850.                         UNANCHOR = false
  1851.                         RootPart.Anchored = true
  1852.                         for i = 0, 0.5, 0.1 / Animation_Speed do
  1853.                                 Swait()
  1854.                                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1855.                                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1856.                                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1857.                                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1858.                                 if ANIM == "Idle" then
  1859.                                         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.5 / Animation_Speed)
  1860.                                         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.5 / Animation_Speed)
  1861.                                 elseif ANIM == "Walk" then
  1862.                                         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1863.                                         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1864.                                 elseif ANIM == "Jump" or ANIM == "Fall" then
  1865.                                         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)
  1866.                                         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)
  1867.                                 end
  1868.                         end
  1869.                         for i = 0, 0.25, 0.1 / Animation_Speed do
  1870.                                 Swait()
  1871.                                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1872.                                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1873.                                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1874.                                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1875.                                 if ANIM == "Idle" then
  1876.                                         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.5 / Animation_Speed)
  1877.                                         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.5 / Animation_Speed)
  1878.                                 elseif ANIM == "Walk" then
  1879.                                         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1880.                                         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1881.                                 elseif ANIM == "Jump" or ANIM == "Fall" then
  1882.                                         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)
  1883.                                         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)
  1884.                                 end
  1885.                         end
  1886.                         WLD:remove()
  1887.                         TARGET.Parent:BreakJoints()
  1888.                         for _, c in pairs(TARGET.Parent:GetChildren()) do
  1889.                                 if c:IsA("BasePart") then
  1890.                                         local bv = Instance.new("BodyVelocity")
  1891.                                         bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1892.                                         bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  1893.                                         bv.Parent = c
  1894.                                         Debris:AddItem(bv, 0.05)
  1895.                                 end
  1896.                         end
  1897.                         for i = 0, 0.15, 0.1 / Animation_Speed do
  1898.                                 Swait()
  1899.                                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1900.                                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1901.                                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1902.                                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1903.                                 if ANIM == "Idle" then
  1904.                                         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.5 / Animation_Speed)
  1905.                                         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.5 / Animation_Speed)
  1906.                                 elseif ANIM == "Walk" then
  1907.                                         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1908.                                         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1909.                                 elseif ANIM == "Jump" or ANIM == "Fall" then
  1910.                                         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)
  1911.                                         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)
  1912.                                 end
  1913.                         end
  1914.                         UNANCHOR = true
  1915.                         RootPart.Anchored = false
  1916.                 end
  1917.         end
  1918.         ATTACK = false
  1919.         Rooted = false
  1920. end
  1921.  
  1922. function Banisher_Bullet()
  1923.         ATTACK = true
  1924.         Rooted = false
  1925.         for i=0, 0.4, 0.1 / Animation_Speed do
  1926.                 Swait()
  1927.                 turnto(Mouse.Hit.p)
  1928.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1929.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1930.                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1931.                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1932.                         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1933.                         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1934.         end
  1935.         repeat
  1936.                 for i=0, 0.2, 0.1 / Animation_Speed do
  1937.                         Swait()
  1938.                         turnto(Mouse.Hit.p)
  1939.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1940.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1941.                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1942.                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1943.                         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1944.                         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1945.                 end
  1946.                 local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  1947.                 SpawnTrail(Hole2.Position,POS)
  1948.                 if HIT ~= nil then
  1949.                         if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1950.                                 Banish(HIT.Parent)
  1951.                         end
  1952.                 end
  1953.                         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1954.                 SpawnTrail(Hole.Position,POS)
  1955.                 if HIT ~= nil then
  1956.                         if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1957.                                 Banish(HIT.Parent)
  1958.                         end
  1959.                 end
  1960.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1961.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 2520058062, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1962.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1963.                 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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1964.                 for i=0, 0.3, 0.1 / Animation_Speed do
  1965.                         Swait()
  1966.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1967.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1968.                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1969.                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1970.                         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1971.                         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1972.                 end
  1973.                                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(5,5,5).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1974.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 2520058062, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1975.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1976.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1977.         until KEYHOLD == false
  1978.         ATTACK = false
  1979.         Rooted = false
  1980. end
  1981.  
  1982. function AttackTemplate()
  1983.         ATTACK = true
  1984.         Rooted = false
  1985.         for i=0, 1, 0.1 / Animation_Speed do
  1986.                 Swait()
  1987.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1988.                 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)
  1989.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1990.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1991.                 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)
  1992.                 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)
  1993.         end
  1994.         ATTACK = false
  1995.         Rooted = false
  1996. end
  1997.  
  1998. --//=================================\\
  1999. --||      ASSIGN THINGS TO KEYS
  2000. --\\=================================//
  2001.  
  2002. function MouseDown(Mouse)
  2003.         if ATTACK == false then
  2004.         end
  2005. end
  2006.  
  2007. function MouseUp(Mouse)
  2008. HOLD = false
  2009. end
  2010.  
  2011. function KeyDown(Key)
  2012.         KEYHOLD = true
  2013.         if Key == "z" and ATTACK == false then
  2014.                 Banisher_Bullet()
  2015.         end
  2016.  
  2017.         if Key == "b" and ATTACK == false then
  2018.                 Neck_Snap()
  2019.         end
  2020.  
  2021.         if Key == "c" and ATTACK == false then
  2022.                 ShadowCloak()
  2023.         end
  2024.  
  2025.         if Key == "v" and ATTACK == false then
  2026.         end
  2027.  
  2028.         if Key == "x" and ATTACK == false then
  2029.         end
  2030. end
  2031.  
  2032. function KeyUp(Key)
  2033.         KEYHOLD = false
  2034. end
  2035.  
  2036.         Mouse.Button1Down:connect(function(NEWKEY)
  2037.                 MouseDown(NEWKEY)
  2038.         end)
  2039.         Mouse.Button1Up:connect(function(NEWKEY)
  2040.                 MouseUp(NEWKEY)
  2041.         end)
  2042.         Mouse.KeyDown:connect(function(NEWKEY)
  2043.                 KeyDown(NEWKEY)
  2044.         end)
  2045.         Mouse.KeyUp:connect(function(NEWKEY)
  2046.                 KeyUp(NEWKEY)
  2047.         end)
  2048.  
  2049. --//=================================\\
  2050. --\\=================================//
  2051.  
  2052.  
  2053. function unanchor()
  2054.         if UNANCHOR == true then
  2055.                 g = Character:GetChildren()
  2056.                 for i = 1, #g do
  2057.                         if g[i].ClassName == "Part" then
  2058.                                 g[i].Anchored = false
  2059.                         end
  2060.                 end
  2061.         end
  2062. end
  2063.  
  2064.  
  2065. --//=================================\\
  2066. --||    WRAP THE WHOLE SCRIPT UP
  2067. --\\=================================//
  2068.  
  2069. Humanoid.Changed:connect(function(Jump)
  2070.         if Jump == "Jump" and (Disable_Jump == true) then
  2071.                 Humanoid.Jump = false
  2072.         end
  2073. end)
  2074.  
  2075. local CONNECT = nil
  2076.  
  2077. while true do
  2078.         Swait()
  2079.         ANIMATE.Parent = nil
  2080.         if Character:FindFirstChildOfClass("Humanoid") == nil then
  2081.                 Humanoid = IT("Humanoid",Character)
  2082.         end
  2083.         for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2084.             v:Stop();
  2085.         end
  2086.         SINE = SINE + CHANGE
  2087.         local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2088.         local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2089.         local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2090.         local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2091.         if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2092.                 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)
  2093.                 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)
  2094.                 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)
  2095.                 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)
  2096.         elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2097.                 RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2098.                 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)
  2099.                 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)
  2100.                 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)
  2101.         end
  2102.         if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2103.                 ANIM = "Jump"
  2104.                 if ATTACK == false then
  2105.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2106.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2107.                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2108.                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2109.                         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)
  2110.                         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)
  2111.             end
  2112.         elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2113.                 ANIM = "Fall"
  2114.                 if ATTACK == false then
  2115.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2116.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2117.                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2118.                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2119.                         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)
  2120.                         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)
  2121.                 end
  2122.         elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2123.                 ANIM = "Idle"
  2124.                 if ATTACK == false then
  2125.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2126.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2127.                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2128.                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2129.                         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2130.                         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2131.                 end
  2132.         elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2133.                 ANIM = "Walk"
  2134.                 if ATTACK == false then
  2135.             Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2136.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2137.                         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2138.                         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2139.                         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)
  2140.                         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)
  2141.                 end
  2142.         end
  2143.         unanchor()
  2144.         Humanoid.MaxHealth = "inf"
  2145.         Humanoid.Health = "inf"
  2146.         if Rooted == false then
  2147.                 Disable_Jump = false
  2148.                 Humanoid.WalkSpeed = Speed
  2149.         elseif Rooted == true then
  2150.                 Disable_Jump = true
  2151.                 Humanoid.WalkSpeed = 0
  2152.         end
  2153.         sick.Parent = Torso
  2154.         sick:resume()
  2155.         sick.Volume = 5
  2156.         sick.Pitch = 1
  2157.         sick.SoundId = "rbxassetid://1470848774"
  2158.         sick.Name = "BanishV3Music"
  2159. end
  2160.  
  2161. --//=================================\\
  2162. --\\=================================//
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168. --//====================================================\\--
  2169. --||                                     END OF SCRIPT
  2170. --\\====================================================//--
Add Comment
Please, Sign In to add comment