So I’m basically trying to make money flow / income in Studio, and I faced a problem where:
This (upper screenshot) is setting amount of income to 10, since it’s by default 0
And these screenshots display how the money is received and/or given, yes it’s not anti-exploiter protected nor smart, I’m only experimenting.
My issue is, that even if the amount is 10 or above, it still gives 0 to player. I searched in devforum for the solution, but I haven’t found any solution so far, I only found random old’ish post that isn’t relevant to my problem.
( this screenshot shows how much I receive, probably same as in real life. )
So far, I have no clue how to fix it and make so that it’ll give me the IncomeAmount value instead of 0
Fun fact, when I set IncomeAmount anything above 0, it gives me the amount I set. I don’t know why while true do
doesn’t even determine if the amount is changed.
Maybe I should add conds.IncomeAmount:GetPropertyChangedSignal()
, but I think it won’t really do anything.