Created
November 8, 2022 18:38
-
-
Save nodomw/01bb0e9b5ade53095ae0ddfae51d620e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
game.Players.ChildAdded:Connect(function(player) | |
game:GetService('StarterGui'):SetCore('SendNotification', { | |
Title = player.Name, | |
Text = 'has joined the server. .\n[AGE: ' ..player.AccountAge.. ']', | |
Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
Duration = 5, | |
}) | |
end) | |
game.Players.ChildRemoved:Connect(function(player) | |
game:GetService('StarterGui'):SetCore('SendNotification', { | |
Title = player.Name, | |
Text = 'has left the server. .\n[AGE: ' ..player.AccountAge.. ']', | |
Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000), | |
Duration = 5, | |
}) | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment