Hello i have a question. Why my script isn't working?
local GroupId = 14223507
local AllowedRank = 244
game.Players.PlayerAdded:Connect(function(Player)
Player.Chatted:Connect(function(chat)
if chat =="!Host" and Player:GetRankInGroup(GroupId) >= AllowedRank then
game.StarterGui.ScreenGui.Host.Text = Player.Name
end
end)
end)
Please Help.
Thanks Everyone

3 comments
Why do you have >= ?
So that ranks equal to and higher could use it
StarterGui doesn't update each player's UI; it's just a container that replicates everything inside it to each player's screen.