local work = Instance.new("ObjectValue")
work.Parent = game.Players.LocalPlayer.Backpack
work.Value = game.Players.LocalPlayer.Backpack
local rplayer = work.Parent
game.ReplicatedStorage.Mine:FireServer(target, rplayer, stonereward)
And then this happens
if rplayer.PlayerGui.HUD.Inventory.Stuff.Wood.Value == false then -- error >:(
Apprently, while firing the even it says it is a number value wtf
Also I used work as object value because of other scripting troubles

4 comments
Is this in a local script or a server script?
server script
Is the "Wood" value a NumberValue or a BoolValue? Check its class name.
Wood is an IntValue altough every time I set text to IntValues it still works