I can't figure this out. Roblox is saying Player is unknown, and required rank is unknown...
requiredRank = "250"
local groupId = 4274644
if player:IsInGroup(groupId) and player:GetRoleInGroup(groupId) >= requiredRank then
game.StarterGui.Rooms.Enabled = true
game.StarterGui.StaffTeleport.Enabled = true
end
I want to make it so Moderators and up can see the GUI when joining the game, but members below don't see it.
Thank you for helping :P

1 comment
The PlayerGui is finding it, when I test my game, but the gui itself is not getting enabled