Hey,
I am creating a group rank only gui where only someone with this rank or higher in the group can get to the next page. The rank is Excellence. Rankid: 2
Here is the code:
local config = script.Parent.Configuration
local player = game.Players.LocalPlayer
RBXScriptSignal:Connect()
if part.Parent and game:GetService('Players'):GetPlayerFromCharacter(part.Parent) and
player:GetRankInGroup(config.GroupId.Value) >= config.RankId.Value then
script.Parent.Parent.Visible=false
script.Parent.Parent.Active=false
script.Parent.Parent.Parent.three.Visible=true
script.Parent.Parent.Parent.three.Active=true
end
Screenshots: https://ibb.co/e9yJpo https://ibb.co/eqWraT

3 comments
Couldn’t have said it better myself. +1 vote.
Though I’d recommend switching game.Players to game:GetService("Players")
Still not working, I've shown the new script in the original post.