Hello! I’m having some troubles configuring my script to allow both a group rank and a VIP tag if they own the VIP game-pass. But even re-writing the code to slightly adjusting the VIP tag didn’t work at all. Even branching out through several forum posts I still couldn’t find a fix.
local id = 0000000 wait(1) local plr = game.Players:FindFirstChild(script.Parent.Name) local e = game.ReplicatedStorage.Rank:Clone() e.Parent = script.Parent.Head e.Frame.Name1.Text = script.Parent.Name e.Frame.TextLabel.Text = plr:GetRoleInGroup(000000) game.Players.PlayerAdded:Connect(function(player) if game:GetService("GamePassService"):PlayerHasPass(player, id) then e.Frame.VIP.Visible = true print(player.Name .. " Owns VIP Pass") else e.Frame.VIP.Visible = false print(player.Name .. " doesn't have the game pass...") end end)
It’ll be greatly appreciated if anyone can help me find the error inside the script.
– 4w <3