Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- id = 950346
- -- 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")
- local LoadingFrame = Instance.new("ImageLabel")
- local Drop_Shadow_2 = Instance.new("ImageLabel")
- local LoadingIcon = Instance.new("ImageLabel")
- local TextLabel = Instance.new("TextLabel")
- -- 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)
- LoadingFrame.Name = "LoadingFrame"
- LoadingFrame.Parent = JoinNotify
- LoadingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- LoadingFrame.BackgroundTransparency = 1
- LoadingFrame.Position = UDim2.new(0.423988521, 0, 0.31853804, 0)
- LoadingFrame.Size = UDim2.new(0.140761793, 0, 0.413424611, 0)
- LoadingFrame.ZIndex = 2
- LoadingFrame.Image = "rbxassetid://760929926"
- LoadingFrame.ScaleType = Enum.ScaleType.Slice
- LoadingFrame.SliceCenter = Rect.new(5, 5, 5, 5)
- Drop_Shadow_2.Name = "Drop_Shadow"
- Drop_Shadow_2.Parent = LoadingFrame
- Drop_Shadow_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Drop_Shadow_2.BackgroundTransparency = 1
- Drop_Shadow_2.Position = UDim2.new(0, -35, 0, -35)
- Drop_Shadow_2.Size = UDim2.new(1, 70, 1, 70)
- Drop_Shadow_2.Image = "rbxassetid://1113384364"
- Drop_Shadow_2.ImageTransparency = 0.5
- Drop_Shadow_2.ScaleType = Enum.ScaleType.Slice
- Drop_Shadow_2.SliceCenter = Rect.new(50, 50, 50, 50)
- LoadingIcon.Name = "LoadingIcon"
- LoadingIcon.Parent = LoadingFrame
- LoadingIcon.BackgroundColor3 = Color3.new(1, 1, 1)
- LoadingIcon.BackgroundTransparency = 1
- LoadingIcon.BorderSizePixel = 0
- LoadingIcon.Position = UDim2.new(0.294455498, 0, 0.112047158, 0)
- LoadingIcon.Size = UDim2.new(0, 111, 0, 110)
- LoadingIcon.ZIndex = 5
- LoadingIcon.Image = "rbxassetid://714343976"
- LoadingIcon.ImageColor3 = Color3.new(0.509804, 0.509804, 0.509804)
- TextLabel.Parent = LoadingFrame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.114951566, 0, 0.597733736, 0)
- TextLabel.Size = UDim2.new(0, 215, 0, 50)
- TextLabel.ZIndex = 6
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.Text = "Best cafe Join Notifier"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- for i=1,150 do wait()
- local timeInCycle = tick() % 2
- local cycleAlpha = (function()
- local t = (timeInCycle / 2) * 2
- if t < 1 then
- return 1 / 2 * t*t*t + 0
- else
- t = t - 2
- return 1 / 2 * (t * t * t + 2) + 1
- end
- end)()
- LoadingIcon.Rotation = cycleAlpha * 360
- end
- LoadingIcon.Visible = false
- TextLabel.Visible = false
- LoadingFrame:TweenSize(UDim2.new(0.141, 0,0.001, 0), "Out", "Quad", 0.40)
- wait(0.40)
- LoadingFrame.Visible = false
- game.Players.PlayerAdded:Connect(function(p)
- Rank.Text = string.lower(p:GetRoleInGroup(id))
- 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(id))
- 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)
Advertisement
Add Comment
Please, Sign In to add comment