Basically I want the player to donate 1% of their cash only... I tried down here but got the error "attempt to perform a arithmetic on field 'Cash' (a userdata value)"
local data = player.PlayerData --this works
local increment = 0.01 --1% of their money
local donationValue = data.Cash * 0.01 --this is the line giving the error by the way
print(donationValue)

1 comment
What is "Cash"? If it's a value, you need to reference it's .Value property.