Script 1 ServerScript Service
local GroupId = 9852197 local MiniumRankIdForJoinMessage = 255
game.Players.PlayerAdded:Connect(function(Player) if Player:GetRankInGroup(GroupId) >= MiniumRankIdForJoinMessage then game.ReplicatedStorage.PlayerJoinEvent:FireAllClients(Player.Name, Player.UserId) end end)
Script 2 StarterGui
local StarterGUI = game:GetService("StarterGui")
local function SendNotification(Title, Text, Icon) StarterGUI:SetCore("SendNotification", { Title = Title, Text = Text, Icon = Icon }) end
game.ReplicatedStorage.PlayerJoinEvent.OnClientEvent:Connect(function(Playername, PlayerUserId) SendNotification("Join Message", Playername .. "has joined game!", game.players:GetUserThumbnailAsync(PlayerUserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420))
--RealKrautic has joined the game!
end)
