Heres the code in question:
local collector = workspace.SushiCollector
script.Parent.Touched:Connect(function(hit)
if hit and hit.Parent and hit.Parent:FindFirstChild("SushiCollector") then
local player = game.Players.LocalPlayer
local leaderstats = player:FindFirstChild("leaderstats")
if leaderstats then
local MoneyValue = leaderstats:FindFirstChild("Money")
if MoneyValue then
MoneyValue = MoneyValue + 5
script.Parent:Destroy()
end
end
end
end)

3 comments
that fixed it for leaderstats, but moneyvalue still won't work.
yeah its still broken that did nothing
It does not work because to get the value of a value object you have to put
.Valueafter it.