Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UIGui = Instance.new("ScreenGui")
- local NotifFrame = Instance.new("Frame")
- local NotifFrameUICorner = Instance.new("UICorner")
- local Label1 = Instance.new("TextLabel")
- local Label2 = Instance.new("TextLabel")
- local DeveloperImage = Instance.new("ImageLabel")
- local DeveloperImageUICorner = Instance.new("UICorner")
- local NotifSound = Instance.new("Sound")
- local DeveloperID = 3323558881
- UIGui.Parent = game.CoreGui
- NotifSound.Parent = game.Workspace
- NotifSound.SoundId = "rbxassetid://5153734608"
- NotifSound.Playing = true
- NotifSound.Looped = false
- NotifSound.Volume = 1
- NotifSound:Stop()
- DeveloperImage.Visible = false
- Label1.Visible = false
- Label2.Visible = false
- NotifFrame.Name = "NotifFrame"
- NotifFrame.Parent = UIGui
- NotifFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- NotifFrame.BackgroundTransparency = 0.5
- NotifFrame.Position = UDim2.new(0.3, 0, 0.15, 0)
- NotifFrame.Size = UDim2.new(0, 0, 0, 0)
- NotifFrame.BorderSizePixel = 0
- NotifFrameUICorner.Parent = NotifFrame
- DeveloperImage.Name = "PlayerIcon"
- DeveloperImage.Parent = NotifFrame
- DeveloperImage.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- DeveloperImage.BackgroundTransparency = 0.5
- DeveloperImage.Position = UDim2.new(0.86, 0, 0.78, 0)
- DeveloperImage.Size = UDim2.new(0, 50, 0, 50)
- DeveloperImage.BorderSizePixel = 0
- DeveloperImage.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=3323558881&width=999&height=999&format=png"
- DeveloperImageUICorner.Parent = DeveloperImage
- DeveloperImageUICorner.CornerRadius = UDim.new(0.5, 0)
- Label1.Name = "Label1"
- Label1.Parent = NotifFrame
- Label1.BackgroundTransparency = 1
- Label1.Position = UDim2.new(0.5, 0, 0.05, 0)
- Label1.Size = UDim2.new(0, 1, 0, 1)
- Label1.Font = Enum.Font.SourceSansBold
- Label1.Text = "!WARNING!"
- Label1.TextColor3 = Color3.fromRGB(255, 255, 255)
- Label1.TextSize = 50
- Label2.Name = "Label2"
- Label2.Parent = NotifFrame
- Label2.BackgroundTransparency = 1
- Label2.Position = UDim2.new(0.5, 0, 0.5, 0)
- Label2.Size = UDim2.new(0, 1, 0, 1)
- Label2.Font = Enum.Font.SourceSansBold
- Label2.Text = "The developer \"ERROR_CODE\"\n has joined to the experience. \nDon't swear until he \ngets out of the experience and everything will be fine."
- Label2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Label2.TextSize = 20
- game.Players.PlayerAdded:Connect(function(player)
- if player.UserId == DeveloperID then
- NotifSound:Play()
- NotifFrame:TweenSize(UDim2.new(0, 400, 0, 250), 'Out', 4, true)
- wait(0.5)
- Label2.Text = "The developer \"ERROR_CODE\"\n has joined to the experience. \nDon't swear until he \ngets out of the experience and everything will be fine."
- DeveloperImage.Visible = true
- Label1.Visible = true
- Label2.Visible = true
- wait(4.5)
- DeveloperImage.Visible = false
- Label1.Visible = false
- Label2.Visible = false
- NotifFrame:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 4, true)
- wait(0.5)
- NotifFrame.Visible = false
- end
- end)
- game.Players.PlayerRemoving:Connect(function(player)
- if player.UserId == DeveloperID then
- NotifSound:Play()
- NotifFrame:TweenSize(UDim2.new(0, 400, 0, 250), 'Out', 4, true)
- wait(0.5)
- Label2.Text = "The developer \"ERROR_CODE\"\n has leaved."
- DeveloperImage.Visible = true
- Label1.Visible = true
- Label2.Visible = true
- wait(4.5)
- DeveloperImage.Visible = false
- Label1.Visible = false
- Label2.Visible = false
- NotifFrame:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 4, true)
- wait(0.5)
- NotifFrame.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement