so i have this script that pastes a number value onto a text label. i get the error
Unable to cast value to Object
and this is the script.
while wait() do
print(values.CashValue.Value) -- 'values' being a folder and 'CashValue' being a number value
game.ReplicatedStorage.CollectCash2:FireClient(values.CashValue.Value)
end