Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ACCOUNCE = Instance.new("ScreenGui")
- local Frameq = Instance.new("Frame")
- local UIListLayout = Instance.new("UIListLayout")
- local tweenservice = game:GetService('TweenService')
- ACCOUNCE.Name = "ACCOUNCE"
- ACCOUNCE.Parent = game:FindFirstChild('CoreGui') or game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ACCOUNCE.ResetOnSpawn = false
- ACCOUNCE.ZIndexBehavior = Enum.ZIndexBehavior.Global
- ACCOUNCE.IgnoreGuiInset = true
- ACCOUNCE.Enabled = true
- Frameq.Parent = ACCOUNCE
- Frameq.AnchorPoint = Vector2.new(0.5, 0)
- Frameq.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Frameq.BackgroundTransparency = 1.000
- Frameq.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frameq.BorderSizePixel = 0
- Frameq.Position = UDim2.new(0.5, 0, 0.0441576131, 0)
- Frameq.Size = UDim2.new(0.600000024, 0, 0.100000001, 0)
- UIListLayout.Parent = Frameq
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 3)
- local function Create(subjectTexting,Texting)
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local DropShadow = Instance.new("ImageLabel")
- local TextLabel = Instance.new("TextLabel")
- local TextLabel_2 = Instance.new("TextLabel")
- local UIStroke = Instance.new("UIStroke")
- Frame.Parent = Frameq
- Frame.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Size = UDim2.new(0.850000024, 0, 0.99000001, 0)
- Frame.BackgroundTransparency = 1
- Frame.Size = UDim2.new(0.85,0,0,0)
- UICorner.CornerRadius = UDim.new(0, 3)
- UICorner.Parent = Frame
- DropShadow.Name = "DropShadow"
- DropShadow.Parent = Frame
- DropShadow.AnchorPoint = Vector2.new(0.5, 0.5)
- DropShadow.BackgroundTransparency = 1.000
- DropShadow.BorderSizePixel = 0
- DropShadow.Position = UDim2.new(0.5, 0, 0.5, 0)
- DropShadow.Size = UDim2.new(1, 47, 1, 47)
- DropShadow.ZIndex = -5
- DropShadow.Image = "rbxassetid://6015897843"
- DropShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
- DropShadow.ImageTransparency = 0.500
- DropShadow.ScaleType = Enum.ScaleType.Slice
- DropShadow.SliceCenter = Rect.new(49, 49, 450, 450)
- DropShadow.ImageTransparency = 1
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(1, 0, 0.311292261, 0)
- TextLabel.Font = Enum.Font.Unknown
- TextLabel.Text = subjectTexting or "Announce"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- TextLabel.TextTransparency = 1
- TextLabel_2.Parent = Frame
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0, 0, 0.343104959, 0)
- TextLabel_2.Size = UDim2.new(1, 0, 0.656894982, 0)
- TextLabel_2.Font = Enum.Font.GothamBold
- TextLabel_2.Text = Texting or "script has update pls rejoin or idk"
- TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14.000
- TextLabel_2.TextTransparency = 1
- TextLabel_2.TextWrapped = true
- TextLabel_2.Name = "___"
- UIStroke.Transparency = 1
- UIStroke.Color = Color3.fromRGB(255, 255, 255)
- UIStroke.Parent = Frame
- return Frame
- end
- local function start(subject,txting,tim)
- coroutine.wrap(function()
- pcall(function()
- tim = tim or 5
- local frame = Create(subject,txting)
- tweenservice:Create(frame,TweenInfo.new(0.45),{
- BackgroundTransparency = 0,
- Size = UDim2.new(0.85,0,0.99,0)
- }):Play()
- tweenservice:Create(frame:FindFirstChild('___'),TweenInfo.new(0.5),{
- TextTransparency = 0.35,
- }):Play()
- tweenservice:Create(frame:FindFirstChild('TextLabel'),TweenInfo.new(0.5),{
- TextTransparency = 0,
- }):Play()
- tweenservice:Create(frame:FindFirstChild('DropShadow'),TweenInfo.new(1),{
- ImageTransparency = 0.5,
- }):Play()
- tweenservice:Create(frame:FindFirstChild('UIStroke'),TweenInfo.new(0.5),{
- Transparency = 0.75,
- }):Play()
- task.wait(tim)
- tweenservice:Create(frame,TweenInfo.new(0.7),{
- BackgroundTransparency = 1,
- }):Play()
- tweenservice:Create(frame:FindFirstChild('___'),TweenInfo.new(0.5),{
- TextTransparency = 1,
- }):Play()
- tweenservice:Create(frame:FindFirstChild('TextLabel'),TweenInfo.new(0.5),{
- TextTransparency = 1,
- }):Play()
- tweenservice:Create(frame:FindFirstChild('DropShadow'),TweenInfo.new(0.6),{
- ImageTransparency = 1,
- }):Play()
- tweenservice:Create(frame:FindFirstChild('UIStroke'),TweenInfo.new(0.5),{
- Transparency = 1,
- }):Play()
- wait(1.1)
- -- Size = UDim2.new(0.85,0,0,0)
- tweenservice:Create(frame,TweenInfo.new(0.7),{
- BackgroundTransparency = 1,
- Size = UDim2.new(0.85,0,0,0)
- }):Play()
- wait(0.75)
- frame:Destroy()
- end)
- end)()
- return
- end
- local sung = {}
- function sung:NewAccounce<T...>(SubjectTXT,TXT,Time):()
- return start(SubjectTXT,TXT,Time)
- end
- return sung
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement