I need change my gamepass prices less if player have more money. I tested with print and not worked. I tryed functions, while and not worked :(
local player = game.Players.LocalPlayer local statss = player:WaitForChild ("leaderstats") local moneyss = stass:WaitForChild ("Money") local mony = moneyss.Value while mony => 0 and <= 10 do print("0-10") end while mony =>11 and <= 20 do print("11-20") end
This isn't hard to do
local player = game.Players.LocalPlayer local stats = player:WaitForChild("leaderstats") local money = stats:WaitForChild("Money") print(Money.Value)
I think you can't make the Gamepass go down in price the more money you have, what you can do is create Developer Products with the prices you want, and put in your script that from "x" amount of money, the code of the Change Gamepass to one that is worth less.