daily pastebin goal
74%
SHARE
TWEET

Untitled

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