Hey scriptinghelpers, how would I offer double Tix(in-game leaderstats) to players who own Premium? Below is my leaderstats script sample that adds 1 tix a second. I actually can't test this on my own since I don't own Premium. I would like to learn more about Premium benefits so, this is the start of it all for me. I appreciate any advice and help. Thank you in advance. I'm only here to learn!
--my guess but, can't test it since I don't have premium
while true do
wait(1)
local playerList = players:GetPlayers()
for currentPlayer = 1, #playerList do
local player = playerList[currentPlayer]
local tix = player.leaderstats.Tix
if player.MembershipType == Enum.MembershipType.Premium then
tix.Value = tix.Value + 2
else
tix.Value = tix.Value + 1
end
end
end
--not sure if this is right but I'm pretty sure it is
I'm pretty sure the code is right, like I said I can't test it. So I would really appreciate it if you could let me know! Thanks again.

2 comments
you can use Changed if it's something like an IntValue or number value then double by how much it changed or double whenever you give them tix to begin with (which is what you are doing right now), looks fine. Ask your friends to test
Ok sweet, thanks I appreciate it.