|
| 06 Feb 2015 06:09 PM |
players = game.Players for _,player in pairs(players:GetChildren()) do gun1 = player.Backpack:FindFirstChild("VP1") gun2 = player.Backpack:FindFirstChild("Colt817") gun3 = player.Backpack:FindFirstChild("FEARPistol") ammo = script.Parent.Ammo
if gun1 ~= nil then ammo.Text = ""..gun1.Configurations.CurrentAmmo.Value.."/"..gun1.Configurations.ClipSize.Value.."" elseif gun2 ~= nil then ammo.Text = ""..gun2.Configurations.CurrentAmmo.Value.."/"..gun2.Configurations.ClipSize.Value.."" elseif gun3 ~= nil then ammo.Text = ""..gun3.Configurations.CurrentAmmo.Value.."/"..gun3.Configurations.ClipSize.Value.."" end end |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2015 06:12 PM |
| Oh, it does, you just didn't update the gui to make it say the new ammo |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2015 06:15 PM |
| I don't know how to do it. |
|
|
| Report Abuse |
|
|