local block = game.Workspace.JoiningReward.JoiningRewardBlock
local player = game.Players.LocalPlayer
block.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
if player.CodesUsed.Codes.Value == 0 then
player.CodesUsed.Codes.Value = player.CodesUsed.Codes.Value +1
player.leaderstats.Breaths.Value = player.leaderstats.Breaths.Value +250
block.JoiningRewardGui.BillboardGui.Text.Text = " "
script.Disabled = true
else
if player.CodesUsed.Codes.Value == 1 then
player.CodesUsed.Codes.Value = player.CodesUsed.Codes.Value -1
script.Disabled = true
end
end
end
end)
how do I make it where if someone claims the reward then other people can also? because if someone claims it then nobody else can?!

1 comment
please tell me: are you using a localscript or script?