Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = "Titanic, Southampton, England to New York City. Board today and ride the most luxury ship ever built by man-kind."
- for i,v in pairs(game.Players:GetChildren()) do
- if not v.PlayerGui:FindFirstChild("titanic") then
- coroutine.resume(coroutine.create(function()
- ScreenGui0 = Instance.new("ScreenGui")
- Frame1 = Instance.new("Frame")
- TextLabel2 = Instance.new("TextLabel")
- TextLabel3 = Instance.new("TextLabel")
- ScreenGui0.Name = "titanic"
- ScreenGui0.Parent = v.PlayerGui
- ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame1.Parent = ScreenGui0
- Frame1.Position = UDim2.new(0.5, -199, 0.5, -200)
- Frame1.Size = UDim2.new(0, 398, 0, 400)
- Frame1.BackgroundColor = BrickColor.new("Really black")
- Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel2.Name = "message"
- TextLabel2.Parent = Frame1
- TextLabel2.Size = UDim2.new(1, 0, 1, 0)
- TextLabel2.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel2.BackgroundTransparency = 1
- TextLabel2.Font = Enum.Font.Code
- TextLabel2.FontSize = Enum.FontSize.Size24
- TextLabel2.Text = ""
- TextLabel2.TextColor = BrickColor.new("Institutional white")
- TextLabel2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel2.TextSize = 24
- TextLabel2.TextWrap = true
- TextLabel2.TextWrapped = true
- TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel2.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel3.Name = "to"
- TextLabel3.Parent = Frame1
- TextLabel3.Position = UDim2.new(0, 0, -0.100000001, 0)
- TextLabel3.Size = UDim2.new(1, 0, 0.100000001, 0)
- TextLabel3.BackgroundColor = BrickColor.new("Really black")
- TextLabel3.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel3.Font = Enum.Font.Code
- TextLabel3.FontSize = Enum.FontSize.Size24
- TextLabel3.Text = "Titanic to".." "..v.Name
- TextLabel3.TextColor = BrickColor.new("Institutional white")
- TextLabel3.TextColor3 = Color3.new(1, 1, 1)
- TextLabel3.TextSize = 24
- TextLabel3.TextWrap = true
- TextLabel3.TextWrapped = true
- TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
- end))
- end
- end
- for i,v in pairs(game.Players:GetChildren()) do
- if v.PlayerGui:FindFirstChild("titanic") then
- coroutine.resume(coroutine.create(function()
- for i=1,#text do
- v.PlayerGui:FindFirstChild("titanic").Frame.message.Text = string.sub(text,1,i)
- wait(0.1)
- end
- wait(4)
- for i,v in pairs(game.Players:GetChildren()) do
- if v.PlayerGui:FindFirstChild("titanic") then
- v.PlayerGui:FindFirstChild("titanic"):Destroy()
- end
- end
- end))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement