This script only works in normal scripts. It doesn't work in local scripts for some reason. Somebody please help.
here is the script:
game.Players.PlayerAdded:connect(function(Player)
local rank = Player:GetRankInGroup(4070429)
if rank == 255 or rank == 224 then
print("sdfghjuhgfdfgh")
end
end)
Thanks

1 comment
PlayerAdded can only be used in a server script.