I have this daily Award in my game/place. VIP gets 35 else you will get 20 How do I make it see if you are a VIP?
Script: (Something is missing - cuz I don't know what to write) And the script is loong.
if plr:FindFirstChild("leaderstats") then
local Rank = leader
Rank.Parent = leaderstats
Rank.Name = "Group Rank"
Rank.Value = RIX VIP
plr.leaderstats[script.Stats.Value].Value = plr.leaderstats[script.Stats.Value].Value + script.IncreaseByVIP.Value
else
plr.leaderstats[script.Stats.Value].Value = plr.leaderstats[script.Stats.Value].Value + script.IncreaseBy.Value
end

2 comments
You could try: [player]::GetRoleInGroup
https://scriptinghelpers.org/guides/lua-quick-start-guide