-- Objects local JoinNotify = Instance.new("ScreenGui") local Background = Instance.new("ImageLabel") local PersonImage = Instance.new("ImageLabel") local PlayerName = Instance.new("TextLabel") local Age = Instance.new("TextLabel") local Rank = Instance.new("TextLabel") local Drop_Shadow = Instance.new("ImageLabel") -- Properties JoinNotify.Name = "JoinNotify" JoinNotify.Parent = game.CoreGui Background.Name = "Background" Background.Parent = JoinNotify Background.BackgroundColor3 = Color3.new(1, 1, 1) Background.BackgroundTransparency = 1 Background.Position = UDim2.new(0.76618427, 0, 0.651935637, 0) Background.Size = UDim2.new(0.21341981, 0, 0.00259067351, 0) Background.Visible = false Background.ZIndex = 2 Background.Image = "rbxassetid://760929926" Background.ScaleType = Enum.ScaleType.Slice Background.SliceCenter = Rect.new(5, 5, 5, 5) PersonImage.Name = "PersonImage" PersonImage.Parent = Background PersonImage.BackgroundColor3 = Color3.new(1, 1, 1) PersonImage.BackgroundTransparency = 1 PersonImage.Position = UDim2.new(0.0439549796, 0, 0.129411772, 0) PersonImage.Size = UDim2.new(0, 158, 0, 159) PersonImage.Visible = false PersonImage.ZIndex = 2 PersonImage.Image = "rbxassetid://924320031" PlayerName.Name = "PlayerName" PlayerName.Parent = Background PlayerName.BackgroundColor3 = Color3.new(1, 1, 1) PlayerName.BackgroundTransparency = 1 PlayerName.Position = UDim2.new(0.45420146, 0, 0.129411772, 0) PlayerName.Size = UDim2.new(0, 200, 0, 50) PlayerName.Visible = false PlayerName.ZIndex = 2 PlayerName.Font = Enum.Font.SourceSansLight PlayerName.TextColor3 = Color3.new(0, 0, 0) PlayerName.TextSize = 26 Age.Name = "Age" Age.Parent = Background Age.BackgroundColor3 = Color3.new(1, 1, 1) Age.BackgroundTransparency = 1 Age.Position = UDim2.new(0.45420146, 0, 0.325490206, 0) Age.Size = UDim2.new(0, 200, 0, 50) Age.Visible = false Age.ZIndex = 2 Age.Font = Enum.Font.SourceSansLight Age.TextColor3 = Color3.new(0, 0, 0) Age.TextSize = 26 Rank.Name = "Rank" Rank.Parent = Background Rank.BackgroundColor3 = Color3.new(1, 1, 1) Rank.BackgroundTransparency = 1 Rank.Position = UDim2.new(0.45420146, 0, 0.521568656, 0) Rank.Size = UDim2.new(0, 200, 0, 50) Rank.Visible = false Rank.ZIndex = 2 Rank.Font = Enum.Font.SourceSansLight Rank.TextColor3 = Color3.new(0, 0, 0) Rank.TextSize = 26 Drop_Shadow.Name = "Drop_Shadow" Drop_Shadow.Parent = Background Drop_Shadow.BackgroundColor3 = Color3.new(1, 1, 1) Drop_Shadow.BackgroundTransparency = 1 Drop_Shadow.Position = UDim2.new(0, -35, 0, -35) Drop_Shadow.Size = UDim2.new(1, 70, 1, 70) Drop_Shadow.Image = "rbxassetid://1113384364" Drop_Shadow.ImageTransparency = 0.5 Drop_Shadow.ScaleType = Enum.ScaleType.Slice Drop_Shadow.SliceCenter = Rect.new(50, 50, 50, 50) game.Players.PlayerAdded:Connect(function(p) Rank.Text = string.lower(p:GetRoleInGroup(950346)) Background.Visible = true Background:TweenSize(UDim2.new(0.213, 0,0.33, 0), "Out", "Quad", 0.40) wait(0.40) PersonImage.Visible = true Rank.Visible = true PlayerName.Visible = true Age.Visible = true PersonImage.Image = "http://www.roblox.com/thumbs/avatar.ashx?x=352&y=352&format=png&username="..p.Name PlayerName.Text = string.lower("[joined] "..p.Name) Age.Text = string.lower("Players in server: "..game.Players.NumPlayers.."/"..game.Players.MaxPlayers) wait(4) PersonImage.Visible = false Rank.Visible = false PlayerName.Visible = false Age.Visible = false Background:TweenSize(UDim2.new(0.213, 0,0.003, 0), "Out", "Quad", 0.40) wait(0.40) Background.Visible = false end) game.Players.PlayerRemoving:Connect(function(pl) Rank.Text = string.lower(pl:GetRoleInGroup(950346)) Background.Visible = true Background:TweenSize(UDim2.new(0.213, 0,0.33, 0), "Out", "Quad", 0.40) wait(0.40) PersonImage.Visible = true Rank.Visible = true PlayerName.Visible = true Age.Visible = true PersonImage.Image = "http://www.roblox.com/thumbs/avatar.ashx?x=352&y=352&format=png&username="..pl.Name PlayerName.Text = string.lower("[left] "..pl.Name) Age.Text = string.lower("Players in server: "..game.Players.NumPlayers.."/"..game.Players.MaxPlayers) wait(4) PersonImage.Visible = false Rank.Visible = false PlayerName.Visible = false Age.Visible = false Background:TweenSize(UDim2.new(0.213, 0,0.003, 0), "Out", "Quad", 0.40) wait(0.40) Background.Visible = false end)