Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

if i use bindable event to increase the ammo of one player´s gun help ?

if i use bindable event to increase the clipsize of the weapon. so each player have then the same value. the weapon is in the StarkerPack someone an idea ? ?

1 answer

Hello, hope this helps:

--First Server script sender:
for i, plr in pairs(game.Players:GetChildren()) do
	plr.Backpack.Weapon.Recieve:Fire()--Weapon, name of your weapon, Recieve, name of your bindable event
end
--Second script reciever.
script.Parent.Recieve.Event:Connect(function() --The Name of your remote event, change receive to the name of your remote event
	script.Parent.Ammo.Value = 20 --Your ammo value
end)

Hopefully that helps.

1 comment

0

dont work, but thanks =)

This discussion is preserved as it was. New answers, comments, and votes are closed.