Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 the game!", game.Players:GetUserThumbnailAsync(PlayerUserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement