"19:25:14.186 - Workspace.Part.Script:5: attempt to perform arithmetic on local 'cash' (a userdata value)"
script.Parent.Touched:connect(function(hit)
hit.Parent:WaitForChild("Humanoid")
local plr = hit.Parent.PlayerLocation.Value
local cash = plr.leaderstats.Cash
cash = cash + 5
end)
Answered by: gioni01
script.Parent.Touched:connect(function(hit)
hit.Parent:WaitForChild("Humanoid")
local plr = hit.Parent.PlayerLocation.Value
local cash = plr.leaderstats.Cash
cash.Value = cash.Value + 5
end)

4 comments
wanting to set the "Value" property**
beat me to it by 26 seconds
gottem
Ohhhh.. I forgot to value thing, thanks for helping.