daily pastebin goal
11%
SHARE
TWEET

banisherGunAlpha

Ichigo13 Jan 22nd, 2019 130 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5.     print("FE Compatibility code by Mokiros")
  6.     local rp = RealPlayer
  7.     script.Parent = rp.Character
  8.    
  9.     --RemoteEvent for communicating
  10.     local Event = Instance.new("RemoteEvent")
  11.     Event.Name = "UserInput_Event"
  12.  
  13.     --Fake event to make stuff like Mouse.KeyDown work
  14.     local function fakeEvent()
  15.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16.         t.connect = t.Connect
  17.         return t
  18.     end
  19.  
  20.     --Creating fake input objects with fake variables
  21.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25.     end}
  26.     --Merged 2 functions into one by checking amount of arguments
  27.     CAS.UnbindAction = CAS.BindAction
  28.  
  29.     --This function will trigger the events that have been :Connect()'ed
  30.     local function te(self,ev,...)
  31.         local t = m[ev]
  32.         if t and t._fakeEvent then
  33.             for _,f in pairs(t.Functions) do
  34.                 f(...)
  35.             end
  36.         end
  37.     end
  38.     m.TrigEvent = te
  39.     UIS.TrigEvent = te
  40.  
  41.     Event.OnServerEvent:Connect(function(plr,io)
  42.         if plr~=rp then return end
  43.         m.Target = io.Target
  44.         m.Hit = io.Hit
  45.         if not io.isMouse then
  46.             local b = io.UserInputState == Enum.UserInputState.Begin
  47.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.             end
  50.             for _,t in pairs(CAS.Actions) do
  51.                 for _,k in pairs(t.Keys) do
  52.                     if k==io.KeyCode then
  53.                         t.Function(t.Name,io.UserInputState,io)
  54.                     end
  55.                 end
  56.             end
  57.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.         end
  60.     end)
  61.     Event.Parent = NLS([==[
  62.     local Player = game:GetService("Players").LocalPlayer
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local Mouse = Player:GetMouse()
  66.     local UIS = game:GetService("UserInputService")
  67.     local input = function(io,a)
  68.         if a then return end
  69.         --Since InputObject is a client-side instance, we create and pass table instead
  70.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71.     end
  72.     UIS.InputBegan:Connect(input)
  73.     UIS.InputEnded:Connect(input)
  74.  
  75.     local h,t
  76.     --Give the server mouse data 30 times every second, but only if the values changed
  77.     --If player is not moving their mouse, client won't fire events
  78.     while wait(1/30) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.  
  85.     ----Sandboxed game object that allows the usage of client-side methods and services
  86.     --Real game object
  87.     local _rg = game
  88.  
  89.     --Metatable for fake service
  90.     local fsmt = {
  91.         __index = function(self,k)
  92.             local s = rawget(self,"_RealService")
  93.             if s then return s[k] end
  94.         end,
  95.         __newindex = function(self,k,v)
  96.             local s = rawget(self,"_RealService")
  97.             if s then s[k]=v end
  98.         end,
  99.         __call = function(self,...)
  100.             local s = rawget(self,"_RealService")
  101.             if s then return s(...) end
  102.         end
  103.     }
  104.     local function FakeService(t,RealService)
  105.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106.         return setmetatable(t,fsmt)
  107.     end
  108.  
  109.     --Fake game object
  110.     local g = {
  111.         GetService = function(self,s)
  112.             return self[s]
  113.         end,
  114.         Players = FakeService({
  115.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116.         },"Players"),
  117.         UserInputService = FakeService(UIS,"UserInputService"),
  118.         ContextActionService = FakeService(CAS,"ContextActionService"),
  119.     }
  120.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121.     g.service = g.GetService
  122.    
  123.     g.RunService = FakeService({
  124.         RenderStepped = _rg:GetService("RunService").Heartbeat,
  125.         BindToRenderStep = function(self,name,_,fun)
  126.  
  127.         end,
  128.         UnbindFromRenderStep = function(self,name)
  129.             self._btrs[name]:Disconnect()
  130.         end,
  131.     },"RunService")
  132.  
  133.     setmetatable(g,{
  134.         __index=function(self,s)
  135.             return _rg:GetService(s) or typeof(_rg[s])=="function"
  136.             and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137.         end,
  138.         __newindex = fsmt.__newindex,
  139.         __call = fsmt.__call
  140.     })
  141.     --Changing owner to fake player object to support owner:GetMouse()
  142.     game,owner = g,g.Players.LocalPlayer
  143. end
  144. script.Name = "Banisher Gun V3 / 1"
  145. --//====================================================\\--
  146. --||               CREATED BY SHACKLUSTER
  147. --\\====================================================//--
  148.  
  149. script:ClearAllChildren()
  150. wait(0.2)
  151.  
  152. Player = owner
  153. PlayerGui = Player.PlayerGui
  154. Cam = workspace.CurrentCamera
  155. Backpack = Player.Backpack
  156. Character = Player.Character
  157. Humanoid = Character.Humanoid
  158. Mouse = Player:GetMouse()
  159. RootPart = Character["HumanoidRootPart"]
  160. Torso = Character["Torso"]
  161. Head = Character["Head"]
  162. RightArm = Character["Right Arm"]
  163. LeftArm = Character["Left Arm"]
  164. RightLeg = Character["Right Leg"]
  165. LeftLeg = Character["Left Leg"]
  166. RootJoint = RootPart["RootJoint"]
  167. Neck = Torso["Neck"]
  168. RightShoulder = Torso["Right Shoulder"]
  169. LeftShoulder = Torso["Left Shoulder"]
  170. RightHip = Torso["Right Hip"]
  171. LeftHip = Torso["Left Hip"]
  172. local TIME = 0
  173. local sick = Instance.new("Sound",Torso)
  174.  
  175. IT = Instance.new
  176. CF = CFrame.new
  177. VT = Vector3.new
  178. RAD = math.rad
  179. C3 = Color3.new
  180. UD2 = UDim2.new
  181. BRICKC = BrickColor.new
  182. ANGLES = CFrame.Angles
  183. EULER = CFrame.fromEulerAnglesXYZ
  184. COS = math.cos
  185. ACOS = math.acos
  186. SIN = math.sin
  187. ASIN = math.asin
  188. ABS = math.abs
  189. MRANDOM = math.random
  190. FLOOR = math.floor
  191.  
  192. --//=================================\\
  193. --||          USEFUL VALUES
  194. --\\=================================//
  195.  
  196. Animation_Speed = 3
  197. local FORCERESET = false
  198. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  199. local Speed = 16
  200. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  201. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  202. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  203. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  204. local DAMAGEMULTIPLIER = 1
  205. local ANIM = "Idle"
  206. local ATTACK = false
  207. local EQUIPPED = false
  208. local HOLD = false
  209. local COMBO = 1
  210. local Rooted = false
  211. local SINE = 0
  212. local KEYHOLD = false
  213. local CHANGE = 2 / Animation_Speed
  214. local WALKINGANIM = false
  215. local VALUE1 = false
  216. local VALUE2 = false
  217. local ROBLOXIDLEANIMATION = IT("Animation")
  218. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  219. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  220. --ROBLOXIDLEANIMATION.Parent = Humanoid
  221. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  222. WEAPONGUI.Name = "BanishV3Gui"
  223. local Weapon = IT("Model")
  224. Weapon.Name = "Adds"
  225. local Effects = IT("Folder", Weapon)
  226. Effects.Name = "Effects"
  227. local ANIMATOR = Humanoid.Animator
  228. local ANIMATE = Character:FindFirstChild("Animate")
  229. local UNANCHOR = true
  230. local TOBANISH = {}
  231. script.Parent = PlayerGui
  232.  
  233. --//=================================\\
  234. --\\=================================//
  235.  
  236.  
  237. --//=================================\\
  238. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  239. --\\=================================//
  240.  
  241. ArtificialHB = Instance.new("BindableEvent", script)
  242. ArtificialHB.Name = "ArtificialHB"
  243.  
  244. script:WaitForChild("ArtificialHB")
  245.  
  246. frame = Frame_Speed
  247. tf = 0
  248. allowframeloss = false
  249. tossremainder = false
  250. lastframe = tick()
  251. script.ArtificialHB:Fire()
  252.  
  253. game:GetService("RunService").Heartbeat:connect(function(s, p)
  254.     tf = tf + s
  255.     if tf >= frame then
  256.         if allowframeloss then
  257.             script.ArtificialHB:Fire()
  258.             lastframe = tick()
  259.         else
  260.             for i = 1, math.floor(tf / frame) do
  261.                 script.ArtificialHB:Fire()
  262.             end
  263.         lastframe = tick()
  264.         end
  265.         if tossremainder then
  266.             tf = 0
  267.         else
  268.             tf = tf - frame * math.floor(tf / frame)
  269.         end
  270.     end
  271. end)
  272.  
  273. --//=================================\\
  274. --\\=================================//
  275.  
  276. --//=================================\\
  277. --||          SOME FUNCTIONS
  278. --\\=================================//
  279.  
  280. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  281.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  282. end
  283.  
  284. function PositiveAngle(NUMBER)
  285.     if NUMBER >= 0 then
  286.         NUMBER = 0
  287.     end
  288.     return NUMBER
  289. end
  290.  
  291. function NegativeAngle(NUMBER)
  292.     if NUMBER <= 0 then
  293.         NUMBER = 0
  294.     end
  295.     return NUMBER
  296. end
  297.  
  298. function Swait(NUMBER)
  299.     if NUMBER == 0 or NUMBER == nil then
  300.         ArtificialHB.Event:wait()
  301.     else
  302.         for i = 1, NUMBER do
  303.             ArtificialHB.Event:wait()
  304.         end
  305.     end
  306. end
  307.  
  308. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  309.     local NEWMESH = IT(MESH)
  310.     if MESH == "SpecialMesh" then
  311.         NEWMESH.MeshType = MESHTYPE
  312.         if MESHID ~= "nil" and MESHID ~= "" then
  313.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  314.         end
  315.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  316.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  317.         end
  318.     end
  319.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  320.     NEWMESH.Scale = SCALE
  321.     NEWMESH.Parent = PARENT
  322.     return NEWMESH
  323. end
  324.  
  325. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  326.     local NEWPART = IT("Part")
  327.     NEWPART.formFactor = FORMFACTOR
  328.     NEWPART.Reflectance = REFLECTANCE
  329.     NEWPART.Transparency = TRANSPARENCY
  330.     NEWPART.CanCollide = false
  331.     NEWPART.Locked = true
  332.     NEWPART.Anchored = true
  333.     if ANCHOR == false then
  334.         NEWPART.Anchored = false
  335.     end
  336.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  337.     NEWPART.Name = NAME
  338.     NEWPART.Size = SIZE
  339.     NEWPART.Position = Torso.Position
  340.     NEWPART.Material = MATERIAL
  341.     NEWPART:BreakJoints()
  342.     NEWPART.Parent = PARENT
  343.     return NEWPART
  344. end
  345.  
  346.     local function weldBetween(a, b)
  347.         local weldd = Instance.new("ManualWeld")
  348.         weldd.Part0 = a
  349.         weldd.Part1 = b
  350.         weldd.C0 = CFrame.new()
  351.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  352.         weldd.Parent = a
  353.         return weldd
  354.     end
  355.  
  356.  
  357. function QuaternionFromCFrame(cf)
  358.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  359.     local trace = m00 + m11 + m22
  360.     if trace > 0 then
  361.         local s = math.sqrt(1 + trace)
  362.         local recip = 0.5 / s
  363.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  364.     else
  365.         local i = 0
  366.         if m11 > m00 then
  367.             i = 1
  368.         end
  369.         if m22 > (i == 0 and m00 or m11) then
  370.             i = 2
  371.         end
  372.         if i == 0 then
  373.             local s = math.sqrt(m00 - m11 - m22 + 1)
  374.             local recip = 0.5 / s
  375.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  376.         elseif i == 1 then
  377.             local s = math.sqrt(m11 - m22 - m00 + 1)
  378.             local recip = 0.5 / s
  379.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  380.         elseif i == 2 then
  381.             local s = math.sqrt(m22 - m00 - m11 + 1)
  382.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  383.         end
  384.     end
  385. end
  386.  
  387. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  388.     local xs, ys, zs = x + x, y + y, z + z
  389.     local wx, wy, wz = w * xs, w * ys, w * zs
  390.     local xx = x * xs
  391.     local xy = x * ys
  392.     local xz = x * zs
  393.     local yy = y * ys
  394.     local yz = y * zs
  395.     local zz = z * zs
  396.     return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  397. end
  398.  
  399. function QuaternionSlerp(a, b, t)
  400.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  401.     local startInterp, finishInterp;
  402.     if cosTheta >= 0.0001 then
  403.         if (1 - cosTheta) > 0.0001 then
  404.             local theta = ACOS(cosTheta)
  405.             local invSinTheta = 1 / SIN(theta)
  406.             startInterp = SIN((1 - t) * theta) * invSinTheta
  407.             finishInterp = SIN(t * theta) * invSinTheta
  408.         else
  409.             startInterp = 1 - t
  410.             finishInterp = t
  411.         end
  412.     else
  413.         if (1 + cosTheta) > 0.0001 then
  414.             local theta = ACOS(-cosTheta)
  415.             local invSinTheta = 1 / SIN(theta)
  416.             startInterp = SIN((t - 1) * theta) * invSinTheta
  417.             finishInterp = SIN(t * theta) * invSinTheta
  418.         else
  419.             startInterp = t - 1
  420.             finishInterp = t
  421.         end
  422.     end
  423.     return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  424. end
  425.  
  426. function Clerp(a, b, t)
  427.     local qa = {QuaternionFromCFrame(a)}
  428.     local qb = {QuaternionFromCFrame(b)}
  429.     local ax, ay, az = a.x, a.y, a.z
  430.     local bx, by, bz = b.x, b.y, b.z
  431.     local _t = 1 - t
  432.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  433. end
  434.  
  435. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  436.     local frame = IT("Frame")
  437.     frame.BackgroundTransparency = TRANSPARENCY
  438.     frame.BorderSizePixel = BORDERSIZEPIXEL
  439.     frame.Position = POSITION
  440.     frame.Size = SIZE
  441.     frame.BackgroundColor3 = COLOR
  442.     frame.BorderColor3 = BORDERCOLOR
  443.     frame.Name = NAME
  444.     frame.Parent = PARENT
  445.     return frame
  446. end
  447.  
  448. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  449.     local label = IT("TextLabel")
  450.     label.BackgroundTransparency = 1
  451.     label.Size = UD2(1, 0, 1, 0)
  452.     label.Position = UD2(0, 0, 0, 0)
  453.     label.TextColor3 = TEXTCOLOR
  454.     label.TextStrokeTransparency = STROKETRANSPARENCY
  455.     label.TextTransparency = TRANSPARENCY
  456.     label.FontSize = TEXTFONTSIZE
  457.     label.Font = TEXTFONT
  458.     label.BorderSizePixel = BORDERSIZEPIXEL
  459.     label.TextScaled = false
  460.     label.Text = TEXT
  461.     label.Name = NAME
  462.     label.Parent = PARENT
  463.     return label
  464. end
  465.  
  466. function NoOutlines(PART)
  467.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  468. end
  469.  
  470. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  471.     local NEWWELD = IT(TYPE)
  472.     NEWWELD.Part0 = PART0
  473.     NEWWELD.Part1 = PART1
  474.     NEWWELD.C0 = C0
  475.     NEWWELD.C1 = C1
  476.     NEWWELD.Parent = PARENT
  477.     return NEWWELD
  478. end
  479.  
  480. local S = IT("Sound")
  481. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  482.     local NEWSOUND = nil
  483.     coroutine.resume(coroutine.create(function()
  484.         NEWSOUND = S:Clone()
  485.         NEWSOUND.Parent = PARENT
  486.         NEWSOUND.Volume = VOLUME
  487.         NEWSOUND.Pitch = PITCH
  488.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  489.         NEWSOUND:play()
  490.         if DOESLOOP == true then
  491.             NEWSOUND.Looped = true
  492.         else
  493.             repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  494.             NEWSOUND:remove()
  495.         end
  496.     end))
  497.     return NEWSOUND
  498. end
  499.  
  500. function CFrameFromTopBack(at, top, back)
  501.     local right = top:Cross(back)
  502.     return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  503. end
  504.  
  505. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  506. function WACKYEFFECT(Table)
  507.     local TYPE = (Table.EffectType or "Sphere")
  508.     local SIZE = (Table.Size or VT(1,1,1))
  509.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  510.     local TRANSPARENCY = (Table.Transparency or 0)
  511.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  512.     local CFRAME = (Table.CFrame or Torso.CFrame)
  513.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  514.     local ROTATION1 = (Table.RotationX or 0)
  515.     local ROTATION2 = (Table.RotationY or 0)
  516.     local ROTATION3 = (Table.RotationZ or 0)
  517.     local MATERIAL = (Table.Material or "Neon")
  518.     local COLOR = (Table.Color or C3(1,1,1))
  519.     local TIME = (Table.Time or 45)
  520.     local SOUNDID = (Table.SoundID or nil)
  521.     local SOUNDPITCH = (Table.SoundPitch or nil)
  522.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  523.     coroutine.resume(coroutine.create(function()
  524.         local PLAYSSOUND = false
  525.         local SOUND = nil
  526.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  527.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  528.             PLAYSSOUND = true
  529.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  530.         end
  531.         EFFECT.Color = COLOR
  532.         local MSH = nil
  533.         if TYPE == "Sphere" then
  534.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  535.         elseif TYPE == "Block" then
  536.             MSH = IT("BlockMesh",EFFECT)
  537.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  538.         elseif TYPE == "Wave" then
  539.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  540.         elseif TYPE == "Ring" then
  541.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  542.         elseif TYPE == "Slash" then
  543.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  544.         elseif TYPE == "Round Slash" then
  545.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  546.         elseif TYPE == "Swirl" then
  547.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  548.         elseif TYPE == "Skull" then
  549.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  550.         elseif TYPE == "Crystal" then
  551.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  552.         end
  553.         if MSH ~= nil then
  554.             local MOVESPEED = nil
  555.             if MOVEDIRECTION ~= nil then
  556.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  557.             end
  558.             local GROWTH = SIZE - ENDSIZE
  559.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  560.             if TYPE == "Block" then
  561.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  562.             else
  563.                 EFFECT.CFrame = CFRAME
  564.             end
  565.             for LOOP = 1, TIME+1 do
  566.                 Swait()
  567.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  568.                 if TYPE == "Wave" then
  569.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  570.                 end
  571.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  572.                 if TYPE == "Block" then
  573.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  574.                 else
  575.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  576.                 end
  577.                 if MOVEDIRECTION ~= nil then
  578.                     local ORI = EFFECT.Orientation
  579.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  580.                     EFFECT.Orientation = ORI
  581.                 end
  582.             end
  583.             if PLAYSSOUND == false then
  584.                 EFFECT:remove()
  585.             else
  586.                 SOUND.Stopped:Connect(function()
  587.                     EFFECT:remove()
  588.                 end)
  589.             end
  590.         else
  591.             if PLAYSSOUND == false then
  592.                 EFFECT:remove()
  593.             else
  594.                 repeat Swait() until SOUND.Playing == false
  595.                 EFFECT:remove()
  596.             end
  597.         end
  598.     end))
  599. end
  600.  
  601. function MakeForm(PART,TYPE)
  602.     if TYPE == "Cyl" then
  603.         local MSH = IT("CylinderMesh",PART)
  604.     elseif TYPE == "Ball" then
  605.         local MSH = IT("SpecialMesh",PART)
  606.         MSH.MeshType = "Sphere"
  607.     elseif TYPE == "Wedge" then
  608.         local MSH = IT("SpecialMesh",PART)
  609.         MSH.MeshType = "Wedge"
  610.     end
  611. end
  612.  
  613. function SpawnTrail(FROM,TO,BIG)
  614.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(0,0,0))
  615.     MakeForm(TRAIL,"Cyl")
  616.     local DIST = (FROM - TO).Magnitude
  617.     if BIG == true then
  618.         TRAIL.Size = VT(0.5,DIST,0.5)
  619.     else
  620.         TRAIL.Size = VT(0.25,DIST,0.25)
  621.     end
  622.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  623.     coroutine.resume(coroutine.create(function()
  624.         for i = 1, 5 do
  625.             Swait()
  626.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  627.         end
  628.         TRAIL:remove()
  629.     end))
  630. end
  631.  
  632. Debris = game:GetService("Debris")
  633.  
  634. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  635.     local DIRECTION = CF(StartPos,EndPos).lookVector
  636.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  637. end
  638.  
  639. function turnto(position)
  640.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  641. end
  642. local asd = Instance.new("ParticleEmitter")
  643. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  644. asd.LightEmission = .1
  645. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  646. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  647. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  648. asd.Transparency = bbb
  649. asd.Size = aaa
  650. asd.ZOffset = .9
  651. asd.Acceleration = Vector3.new(0, -15, 0)
  652. asd.LockedToPart = false
  653. asd.EmissionDirection = "Back"
  654. asd.Lifetime = NumberRange.new(1, 2)
  655. asd.Rotation = NumberRange.new(-100, 100)
  656. asd.RotSpeed = NumberRange.new(-100, 100)
  657. asd.Speed = NumberRange.new(10)
  658. asd.Enabled = false
  659. asd.VelocitySpread = 999
  660.  
  661. function getbloody(victim,amount)
  662.     local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  663.     PART.CFrame = victim.CFrame
  664.     local HITPLAYERSOUNDS = {"356551938","264486467"}
  665.     Debris:AddItem(PART,5)
  666.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  667.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  668.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  669.     local prtcl = asd:Clone()
  670.     prtcl.Parent = PART
  671.     prtcl:Emit(amount*10)
  672. end
  673.  
  674. local Particle = IT("ParticleEmitter",nil)
  675. Particle.Enabled = false
  676. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  677. Particle.LightEmission = 0.5
  678. Particle.Rate = 150
  679. Particle.ZOffset = 1
  680. Particle.Rotation = NumberRange.new(-180, 180)
  681. Particle.RotSpeed = NumberRange.new(-180, 180)
  682. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  683. Particle.Color = ColorSequence.new(C3(255, 255, 255),C3(0.4,0,0))
  684.  
  685. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  686. function ParticleEmitter(Table)
  687.     local PRTCL = Particle:Clone()
  688.     local Speed = Table.Speed or 5
  689.     local Drag = Table.Drag or 0
  690.     local Size1 = Table.Size1 or 1
  691.     local Size2 = Table.Size2 or 5
  692.     local Lifetime1 = Table.Lifetime1 or 1
  693.     local Lifetime2 = Table.Lifetime2 or 1.5
  694.     local Parent = Table.Parent or Torso
  695.     local Emit = Table.Emit or 100
  696.     local Offset = Table.Offset or 360
  697.     local Acel = Table.Acel or VT(0,0,0)
  698.     local Enabled = Table.Enabled or false
  699.     PRTCL.Parent = Parent
  700.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  701.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  702.     PRTCL.Speed = NumberRange.new(Speed)
  703.     PRTCL.VelocitySpread = Offset
  704.     PRTCL.Drag = Drag
  705.     PRTCL.Acceleration = Acel
  706.     if Enabled == false then
  707.         PRTCL:Emit(Emit)
  708.         Debris:AddItem(PRTCL,Lifetime2)
  709.     else
  710.         PRTCL.Enabled = true
  711.     end
  712.     return PRTCL
  713. end
  714.  
  715. --//=================================\\
  716. --||         WEAPON CREATION
  717. --\\=================================//
  718.  
  719. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Hood", VT(1,1,1),false)
  720. PRT.Color = C3(0,0,0)
  721. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  722. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  723. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Scarf", VT(1,1,1),false)
  724. PRT.Color = C3(0,0,0)
  725. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  726. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  727. for i = 1, 16 do
  728.     local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  729.     FACE.Color = C3(0,0,0)
  730.     Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  731.     CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  732. end
  733. local LASTPART = Head
  734. for i = 1, 20 do
  735.     local MATH = (1-(i/25))
  736.     if LASTPART == Head then
  737.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  738.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  739.         LASTPART = Horn
  740.         Horn.Color = C3((i*3-3)/255,0,0)
  741.     else
  742.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  743.         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))
  744.         LASTPART = Horn
  745.         Horn.Color = C3((i*3-3)/255,0,0)
  746.     end
  747. end
  748. local LASTPART = Head
  749. for i = 1, 20 do
  750.     local MATH = (1-(i/25))
  751.     if LASTPART == Head then
  752.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  753.         CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  754.         LASTPART = Horn
  755.         Horn.Color = C3((i*3-3)/255,0,0)
  756.     else
  757.         local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  758.         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))
  759.         LASTPART = Horn
  760.         Horn.Color = C3((i*3-3)/255,0,0)
  761.     end
  762. end
  763. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really blue", "Hair", VT(1,1,1),false)
  764. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  765. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  766. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Really red", "Hair", VT(1,1,1),false)
  767. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  768. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  769.  
  770. local BODY = {}
  771.  
  772. for _, c in pairs(Character:GetDescendants()) do
  773.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  774.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  775.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  776.         end
  777.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  778.     elseif c:IsA("JointInstance") then
  779.         table.insert(BODY,{c,c.Parent,nil,nil,nil})
  780.     end
  781. end
  782.  
  783. for e = 1, #BODY do
  784.     if BODY[e] ~= nil then
  785.         local STUFF = BODY[e]
  786.         local PART = STUFF[1]
  787.         local PARENT = STUFF[2]
  788.         local MATERIAL = STUFF[3]
  789.         local COLOR = STUFF[4]
  790.         local TRANSPARENCY = STUFF[5]
  791.         if PART.ClassName == "Part" and PART ~= RootPart then
  792.             PART.Material = MATERIAL
  793.             PART.Color = COLOR
  794.             PART.Transparency = TRANSPARENCY
  795.         end
  796.         PART.AncestryChanged:Connect(function()
  797.             PART.Parent = PARENT
  798.         end)
  799.     end
  800. end
  801.  
  802. function refit()
  803.     Character.Parent = workspace
  804.     for e = 1, #BODY do
  805.         if BODY[e] ~= nil then
  806.             local STUFF = BODY[e]
  807.             local PART = STUFF[1]
  808.             local PARENT = STUFF[2]
  809.             local MATERIAL = STUFF[3]
  810.             local COLOR = STUFF[4]
  811.             local TRANSPARENCY = STUFF[5]
  812.             if PART.ClassName == "Part" and PART ~= RootPart then
  813.                 PART.Material = MATERIAL
  814.                 PART.Color = COLOR
  815.                 PART.Transparency = TRANSPARENCY
  816.             end
  817.             if PART.Parent ~= PARENT then
  818.                 Humanoid:remove()
  819.                 PART.Parent = PARENT
  820.                 Humanoid = IT("Humanoid",Character)
  821.             end
  822.         end
  823.     end
  824. end
  825.  
  826.  
  827. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  828.     if FLOOR ~= nil then
  829.         coroutine.resume(coroutine.create(function()
  830.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  831.             PART.CFrame = CF(POSITION)
  832.             for i = 1, 45 do
  833.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  834.                 RingPiece.Material = FLOOR.Material
  835.                 RingPiece.Color = FLOOR.Color
  836.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  837.                 Debris:AddItem(RingPiece, SWAIT)
  838.             end
  839.             PART:remove()
  840.         end))
  841.     end
  842. end
  843. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  844.     if FLOOR ~= nil then
  845.         for i = 1, AMOUNT do
  846.             do
  847.                 local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  848.                 DEBREE.Material = FLOOR.Material
  849.                 DEBREE.Color = FLOOR.Color
  850.                 DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  851.                 DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  852.                 coroutine.resume(coroutine.create(function()
  853.                     Swait(15)
  854.                     DEBREE.Parent = workspace
  855.                     DEBREE.CanCollide = true
  856.                     Debris:AddItem(DEBREE, SWAIT)
  857.                 end))
  858.             end
  859.         end
  860.     end
  861. end
  862.  
  863. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  864. MakeForm(LeftHole,"Cyl")
  865. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  866. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  867. MakeForm(Eye,"Ball")
  868. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  869. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  870. MakeForm(Eye,"Ball")
  871. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  872. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  873. MakeForm(Eye,"Ball")
  874. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  875. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  876. MakeForm(Eye,"Ball")
  877. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  878. local A = IT("Attachment",Torso)
  879. A.Position = VT(1,1.3,0)
  880. A.Orientation = VT(-0.098, -89.999, 0.227)
  881. local B = IT("Attachment",Torso)
  882. B.Position = VT(-1.3,-0.6,0)
  883. B.Orientation = VT(-88.911, -68.808, 158.782)
  884. local ChainLink = IT("Beam",Torso)
  885. ChainLink.Texture = "rbxassetid://73042633"
  886. ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
  887. ChainLink.TextureSpeed = 1
  888. ChainLink.FaceCamera = true
  889. ChainLink.Width0 = 1
  890. ChainLink.Width1 = 1
  891. ChainLink.TextureLength = 3
  892. ChainLink.Attachment0 = A
  893. ChainLink.Attachment1 = B
  894. ChainLink.CurveSize0 = 1.6
  895. ChainLink.CurveSize1 = 1.6
  896. ChainLink.FaceCamera = true
  897. ChainLink.Transparency = NumberSequence.new(0)
  898. local ChainLink = IT("Beam",Torso)
  899. ChainLink.Texture = "rbxassetid://73042633"
  900. ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
  901. ChainLink.TextureSpeed = 1
  902. ChainLink.FaceCamera = true
  903. ChainLink.Width0 = 1
  904. ChainLink.Width1 = 1
  905. ChainLink.TextureLength = 3
  906. ChainLink.Attachment0 = B
  907. ChainLink.Attachment1 = A
  908. ChainLink.CurveSize0 = 1.6
  909. ChainLink.CurveSize1 = 1.6
  910. ChainLink.FaceCamera = true
  911. ChainLink.Transparency = NumberSequence.new(0)
  912. local A = IT("Attachment",Torso)
  913. A.Position = VT(1.3,-0.85,0)
  914. A.Orientation = VT(-0.098, -89.999, 0.227)
  915. local B = IT("Attachment",Torso)
  916. B.Position = VT(-1,2,0)
  917. B.Orientation = VT(-88.911, -68.808, 158.782)
  918. local ChainLink = IT("Beam",Torso)
  919. ChainLink.Texture = "rbxassetid://73042633"
  920. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  921. ChainLink.TextureSpeed = 1
  922. ChainLink.FaceCamera = true
  923. ChainLink.Width0 = 1
  924. ChainLink.Width1 = 1
  925. ChainLink.TextureLength = 3
  926. ChainLink.Attachment0 = A
  927. ChainLink.Attachment1 = B
  928. ChainLink.CurveSize0 = 1.3
  929. ChainLink.CurveSize1 = 1.3
  930. ChainLink.FaceCamera = true
  931. ChainLink.Transparency = NumberSequence.new(0)
  932. local ChainLink = IT("Beam",Torso)
  933. ChainLink.Texture = "rbxassetid://73042633"
  934. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  935. ChainLink.TextureSpeed = 1
  936. ChainLink.FaceCamera = true
  937. ChainLink.Width0 = 1
  938. ChainLink.Width1 = 1
  939. ChainLink.TextureLength = 3
  940. ChainLink.Attachment0 = B
  941. ChainLink.Attachment1 = A
  942. ChainLink.CurveSize0 = 1.3
  943. ChainLink.CurveSize1 = 1.3
  944. ChainLink.FaceCamera = true
  945. ChainLink.Transparency = NumberSequence.new(0)
  946.  
  947. local A = IT("Attachment",RightBarrel)
  948. A.Position = VT(0,-2.5,0)
  949. local B = IT("Attachment",RightBarrel)
  950. B.Position = VT(0,2.5,0)
  951. local Trail = IT("Trail",RightBarrel)
  952. Trail.Attachment0 = A
  953. Trail.Attachment1 = B
  954. Trail.Lifetime = 0.2
  955. Trail.Color = ColorSequence.new(BRICKC"Really white".Color)
  956. Trail.Transparency = NumberSequence.new(0, 1)
  957. Trail.Enabled = false
  958.  
  959. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  960. PRT.LockedToPart = true
  961. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  962. PRT.LockedToPart = true
  963. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  964. PRT.LockedToPart = true
  965. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  966. PRT.LockedToPart = true
  967. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  968. PRT.LockedToPart = true
  969. for _, c in pairs(Character:GetDescendants()) do
  970.     if c and c.Parent then
  971.         if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
  972.             local ACCESSORY = c.Parent
  973.             c.Parent = Character
  974.             if c then
  975.                 if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
  976.                     weldBetween(Head,c)
  977.                 else
  978.                     weldBetween(Torso,c)
  979.                 end
  980.             end
  981.         end
  982.     end
  983. end
  984. local BODY = {}
  985. for _, c in pairs(Character:GetDescendants()) do
  986.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  987.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  988.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  989.         end
  990.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  991.     elseif c:IsA("JointInstance") then
  992.         table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  993.     end
  994. end
  995. function refit()
  996.     Character.Parent = workspace
  997.     for e = 1, #BODY do
  998.         if BODY[e] ~= nil then
  999.             local STUFF = BODY[e]
  1000.             local PART = STUFF[1]
  1001.             local PARENT = STUFF[2]
  1002.             local MATERIAL = STUFF[3]
  1003.             local COLOR = STUFF[4]
  1004.             local TRANSPARENCY = STUFF[5]
  1005.             --local SIZE = STUFF[6]
  1006.             local NAME = STUFF[7]
  1007.             if PART.ClassName == "Part" and PART ~= RootPart then
  1008.                 PART.Material = MATERIAL
  1009.                 PART.Transparency = TRANSPARENCY
  1010.                 PART.Name = NAME
  1011.             end
  1012.             if PART.Parent ~= PARENT then
  1013.                 Humanoid:remove()
  1014.                 PART.Parent = PARENT
  1015.                 Humanoid = IT("Humanoid",Character)
  1016.             end
  1017.         end
  1018.     end
  1019. end
  1020.  
  1021.  
  1022. local Particle = IT("ParticleEmitter",nil)
  1023. Particle.Enabled = false
  1024. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1025. Particle.LightEmission = 0.5
  1026. Particle.Rate = 150
  1027. Particle.ZOffset = 0.2
  1028. Particle.Rotation = NumberRange.new(-180, 180)
  1029. Particle.RotSpeed = NumberRange.new(-180, 180)
  1030. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1031. Particle.Color = ColorSequence.new(C3(255,255,255),C3(0.4,0,0))
  1032.  
  1033. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1034. function ParticleEmitter(Table)
  1035.     local PRTCL = Particle:Clone()
  1036.     local Speed = Table.Speed or 5
  1037.     local Drag = Table.Drag or 0
  1038.     local Size1 = Table.Size1 or 1
  1039.     local Size2 = Table.Size2 or 5
  1040.     local Lifetime1 = Table.Lifetime1 or 1
  1041.     local Lifetime2 = Table.Lifetime2 or 1.5
  1042.     local Parent = Table.Parent or Torso
  1043.     local Emit = Table.Emit or 100
  1044.     local Offset = Table.Offset or 360
  1045.     local Acel = Table.Acel or VT(0,0,0)
  1046.     local Enabled = Table.Enabled or false
  1047.     PRTCL.Parent = Parent
  1048.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  1049.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1050.     PRTCL.Speed = NumberRange.new(Speed)
  1051.     PRTCL.VelocitySpread = Offset
  1052.     PRTCL.Drag = Drag
  1053.     PRTCL.Acceleration = Acel
  1054.     if Enabled == false then
  1055.         PRTCL:Emit(Emit)
  1056.         Debris:AddItem(PRTCL,Lifetime2)
  1057.     else
  1058.         PRTCL.Enabled = true
  1059.     end
  1060.     return PRTCL
  1061. end
  1062.  
  1063. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1064. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1065. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1066. MakeForm(Part,"Wedge")
  1067. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1068. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1069. MakeForm(Part,"Wedge")
  1070. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1071. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1072. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1073. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1074. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1075. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1076. MakeForm(Part,"Cyl")
  1077. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1078. for i = 1, 8 do
  1079.     local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1080.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1081. end
  1082. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1083. MakeForm(Part,"Cyl")
  1084. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1085. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1086. MakeForm(Part,"Ball")
  1087. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1088. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1089. MakeForm(Part,"Wedge")
  1090. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1091. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1092. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1093. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1094. MakeForm(Part,"Cyl")
  1095. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1096. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1097. MakeForm(Part,"Cyl")
  1098. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1099. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1100. MakeForm(Part,"Cyl")
  1101. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1102. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1103. MakeForm(Part,"Wedge")
  1104. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1105. local LASTPART = Handle
  1106. for i = 1, 10 do
  1107.     if LASTPART == Handle then
  1108.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1109.         LASTPART = Part
  1110.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1111.     else
  1112.         local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1113.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1114.         LASTPART = Part
  1115.     end
  1116. end
  1117.  
  1118. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1119. MakeForm(Barrel,"Cyl")
  1120. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1121. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1122. MakeForm(Part,"Cyl")
  1123. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1124. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1125. MakeForm(Part,"Wedge")
  1126. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1127. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1128. MakeForm(Hole,"Cyl")
  1129. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1130. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1131. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1132. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1133. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1134. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1135. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1136. coroutine.resume(coroutine.create(function()
  1137.     while wait() do
  1138.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1139.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1140.     end
  1141. end))
  1142.  
  1143. 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)})
  1144. --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)})
  1145.  
  1146. for _, c in pairs(Weapon:GetDescendants()) do
  1147.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1148.         c.Material = "Glass"
  1149.         c.Color = C3(255,255,255)
  1150.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  1151.         c.Color = C3(255,255,255)
  1152.         c.Material = "Neon"
  1153.     end
  1154. end
  1155.  
  1156. Weapon.Parent = Character
  1157. for _, c in pairs(Weapon:GetChildren()) do
  1158.     if c.ClassName == "Part" then
  1159.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1160.     end
  1161. end
  1162.  
  1163. local SKILLTEXTCOLOR = C3(255,255,255)
  1164. local SKILLFONT = "Antique"
  1165. local SKILLTEXTSIZE = 7
  1166.  
  1167. Humanoid.Died:connect(function()
  1168.     ATTACK = true
  1169. end)
  1170.  
  1171. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1172. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1173.  
  1174. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  1175. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Smash", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2")
  1176.  
  1177. function printbye(Name)
  1178.     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, "}
  1179.     warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1180. end
  1181.  
  1182. workspace.ChildAdded:connect(function(instance)
  1183.     for BANISH = 1, #TOBANISH do
  1184.         if TOBANISH[BANISH] ~= nil then
  1185.             if instance.Name == TOBANISH[BANISH] then
  1186.                 coroutine.resume(coroutine.create(function()
  1187.                     printbye(instance.Name)
  1188.                     instance:ClearAllChildren()
  1189.                     Debris:AddItem(instance,0.0005)
  1190.                 end))
  1191.             end
  1192.         end
  1193.     end
  1194. end)
  1195.  
  1196. --//=================================\\
  1197. --||            DAMAGING
  1198. --\\=================================//
  1199.  
  1200. function Banish(Foe)
  1201.     if Foe then
  1202.         coroutine.resume(coroutine.create(function()
  1203.             --if game.Players:FindFirstChild(Foe.Name) then
  1204.                 table.insert(TOBANISH,Foe.Name)
  1205.                 printbye(Foe.Name)
  1206.             --end
  1207.             Foe.Archivable = true
  1208.             local CLONE = Foe:Clone()
  1209.             Foe:Destroy()
  1210.             CLONE.Parent = Effects
  1211.             CLONE:BreakJoints()
  1212.             local MATERIALS = {"Glass","Neon"}
  1213.             for _, c in pairs(CLONE:GetDescendants()) do
  1214.                 if c:IsA("BasePart") then
  1215.                     if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1216.                         CreateSound(340722848, c, 10, 1, false)
  1217.                     end
  1218.                     c.Anchored = true
  1219.                     c.Transparency = c.Transparency + 0.2
  1220.                     c.Material = MATERIALS[MRANDOM(1,2)]
  1221.                     c.Color = C3(255, 255, 255)
  1222.                     if c.ClassName == "MeshPart" then
  1223.                         c.TextureID = ""
  1224.                     end
  1225.                     if c:FindFirstChildOfClass("SpecialMesh") then
  1226.                         c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1227.                     end
  1228.                     if c:FindFirstChildOfClass("Decal") then
  1229.                         c:FindFirstChildOfClass("Decal"):remove()
  1230.                     end
  1231.                     c.Name = "Banished"
  1232.                     c.CanCollide = false
  1233.                 else
  1234.                     c:remove()
  1235.                 end
  1236.             end
  1237.             local A = false
  1238.             for i = 1, 35 do
  1239.                 if A == false then
  1240.                     A = true
  1241.                 elseif A == true then
  1242.                     A = false
  1243.                 end
  1244.                 for _, c in pairs(CLONE:GetDescendants()) do
  1245.                     if c:IsA("BasePart") then
  1246.                         c.Anchored = true
  1247.                         c.Material = MATERIALS[MRANDOM(1,2)]
  1248.                         c.Transparency = c.Transparency + 0.8/35
  1249.                         if A == false then
  1250.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1251.                         elseif A == true then
  1252.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                       
  1253.                         end
  1254.                     end
  1255.                 end
  1256.                 Swait()
  1257.             end
  1258.             CLONE:remove()
  1259.         end))
  1260.     end
  1261. end
  1262.  
  1263. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1264.     local CHILDREN = workspace:GetDescendants()
  1265.     for index, CHILD in pairs(CHILDREN) do
  1266.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1267.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1268.             if HUM then
  1269.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1270.                 if TORSO then
  1271.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1272.                         if ISBANISH == true then
  1273.                             Banish(CHILD)
  1274.                         else
  1275.                             if ISBANISH == "Gravity" then
  1276.                                 HUM.PlatformStand = true
  1277.                                 if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1278.                                     local grav = Instance.new("BodyPosition",TORSO)
  1279.                                     grav.D = 15
  1280.                                     grav.P = 20000
  1281.                                     grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1282.                                     grav.position = TORSO.Position
  1283.                                     grav.Name = "V3BanishForce"..Player.Name
  1284.                                 else
  1285.                                     TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1286.                                     TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1287.                                 end
  1288.                             else
  1289.                                 HUM.PlatformStand = false
  1290.                             end
  1291.                         end
  1292.                     elseif ISBANISH == "Gravity" then
  1293.                         if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1294.                             TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1295.                             HUM.PlatformStand = false
  1296.                         end
  1297.                     end
  1298.                 end
  1299.             end
  1300.         end
  1301.     end
  1302. end
  1303.  
  1304. --//=================================\\
  1305. --||    ATTACK FUNCTIONS AND STUFF
  1306. --\\=================================//
  1307.  
  1308. function Extreme_Offset()
  1309.     local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  1310.     if HITFLOOR then
  1311.         local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  1312.         CreateSound("1295446488", Torso, 5, 1)
  1313.         for i = 1, 5 do
  1314.             WACKYEFFECT({
  1315.                 Time = MRANDOM(15, 35),
  1316.                 EffectType = "Round Slash",
  1317.                 Size = VT(0, 0, 0),
  1318.                 Size2 = VT(0.3, 0, 0.3),
  1319.                 Transparency = 0.5,
  1320.                 Transparency2 = 1,
  1321.                 CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1322.                 MoveToPos = nil,
  1323.                 RotationX = MRANDOM(-50, 50) / 10,
  1324.                 RotationY = MRANDOM(-50, 50) / 10,
  1325.                 RotationZ = MRANDOM(-50, 50) / 10,
  1326.                 Material = "Neon",
  1327.                 Color = C3(1, 1, 1),
  1328.                 SoundID = nil,
  1329.                 SoundPitch = nil,
  1330.                 SoundVolume = nil
  1331.             })
  1332.         end
  1333.         ATTACK = true
  1334.         Rooted = true
  1335.         UNANCHOR = false
  1336.         RootPart.Anchored = true
  1337.         RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  1338.         for i = 1, 5 do
  1339.             WACKYEFFECT({
  1340.                 Time = MRANDOM(15, 35),
  1341.                 EffectType = "Round Slash",
  1342.                 Size = VT(0, 0, 0),
  1343.                 Size2 = VT(0.3, 0, 0.3),
  1344.                 Transparency = 0.5,
  1345.                 Transparency2 = 1,
  1346.                 CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1347.                 MoveToPos = nil,
  1348.                 RotationX = MRANDOM(-50, 50) / 10,
  1349.                 RotationY = MRANDOM(-50, 50) / 10,
  1350.                 RotationZ = MRANDOM(-50, 50) / 10,
  1351.                 Material = "Neon",
  1352.                 Color = C3(1, 1, 1),
  1353.                 SoundID = nil,
  1354.                 SoundPitch = nil,
  1355.                 SoundVolume = nil
  1356.             })
  1357.         end
  1358.         for i = 0, 0.2, 0.1 / Animation_Speed do
  1359.             Swait()
  1360.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  1361.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1362.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1363.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1364.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1365.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  1366.         end
  1367.         for i = 0, 1, 0.1 / Animation_Speed do
  1368.             Swait()
  1369.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  1370.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  1371.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  1372.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  1373.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1374.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1375.         end
  1376.         for i = 1, 10 do
  1377.             Swait()
  1378.             RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  1379.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  1380.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  1381.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  1382.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  1383.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1384.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1385.         end
  1386.         for i = 0, 0.2, 0.1 / Animation_Speed do
  1387.             Swait()
  1388.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1389.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1390.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1391.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1392.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1393.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1394.         end
  1395.         local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  1396.         if HITFLOOR then
  1397.             if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1398.                 local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1399.                 for index, CHILD in pairs(CHILDREN) do
  1400.                     if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1401.                         for i = 1, 5 do
  1402.                             CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1403.                             CHILD:remove()
  1404.                         end
  1405.                     end
  1406.                 end
  1407.                 local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1408.                 SOUNDPART.CFrame = CF(HITPOS)
  1409.                 Debris:AddItem(SOUNDPART, 5)
  1410.                 CreateSound("130972023", SOUNDPART, 6, 3)
  1411.                 CreateSound("182765513", SOUNDPART, 6, 1)
  1412.                 WACKYEFFECT({
  1413.                     EffectType = "Ring",
  1414.                     Size = VT(0, 0, 0),
  1415.                     Size2 = VT(1, 1, 0),
  1416.                     Transparency = 0.7,
  1417.                     Transparency2 = 1,
  1418.                     CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1419.                     MoveToPos = nil,
  1420.                     RotationX = 0,
  1421.                     RotationY = 0,
  1422.                     RotationZ = 0,
  1423.                     Material = "Neon",
  1424.                     Color = C3(1, 1, 1),
  1425.                     SoundID = nil,
  1426.                     SoundPitch = nil,
  1427.                     SoundVolume = nil
  1428.                 })
  1429.             elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1430.                 local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  1431.                 for index, CHILD in pairs(CHILDREN) do
  1432.                     if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1433.                         for i = 1, 5 do
  1434.                             CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1435.                             CHILD:remove()
  1436.                         end
  1437.                     end
  1438.                 end
  1439.                 local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1440.                 SOUNDPART.CFrame = CF(HITPOS)
  1441.                 Debris:AddItem(SOUNDPART, 5)
  1442.                 CreateSound("130972023", SOUNDPART, 6, 3)
  1443.                 CreateSound("182765513", SOUNDPART, 6, 1)
  1444.                 WACKYEFFECT({
  1445.                     EffectType = "Ring",
  1446.                     Size = VT(0, 0, 0),
  1447.                     Size2 = VT(1, 1, 0),
  1448.                     Transparency = 0.7,
  1449.                     Transparency2 = 1,
  1450.                     CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1451.                     MoveToPos = nil,
  1452.                     RotationX = 0,
  1453.                     RotationY = 0,
  1454.                     RotationZ = 0,
  1455.                     Material = "Neon",
  1456.                     Color = C3(1, 1, 1),
  1457.                     SoundID = nil,
  1458.                     SoundPitch = nil,
  1459.                     SoundVolume = nil
  1460.                 })
  1461.             elseif HITFLOOR.Anchored == false then
  1462.                 if HITFLOOR.Parent ~= workspace then
  1463.                     local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1464.                     for index, CHILD in pairs(CHILDREN) do
  1465.                         if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  1466.                             for i = 1, 5 do
  1467.                                 CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  1468.                             end
  1469.                             CHILD:remove()
  1470.                         end
  1471.                     end
  1472.                 else
  1473.                     for i = 1, 5 do
  1474.                         CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  1475.                     end
  1476.                     HITFLOOR:remove()
  1477.                 end
  1478.                 local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1479.                 SOUNDPART.CFrame = CF(HITPOS)
  1480.                 Debris:AddItem(SOUNDPART, 5)
  1481.                 CreateSound("130972023", SOUNDPART, 10, 3)
  1482.                 CreateSound("178452217", SOUNDPART, 6, 1)
  1483.                 WACKYEFFECT({
  1484.                     EffectType = "Ring",
  1485.                     Size = VT(0, 0, 0),
  1486.                     Size2 = VT(1, 1, 0),
  1487.                     Transparency = 0.7,
  1488.                     Transparency2 = 1,
  1489.                     CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1490.                     MoveToPos = nil,
  1491.                     RotationX = 0,
  1492.                     RotationY = 0,
  1493.                     RotationZ = 0,
  1494.                     Material = "Neon",
  1495.                     Color = C3(1, 1, 1),
  1496.                     SoundID = nil,
  1497.                     SoundPitch = nil,
  1498.                     SoundVolume = nil
  1499.                 })
  1500.             else
  1501.                 local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1502.                 SOUNDPART.CFrame = CF(HITPOS)
  1503.                 Debris:AddItem(SOUNDPART, 5)
  1504.                 CreateSound("130972023", SOUNDPART, 10, 1)
  1505.                 CreateSound("130972023", SOUNDPART, 6, 0.7)
  1506.                 CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  1507.                 CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  1508.                 ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  1509.                 ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  1510.                 for i = 1, 5 do
  1511.                     CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  1512.                 end
  1513.                 for i = 1, 5 do
  1514.                     CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  1515.                 end
  1516.             end
  1517.         end
  1518.         for i = 0, 1.2, 0.1 / Animation_Speed do
  1519.             Swait()
  1520.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1521.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1522.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1523.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1524.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1525.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1526.         end
  1527.         ATTACK = false
  1528.         Rooted = false
  1529.         UNANCHOR = true
  1530.         RootPart.Anchored = false
  1531.     end
  1532. end
  1533.  
  1534. function Banisher_Bullet()
  1535.     ATTACK = true
  1536.     Rooted = false
  1537.     for i=0, 0.4, 0.1 / Animation_Speed do
  1538.         Swait()
  1539.         turnto(Mouse.Hit.p)
  1540.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1541.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1542.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1543.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1544.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1545.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1546.     end
  1547.     repeat
  1548.         for i=0, 0.2, 0.1 / Animation_Speed do
  1549.             Swait()
  1550.             turnto(Mouse.Hit.p)
  1551.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1552.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1553.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1554. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1555.                          RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1556.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1557.         end
  1558.         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1559.         SpawnTrail(Hole.Position,POS)
  1560.         if HIT ~= nil then
  1561.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1562.                 Banish(HIT.Parent)
  1563.             end
  1564.         end
  1565.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1566.         WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 255), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1567.         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(255, 255, 255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1568.         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(255, 255, 255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1569.         for i=0, 0.3, 0.1 / Animation_Speed do
  1570.             Swait()
  1571.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1572.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1573.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1574. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1575.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1576.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1577.         end
  1578.     until KEYHOLD == false
  1579.     ATTACK = false
  1580.     Rooted = false
  1581. end
  1582.  
  1583. function AttackTemplate()
  1584.     ATTACK = true
  1585.     Rooted = false
  1586.     for i=0, 1, 0.1 / Animation_Speed do
  1587.         Swait()
  1588.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1589.         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)
  1590.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1591.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1592.         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)
  1593.         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)
  1594.     end
  1595.     ATTACK = false
  1596.     Rooted = false
  1597. end
  1598.  
  1599. --//=================================\\
  1600. --||      ASSIGN THINGS TO KEYS
  1601. --\\=================================//
  1602.  
  1603. function MouseDown(Mouse)
  1604.     if ATTACK == false then
  1605.     end
  1606. end
  1607.  
  1608. function MouseUp(Mouse)
  1609. HOLD = false
  1610. end
  1611.  
  1612. function KeyDown(Key)
  1613.     KEYHOLD = true
  1614.     if Key == "z" and ATTACK == false then
  1615.         Banisher_Bullet()
  1616.     end
  1617.  
  1618.     if Key == "b" and ATTACK == false then
  1619.                 Extreme_Offset()
  1620.     end
  1621.  
  1622.     if Key == "c" and ATTACK == false then
  1623.     end
  1624.  
  1625.     if Key == "v" and ATTACK == false then
  1626.     end
  1627.  
  1628.     if Key == "x" and ATTACK == false then
  1629.     end
  1630. end
  1631.  
  1632. function KeyUp(Key)
  1633.     KEYHOLD = false
  1634. end
  1635.  
  1636.     Mouse.Button1Down:connect(function(NEWKEY)
  1637.         MouseDown(NEWKEY)
  1638.     end)
  1639.     Mouse.Button1Up:connect(function(NEWKEY)
  1640.         MouseUp(NEWKEY)
  1641.     end)
  1642.     Mouse.KeyDown:connect(function(NEWKEY)
  1643.         KeyDown(NEWKEY)
  1644.     end)
  1645.     Mouse.KeyUp:connect(function(NEWKEY)
  1646.         KeyUp(NEWKEY)
  1647.     end)
  1648.  
  1649. --//=================================\\
  1650. --\\=================================//
  1651.  
  1652.  
  1653. function unanchor()
  1654.     if UNANCHOR == true then
  1655.         g = Character:GetChildren()
  1656.         for i = 1, #g do
  1657.             if g[i].ClassName == "Part" then
  1658.                 g[i].Anchored = false
  1659.             end
  1660.         end
  1661.     end
  1662. end
  1663.  
  1664.  
  1665. --//=================================\\
  1666. --||    WRAP THE WHOLE SCRIPT UP
  1667. --\\=================================//
  1668.  
  1669. Humanoid.Changed:connect(function(Jump)
  1670.     if Jump == "Jump" and (Disable_Jump == true) then
  1671.         Humanoid.Jump = false
  1672.     end
  1673. end)
  1674.  
  1675. local CONNECT = nil
  1676.  
  1677. while true do
  1678.     Swait()
  1679.     ANIMATE.Parent = nil
  1680.     if Character:FindFirstChildOfClass("Humanoid") == nil then
  1681.         Humanoid = IT("Humanoid",Character)
  1682.     end
  1683.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1684.         v:Stop();
  1685.     end
  1686.     SINE = SINE + CHANGE
  1687.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1688.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1689.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1690.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1691.         HairWeld1.C1 = Clerp(HairWeld1.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 1.5 * SIN(SINE / 12) - 2.5 * COS(SINE / 12)), RAD(4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1692.     HairWeld2.C1 = Clerp(HairWeld2.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 - 1.5 * SIN(SINE / 12) + 2.5 * COS(SINE / 12)), RAD(-4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1693.     HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed)
  1694.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1695.         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)
  1696.         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)
  1697.         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)
  1698.         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)
  1699.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1700.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1701.         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)
  1702.         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)
  1703.         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)
  1704.     end
  1705.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1706.         ANIM = "Jump"
  1707.         if ATTACK == false then
  1708.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1709.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1710.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1711.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1712.             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)
  1713.             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)
  1714.         end
  1715.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1716.         ANIM = "Fall"
  1717.         if ATTACK == false then
  1718.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1719.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1720.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1721.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(10), RAD(10)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1722.             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)
  1723.             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)
  1724.         end
  1725.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1726.         ANIM = "Idle"
  1727.         if ATTACK == false then
  1728.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  1729.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1730.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(180), RAD(65), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1731.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(35), RAD(20), RAD(10)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1732.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1733.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1734.         end
  1735.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1736.         ANIM = "Walk"
  1737.         if ATTACK == false then
  1738.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1739.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1740.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(180), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1741.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1742.             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)
  1743.             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)
  1744.         end
  1745.     end
  1746.     unanchor()
  1747.     Humanoid.MaxHealth = "inf"
  1748.     Humanoid.Health = "inf"
  1749.     if Rooted == false then
  1750.         Disable_Jump = false
  1751.         Humanoid.WalkSpeed = Speed
  1752.     elseif Rooted == true then
  1753.         Disable_Jump = true
  1754.         Humanoid.WalkSpeed = 0
  1755.     end
  1756.     sick.Parent = Torso
  1757.     sick:resume()
  1758.     sick.Volume = 5
  1759.     sick.Pitch = 1
  1760.     sick.SoundId = "rbxassetid://924339757"
  1761.     sick.Name = "BanishV3Music"
  1762. end
  1763.  
  1764. --//=================================\\
  1765. --\\=================================//
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771. --//====================================================\\--
  1772. --||                     END OF SCRIPT
  1773. --\\====================================================//--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top