Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- ScreenGui1 = Instance.new("ScreenGui")
- ImageLabel2 = Instance.new("ImageLabel")
- LocalScript3 = Instance.new("LocalScript")
- Frame4 = Instance.new("Frame")
- Frame5 = Instance.new("Frame")
- BoolValue6 = Instance.new("BoolValue")
- NumberValue7 = Instance.new("NumberValue")
- LocalScript8 = Instance.new("LocalScript")
- Model9 = Instance.new("Model")
- Part10 = Instance.new("Part")
- Sound11 = Instance.new("Sound")
- Fire12 = Instance.new("Fire")
- SpecialMesh13 = Instance.new("SpecialMesh")
- Sound14 = Instance.new("Sound")
- PointLight15 = Instance.new("PointLight")
- Script16 = Instance.new("Script")
- ScreenGui17 = Instance.new("ScreenGui")
- Frame18 = Instance.new("Frame")
- Frame19 = Instance.new("Frame")
- Frame20 = Instance.new("Frame")
- Frame21 = Instance.new("Frame")
- Frame22 = Instance.new("Frame")
- ImageLabel23 = Instance.new("ImageLabel")
- ImageLabel24 = Instance.new("ImageLabel")
- Frame25 = Instance.new("Frame")
- TextLabel26 = Instance.new("TextLabel")
- TextLabel27 = Instance.new("TextLabel")
- TextLabel28 = Instance.new("TextLabel")
- TextLabel29 = Instance.new("TextLabel")
- Script30 = Instance.new("Script")
- Tool0.Name = "Revolver"
- Tool0.Parent = mas
- Tool0.GripForward = Vector3.new(-0, 1, -0)
- Tool0.GripPos = Vector3.new(0.0500000007, -0.5, -0.200000003)
- Tool0.GripUp = Vector3.new(0, 0, 1)
- Tool0.CanBeDropped = false
- ScreenGui1.Name = "ZoomGui"
- ScreenGui1.Parent = Tool0
- ImageLabel2.Name = "Scope"
- ImageLabel2.Parent = ScreenGui1
- ImageLabel2.Transparency = 1
- ImageLabel2.Size = UDim2.new(0, 20, 0, 20)
- ImageLabel2.Position = UDim2.new(0.5, -10, 0, -10)
- ImageLabel2.BackgroundColor3 = Color3.new(0, 0, 0)
- ImageLabel2.BackgroundTransparency = 1
- ImageLabel2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- ImageLabel2.Image = "rbxassetid://82437809"
- LocalScript3.Parent = ScreenGui1
- table.insert(cors,sandbox(LocalScript3,function()
- --Stickmasterluke
- sp=script.Parent
- while sp:FindFirstChild("Scope")==nil or sp:FindFirstChild("Frame1")==nil or sp:FindFirstChild("Frame2")==nil do
- wait()
- end
- function update()
- sp.Scope.Position=UDim2.new(.5,-10-(sp.AbsoluteSize.y/2),0,-10)
- sp.Scope.Size=UDim2.new(0,20+sp.AbsoluteSize.y,0,20+sp.AbsoluteSize.y)
- sp.Frame1.Size=UDim2.new(0,20+((sp.AbsoluteSize.x-sp.AbsoluteSize.y)/2),1,20)
- sp.Frame2.Size=UDim2.new(0,20+((sp.AbsoluteSize.x-sp.AbsoluteSize.y)/2),1,20)
- sp.Frame2.Position=UDim2.new(1,-10-((sp.AbsoluteSize.x-sp.AbsoluteSize.y)/2),0,-10)
- end
- sp.Changed:connect(update)
- end))
- Frame4.Name = "Frame2"
- Frame4.Parent = ScreenGui1
- Frame4.Size = UDim2.new(0, 0, 1, 20)
- Frame4.Position = UDim2.new(0, -10, 0, -10)
- Frame4.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame4.BorderColor3 = Color3.new(0, 0, 0)
- Frame4.BorderSizePixel = 0
- Frame5.Name = "Frame1"
- Frame5.Parent = ScreenGui1
- Frame5.Size = UDim2.new(0, 0, 1, 20)
- Frame5.Position = UDim2.new(0, -10, 0, -10)
- Frame5.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame5.BorderColor3 = Color3.new(0, 0, 0)
- Frame5.BorderSizePixel = 0
- BoolValue6.Name = "HitTarget"
- BoolValue6.Parent = Tool0
- NumberValue7.Name = "Spread"
- NumberValue7.Parent = Tool0
- LocalScript8.Name = "GunScript"
- LocalScript8.Parent = Tool0
- table.insert(cors,sandbox(LocalScript8,function()
- --Made by Stickmasterluke
- sp=script.Parent
- rate=1/30
- spreadpercentoffset=.5
- ----Gun statistics----
- automatic=false
- burst=false
- shotgun=false
- canzoom=0
- firerate=.58
- reloadtime=3
- startingammo=1000
- maxammo=2000
- clipsize=50
- noclip=false
- unlimitedammo=true
- minspread=.03
- maxspread=.25
- spreadincrease=.1
- spreadcooldowntime=1
- zoomspread=0
- function gunUp()
- sp.GripPos=Vector3.new(.05,-.3,-.2)
- end
- function gunOut()
- sp.GripPos=Vector3.new(.05,-.5,-.2)
- end
- ----------------------
- function waitfor(a,b)
- while a:FindFirstChild(b)==nil do
- wait()
- end
- end
- waitfor(sp,"Aim")
- waitfor(sp,"Spread")
- waitfor(sp,"HitTarget")
- waitfor(sp,"WeaponHud")
- waitfor(sp,"Handle")
- local gun=sp.Handle
- waitfor(gun,"Fire")
- waitfor(gun,"FireSound")
- ammo=startingammo
- ammoinclip=clipsize
- originalminspread=minspread
- spread=minspread
- equipped=false
- reloading=false
- down=false
- ready=true
- local gui=sp.WeaponHud
- local zoomgui=sp.ZoomGui
- local debris=game:GetService("Debris")
- while plr==nil do
- plr=game.Players.LocalPlayer
- end
- function unzoom()
- minspread=originalminspread
- local cam=game.Workspace.CurrentCamera
- if cam then
- cam.FieldOfView=70
- end
- zoomgui.Parent=sp
- end
- function updateammo(additional)
- additional=additional or 0
- if noclip then
- if not unlimitedammo then
- ammo=ammo+additional
- if ammo<0 then
- ammo=0
- elseif ammo>maxammo then
- ammo=maxammo
- end
- end
- else
- ammoinclip=ammoinclip+additional
- if ammoinclip<0 then
- ammoinclip=0
- elseif ammoinclip>clipsize then
- ammoinclip=clipsize
- end
- end
- if gui then
- if noclip and unlimitedammo then
- gui.AmmoHud.TotalAmmo.Visible=false
- gui.AmmoHud.ForwardSlash.Visible=false
- gui.AmmoHud.ClipAmmo.Visible=false
- elseif noclip then
- gui.AmmoHud.TotalAmmo.Visible=true
- gui.AmmoHud.ForwardSlash.Visible=false
- gui.AmmoHud.ClipAmmo.Visible=false
- gui.AmmoHud.TotalAmmo.Text=tostring(ammo)
- elseif unlimitedammo then
- gui.AmmoHud.TotalAmmo.Visible=true
- gui.AmmoHud.ForwardSlash.Visible=true
- gui.AmmoHud.ClipAmmo.Visible=true
- gui.AmmoHud.TotalAmmo.Text=tostring(clipsize)
- gui.AmmoHud.ClipAmmo.Text=tostring(ammoinclip)
- else
- gui.AmmoHud.TotalAmmo.Visible=true
- gui.AmmoHud.ForwardSlash.Visible=true
- gui.AmmoHud.ClipAmmo.Visible=true
- gui.AmmoHud.TotalAmmo.Text=tostring(ammo)
- gui.AmmoHud.ClipAmmo.Text=tostring(ammoinclip)
- end
- end
- end
- function reload()
- if not reloading and ready and equipped then
- unzoom()
- reloading=true
- if gui then
- gui.ReloadingLabel.Visible=true
- end
- --run an animation or sound here
- script.Parent.Handle.Reload:Play()
- wait(reloadtime)
- if unlimitedammo then
- ammoinclip=clipsize
- else
- local extraammo=clipsize-ammoinclip
- if ammo>=extraammo then
- ammo=ammo-extraammo
- ammoinclip=clipsize
- else
- ammoinclip=ammo
- ammo=0
- end
- end
- if gui then
- gui.ReloadingLabel.Visible=false
- end
- reloading=false
- end
- updateammo(0)
- end
- function hittarget()
- if gui then
- delay(0,function()
- if gui:FindFirstChild("TargetHitImage") then
- gui.TargetHitImage.Visible=true
- local lth=tick()
- lasttargethit=lth
- wait(.5)
- if lasttargethit<=lth then
- gui.TargetHitImage.Visible=false
- end
- end
- end)
- end
- end
- sp.HitTarget.Changed:connect(hittarget)
- function updatespread()
- local spreadvalue=sp:FindFirstChild("Spread")
- if spreadvalue then
- spreadvalue.Value=spread
- end
- if spread>maxspread then
- spread=maxspread
- elseif spread<minspread then
- spread=minspread
- end
- if gui then
- local absoluteY=gui.AbsoluteSize.Y
- gui.Crosshair.Position=UDim2.new(.5,(1-(spread*absoluteY))/2,.5,(1-(spread*absoluteY))/2)
- gui.Crosshair.Size=UDim2.new(0,spread*absoluteY,0,spread*absoluteY)
- end
- end
- function fire(pos)
- if pos then
- local newaim=Instance.new("Vector3Value")
- newaim.Value=pos
- newaim.Parent=sp.Aim
- end
- end
- function ammocheck(thismuch)
- return (noclip and (unlimitedammo or ammo>=thismuch)) or (noclip==false and ammoinclip>=thismuch)
- end
- function onEquipped(mouse)
- plr=game.Players.LocalPlayer
- equipped=true
- if mouse~=nil then
- mouse.Icon="http://www.roblox.com/asset/?id=18662154"--"rbxasset://textures\\GunCursor.png"
- mouse.KeyDown:connect(function(key)
- if key then
- key=string.lower(key)
- if key=="r" then
- reload()
- elseif key=="z" and canzoom~=0 and not reloading and equipped then
- local cam=game.Workspace.CurrentCamera
- if cam then
- zoomed=math.floor(math.deg(cam.FieldOfView)+.5)
- if zoomed==70 and canzoom>=1 then
- minspread=zoomspread
- cam.FieldOfView=40
- zoomgui.Parent=plr.PlayerGui
- elseif zoomed==40 and canzoom>=2 then
- minspread=zoomspread
- cam.FieldOfView=20
- zoomgui.Parent=plr.PlayerGui
- else
- unzoom()
- end
- end
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if not down then
- down=true
- local chr=plr.Character
- if chr~=nil then
- local h=chr:FindFirstChild("Humanoid")
- if h then
- while equipped and down and ready and reloading==false and ammocheck(1) and h.Health>0 and mouse do
- ready=false
- gunUp()
- gun.Fire.Enabled=true
- sp.Handle.FireSound:Play()
- updateammo(-1)
- local aimpos=mouse.Hit.p
- if shotgun then
- for i=1,10 do
- fire(aimpos)
- end
- elseif burst then
- fire(aimpos)
- if ammocheck(1) then
- wait(rate*1.5)
- sp.Handle.FireSound:Play()
- updateammo(-1)
- fire(aimpos)
- if ammocheck(1) then
- wait(rate*1.5)
- sp.Handle.FireSound:Play()
- updateammo(-1)
- fire(aimpos)
- end
- end
- else
- fire(aimpos)
- end
- wait(2/30)
- spread=spread+spreadincrease
- updatespread()
- gun.Fire.Enabled=false
- gunOut()
- if firerate>(2/30) then
- wait(firerate-(2/30))
- end
- ready=true
- if not automatic then
- break
- end
- end
- end
- end
- down=false
- if not ammocheck(1) then
- reload()
- end
- end
- end)
- mouse.Button1Up:connect(function()
- down=false
- end)
- end
- if gui and plr:FindFirstChild("PlayerGui") then
- gui.Parent=plr.PlayerGui
- end
- updateammo(0)
- unzoom()
- end
- function onUnequipped()
- equipped=false
- sp.Handle.FireSound:Stop()
- if gui then
- gui.Parent=sp
- end
- unzoom()
- end
- sp.Equipped:connect(onEquipped)
- sp.Unequipped:connect(onUnequipped)
- while true do
- wait(rate)
- if spread>minspread then
- spread=spread-((rate/spreadcooldowntime)*(maxspread-minspread))
- end
- updatespread()
- end
- end))
- Model9.Name = "Aim"
- Model9.Parent = Tool0
- Part10.Name = "Handle"
- Part10.Parent = Tool0
- Part10.BrickColor = BrickColor.new("New Yeller")
- Part10.Rotation = Vector3.new(-90, 0, 90)
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.Size = Vector3.new(0.200000003, 1.80000019, 0.899999917)
- Part10.CFrame = CFrame.new(26.8299866, 0.450028002, -19.8000107, 7.4505806e-08, -0.999994874, 1.15582939e-10, 6.2930724e-12, 1.17447246e-10, 1, -0.999994636, -1.49011612e-08, 5.8262957e-11)
- Part10.Color = Color3.new(1, 1, 0)
- Part10.Position = Vector3.new(26.8299866, 0.450028002, -19.8000107)
- Part10.Orientation = Vector3.new(-90, 90, 0)
- Part10.Color = Color3.new(1, 1, 0)
- Sound11.Name = "FireSound"
- Sound11.Parent = Part10
- Sound11.SoundId = "rbxassetid://438149153"
- Sound11.Volume = 1
- Fire12.Parent = Part10
- Fire12.Size = 30
- Fire12.Color = Color3.new(1, 1, 0)
- Fire12.Enabled = false
- Fire12.Heat = 0
- Fire12.SecondaryColor = Color3.new(0, 0, 0)
- Fire12.Color = Color3.new(1, 1, 0)
- SpecialMesh13.Parent = Part10
- SpecialMesh13.MeshId = "http://www.roblox.com/asset/?id=79401392 "
- SpecialMesh13.Scale = Vector3.new(1.5, 1.5, 1.5)
- SpecialMesh13.VertexColor = Vector3.new(9, 0.899999976, 0)
- SpecialMesh13.MeshType = Enum.MeshType.FileMesh
- SpecialMesh13.Scale = Vector3.new(1.5, 1.5, 1.5)
- Sound14.Name = "Reload"
- Sound14.Parent = Part10
- Sound14.Pitch = 0.30000001192093
- Sound14.SoundId = "rbxassetid://438149153"
- Sound14.Volume = 1
- PointLight15.Parent = Part10
- PointLight15.Color = Color3.new(1, 1, 0)
- PointLight15.Brightness = 12
- PointLight15.Range = 60
- PointLight15.Color = Color3.new(1, 1, 0)
- Script16.Parent = Tool0
- table.insert(cors,sandbox(Script16,function()
- --Made by Stickmasterluke
- sp=script.Parent
- range=100 --can be any realistic number, even over 1000
- damage=10
- headshotmultiplier=2
- piercing=false
- splat=true
- spreadpercentoffset=.5
- targetshit={}
- local debris=game:GetService("Debris")
- function waitfor(a,b)
- while a:FindFirstChild(b)==nil do
- wait()
- end
- end
- waitfor(sp,"Aim")
- waitfor(sp,"Spread")
- waitfor(sp,"HitTarget")
- function tagHumanoid(humanoid,player,didheadshot)
- if humanoid and player then
- for i,v in ipairs(humanoid:GetChildren()) do
- if v and v.Parent~=nil then
- if v.Name=="creator" then
- v:remove()
- end
- end
- end
- local creatortag=Instance.new("ObjectValue")
- creatortag.Value=player
- creatortag.Name="creator"
- local weapontag=Instance.new("StringValue")
- weapontag.Name="weaponIcon"
- weapontag.Value="rbxassetid://76256898"
- weapontag.Parent=creatortag
- creatortag.Parent=humanoid
- debris:AddItem(creatortag,3)
- end
- end
- function hittarget()
- local hittargetvalue=sp:FindFirstChild("HitTarget")
- if hittargetvalue then
- hittargetvalue.Value=not hittargetvalue.Value
- end
- end
- function rayignorecheck(hit3)
- if hit3 then
- if hit3.Transparency>=1 or string.lower(hit3.Name)=="water" or hit3.Name=="Effect" or hit3.Name=="Rocket" or hit3.Name=="Handle" or hit3:IsDescendantOf(sp.Parent) then
- return true
- end
- for i,v in ipairs(targetshit) do
- if v and v.Parent~=nil then
- if hit3:IsDescendantOf(v) then
- return true
- end
- end
- end
- end
- return false
- end
- function raycast(spos,vec,dist)
- local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(spos+(vec*.01),vec*dist),sp)
- if hit2~=nil and pos2 then
- local dist2=dist-(pos2-spos).magnitude
- if rayignorecheck(hit2) and dist2>0 then
- return raycast(pos2,vec,dist2)
- end
- end
- return hit2,pos2
- end
- function fire(targetpos)
- local chr=sp.Parent
- if chr==nil then
- return
- end
- local plr=game.Players:GetPlayerFromCharacter(chr)
- if plr==nil then
- return
- end
- local head=chr:findFirstChild("Head")
- local humanoid=chr:findFirstChild("Humanoid")
- if head==nil or humanoid==nil then
- return
- end
- local spread=sp:FindFirstChild("Spread")
- if humanoid.Health>0 and spread then
- local startpos=head.Position
- local targetdist=(targetpos-startpos).magnitude
- local flawedpos=Vector3.new(spread.Value*((math.random()*2)-1),spread.Value*((math.random()*2)-1),spread.Value*((math.random()*2)-1))*targetdist*spreadpercentoffset
- local vec=((targetpos+flawedpos)-startpos).unit
- targetshit={}
- hitsolid=false
- while not hitsolid do
- hitsolid=true
- local hit,pos=raycast(startpos,vec,range)
- if hit~=nil and hit.Parent~=nil then
- chr=sp.Parent
- local h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- if game.Players:GetPlayerFromCharacter(h.Parent) and game.Players:GetPlayerFromCharacter(h.Parent).TeamColor == plr.TeamColor then return end
- if h.Parent:FindFirstChild("IsABuilding") and h.Parent.Torso.tc.Value == plr.TeamColor then return end
- finaldamage=damage
- if hit.Name=="Head" then
- finaldamage=finaldamage*headshotmultiplier
- elseif hit.Name=="Torso" then
- finaldamage=finaldamage--*1.1
- end
- tagHumanoid(h,plr,hit.Name=="Head")
- h:TakeDamage(finaldamage)
- hittarget(hit.Parent)
- if piercing then
- hitsolid=false
- table.insert(targetshit,hit.Parent)
- end
- elseif hit.Name=="Target" then
- hittarget(hit.Parent)
- if piercing then
- hitsolid=false
- table.insert(targetshit,hit.Parent)
- end
- end
- end
- local missile=Instance.new("Part")
- missile.Name="Effect"
- missile.formFactor="Custom"
- missile.Size=Vector3.new(.1,.1,.1)
- missile.Material=Enum.Material.Plastic
- missile.BrickColor=BrickColor.new("Really black")
- missile.Locked=true
- missile.TopSurface=0
- missile.BottomSurface=0
- missile.CFrame=CFrame.new(pos)
- missile.Transparency=1
- missile.Anchored=true
- local mesh=Instance.new("SpecialMesh")
- mesh.MeshType="Sphere"
- mesh.Scale=Vector3.new(1.8,1.8,1.8)
- mesh.Parent=missile
- local paint=Instance.new("Fire")
- paint.Color=BrickColor.new("Bright yellow").Color
- paint.SecondaryColor=BrickColor.new("Bright yellow").Color
- paint.Size=5
- paint.Heat=0
- paint.Parent=missile
- game.Debris:AddItem(paint, 0.24)
- local hitsound=Instance.new("Sound")
- hitsound.Name="HitSound"
- hitsound.SoundId="http://www.roblox.com/asset/?id=108553991"
- hitsound.Volume=1
- hitsound.Parent=missile
- missile.Parent=game.Workspace
- hitsound:Play()
- thisreached=false
- if hit~=nil then
- if hit.Name=="Target" or (hit.Anchored and splat) then
- --hittarget()
- missile.Transparency=0
- debris:AddItem(missile,5)
- thisreached=true
- end
- end
- if not thisreached then
- delay(2/30,function()
- if missile then
- missile:Remove()
- missile=nil
- end
- end)
- debris:AddItem(missile,1)
- end
- end
- end
- end
- sp.Aim.ChildAdded:connect(function(item)
- if item~=nil and item.Parent~=nil then
- if item.ClassName=="Vector3Value" then
- fire(item.Value)
- end
- item:remove()
- end
- end)
- end))
- ScreenGui17.Name = "WeaponHud"
- ScreenGui17.Parent = Tool0
- Frame18.Name = "Crosshair"
- Frame18.Parent = ScreenGui17
- Frame18.Transparency = 1
- Frame18.Size = UDim2.new(0, 21, 0, 21)
- Frame18.Position = UDim2.new(0.5, -10, 0.5, -10)
- Frame18.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame18.BackgroundTransparency = 1
- Frame18.BorderColor3 = Color3.new(0.956863, 1, 0.133333)
- Frame18.BorderSizePixel = 0
- Frame19.Name = "TopFrame"
- Frame19.Parent = Frame18
- Frame19.Size = UDim2.new(0, 2, 0, 15)
- Frame19.Position = UDim2.new(0.5, -1, 0, -15)
- Frame19.Visible = false
- Frame19.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame19.BorderColor3 = Color3.new(0, 1, 0)
- Frame20.Name = "BottomFrame"
- Frame20.Parent = Frame18
- Frame20.Size = UDim2.new(0, 2, 0, 15)
- Frame20.Position = UDim2.new(0.5, -1, 1, 0)
- Frame20.Visible = false
- Frame20.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame20.BorderColor3 = Color3.new(0, 1, 0)
- Frame21.Name = "LeftFrame"
- Frame21.Parent = Frame18
- Frame21.Size = UDim2.new(0, 15, 0, 2)
- Frame21.Position = UDim2.new(0, -15, 0.5, -1)
- Frame21.Visible = false
- Frame21.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame21.BorderColor3 = Color3.new(0, 1, 0)
- Frame22.Name = "RightFrame"
- Frame22.Parent = Frame18
- Frame22.Size = UDim2.new(0, 15, 0, 2)
- Frame22.Position = UDim2.new(1, 0, 0.5, -1)
- Frame22.Visible = false
- Frame22.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame22.BorderColor3 = Color3.new(0, 1, 0)
- ImageLabel23.Name = "Middle"
- ImageLabel23.Parent = Frame18
- ImageLabel23.Transparency = 1
- ImageLabel23.Size = UDim2.new(10, 0, 10, 0)
- ImageLabel23.Position = UDim2.new(-4.5, 0, -4.5, 0)
- ImageLabel23.BackgroundTransparency = 1
- ImageLabel23.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- ImageLabel23.BorderSizePixel = 0
- ImageLabel23.Image = "http://www.roblox.com/asset/?id=72344959"
- ImageLabel24.Name = "TargetHitImage"
- ImageLabel24.Parent = ScreenGui17
- ImageLabel24.Transparency = 1
- ImageLabel24.Size = UDim2.new(0, 50, 0, 50)
- ImageLabel24.Position = UDim2.new(0.5, -25, 0.5, -25)
- ImageLabel24.Visible = false
- ImageLabel24.BackgroundTransparency = 1
- ImageLabel24.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- ImageLabel24.BorderSizePixel = 0
- ImageLabel24.Image = "rbxassetid://69368028"
- Frame25.Name = "AmmoHud"
- Frame25.Parent = ScreenGui17
- Frame25.Transparency = 1
- Frame25.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
- Frame25.Position = UDim2.new(0.689999998, 0, 0.889999986, 0)
- Frame25.BackgroundTransparency = 1
- Frame25.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Frame25.BorderSizePixel = 0
- TextLabel26.Name = "ForwardSlash"
- TextLabel26.Parent = Frame25
- TextLabel26.Transparency = 1
- TextLabel26.Size = UDim2.new(0.200000003, 0, 0.600000024, 0)
- TextLabel26.Text = "/"
- TextLabel26.Position = UDim2.new(0.600000024, 0, 0.400000006, 0)
- TextLabel26.BackgroundTransparency = 1
- TextLabel26.BorderColor3 = Color3.new(1, 1, 0.207843)
- TextLabel26.BorderSizePixel = 3
- TextLabel26.Font = Enum.Font.SciFi
- TextLabel26.FontSize = Enum.FontSize.Size18
- TextLabel26.TextColor3 = Color3.new(0, 1, 1)
- TextLabel26.TextScaled = true
- TextLabel26.TextStrokeColor3 = Color3.new(0.0941176, 0.0823529, 0.0784314)
- TextLabel26.TextStrokeTransparency = 0
- TextLabel26.TextTransparency = 0.5
- TextLabel26.TextWrapped = true
- TextLabel26.TextXAlignment = Enum.TextXAlignment.Right
- TextLabel27.Name = "ClipAmmo"
- TextLabel27.Parent = Frame25
- TextLabel27.Transparency = 1
- TextLabel27.Size = UDim2.new(0.200000003, 0, 0.600000024, 0)
- TextLabel27.Text = "13"
- TextLabel27.Position = UDim2.new(0.519999981, 0, 0.400000006, 0)
- TextLabel27.BackgroundTransparency = 1
- TextLabel27.BorderColor3 = Color3.new(1, 1, 0.207843)
- TextLabel27.BorderSizePixel = 3
- TextLabel27.Font = Enum.Font.SciFi
- TextLabel27.FontSize = Enum.FontSize.Size18
- TextLabel27.TextColor3 = Color3.new(0, 1, 1)
- TextLabel27.TextScaled = true
- TextLabel27.TextStrokeColor3 = Color3.new(0.0941176, 0.0823529, 0.0784314)
- TextLabel27.TextStrokeTransparency = 0
- TextLabel27.TextTransparency = 0.5
- TextLabel27.TextWrapped = true
- TextLabel27.TextXAlignment = Enum.TextXAlignment.Right
- TextLabel28.Name = "TotalAmmo"
- TextLabel28.Parent = Frame25
- TextLabel28.Transparency = 1
- TextLabel28.Size = UDim2.new(0.200000003, 0, 0.600000024, 0)
- TextLabel28.Text = "14"
- TextLabel28.Position = UDim2.new(0.800000012, 0, 0.400000006, 0)
- TextLabel28.BackgroundTransparency = 1
- TextLabel28.BorderColor3 = Color3.new(1, 1, 0.207843)
- TextLabel28.BorderSizePixel = 3
- TextLabel28.Font = Enum.Font.SciFi
- TextLabel28.FontSize = Enum.FontSize.Size18
- TextLabel28.TextColor3 = Color3.new(0, 1, 1)
- TextLabel28.TextScaled = true
- TextLabel28.TextStrokeColor3 = Color3.new(0.0941176, 0.0823529, 0.0784314)
- TextLabel28.TextStrokeTransparency = 0
- TextLabel28.TextTransparency = 0.5
- TextLabel28.TextWrapped = true
- TextLabel28.TextXAlignment = Enum.TextXAlignment.Right
- TextLabel29.Name = "ReloadingLabel"
- TextLabel29.Parent = ScreenGui17
- TextLabel29.Transparency = 1
- TextLabel29.Text = "Reloading"
- TextLabel29.Position = UDim2.new(0.5, 20, 0.5, -20)
- TextLabel29.Visible = false
- TextLabel29.BackgroundTransparency = 1
- TextLabel29.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextLabel29.BorderSizePixel = 0
- TextLabel29.Font = Enum.Font.ArialBold
- TextLabel29.FontSize = Enum.FontSize.Size18
- TextLabel29.TextColor3 = Color3.new(0, 0, 0)
- TextLabel29.TextStrokeColor3 = Color3.new(1, 0, 0)
- TextLabel29.TextStrokeTransparency = 0
- TextLabel29.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel29.TextYAlignment = Enum.TextYAlignment.Bottom
- Script30.Name = "sb_equip"
- Script30.Parent = Tool0
- table.insert(cors,sandbox(Script30,function()
- gun = script.Parent.Handle
- local Equip = Instance.new("Sound")
- Equip.SoundId = "http://www.roblox.com/asset/?ID=367453005"
- Equip.Parent = gun
- Equip.Volume = 0.7
- function onEquipped()
- Equip:play()
- end
- script.Parent.Equipped:connect(onEquipped)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement