Greetings, thank you for checking my post out! I was wondering why this script wasn't working. I would be glad if you could help me!
game.Players.PlayerAdded:Connect(function(Player)
if Player:GetRankInGroup(2) >= 10 then
game.StarterGui.GUI.Enabled = true
else
game.StarterGui.GUIy.Enabled = false
end
end)

5 comments
Thank you for trying to help, sadly I can still see the gui for some reason. What is causing this issue?
Did you want the player to see the gui if their rank is under 10 or greater than 10?
Is visible true and is the position of the frame actually on the screen?
Greater, but I checked, the ranks were correct.
I want them to see it, if their rank is greater than 10. Visible is true and it is on the screen. As I said, the problem is that I still can see it. Thank you for the help, anyways!