local part = Instance.new("Part")
part.Name = "Part"
part.Anchored = true
part.BottomSurface = Enum.SurfaceType.Smooth
part.CanCollide = false
part.CanQuery = false
part.CanTouch = false
local size = 27
part.Size = Vector3.new(27 * (9/16), 27, 0.1)
part.CFrame = CFrame.new(0, size / 2, 20, 1, 0, 0, 0, 1, 0, 0, 0, 1)
part.TopSurface = Enum.SurfaceType.Smooth
local surfaceGui = Instance.new("SurfaceGui")
surfaceGui.Name = "SurfaceGui"
surfaceGui.ClipsDescendants = true
surfaceGui.MaxDistance = 1e+03
surfaceGui.SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud
surfaceGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
local bg = Instance.new("ImageLabel")
bg.Name = "bg"
bg.Image = "rbxassetid://1363039319"
bg.ImageColor3 = Color3.fromRGB(158, 158, 158)
bg.AnchorPoint = Vector2.new(0.5, 0.5)
bg.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
bg.BorderColor3 = Color3.fromRGB(0, 0, 0)
bg.BorderSizePixel = 0
bg.Position = UDim2.fromScale(0.5, 0.5)
bg.Size = UDim2.fromScale(1, 1)
bg.ZIndex = 0
local uIScale = Instance.new("UIScale")
uIScale.Name = "UIScale"
uIScale.Scale = 4
uIScale.Parent = bg
local uIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
uIAspectRatioConstraint.Name = "UIAspectRatioConstraint"
uIAspectRatioConstraint.AspectRatio = 1.5
uIAspectRatioConstraint.Parent = bg
bg.Parent = surfaceGui
local bottomtext = Instance.new("TextLabel")
bottomtext.Name = "bottomtext"
bottomtext.FontFace = Font.new(
"rbxasset://fonts/families/SourceSansPro.json",
Enum.FontWeight.Bold,
Enum.FontStyle.Normal
)
bottomtext.Text = "now yuo see..."
bottomtext.TextColor3 = Color3.fromRGB(255, 255, 255)
bottomtext.TextScaled = true
bottomtext.TextSize = 14
bottomtext.TextStrokeTransparency = 0.5
bottomtext.TextWrapped = true
bottomtext.AnchorPoint = Vector2.new(0.5, 0.5)
bottomtext.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
bottomtext.BackgroundTransparency = 1
bottomtext.BorderColor3 = Color3.fromRGB(0, 0, 0)
bottomtext.BorderSizePixel = 0
bottomtext.Position = UDim2.fromScale(0.5, 0.74)
bottomtext.Size = UDim2.fromScale(1, 0.1)
bottomtext.Parent = surfaceGui
local bottomicon = Instance.new("ImageLabel")
bottomicon.Name = "bottomicon"
bottomicon.Image = "rbxassetid://18614014904"
bottomicon.AnchorPoint = Vector2.new(0.5, 0.5)
bottomicon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
bottomicon.BackgroundTransparency = 1
bottomicon.BorderColor3 = Color3.fromRGB(0, 0, 0)
bottomicon.BorderSizePixel = 0
bottomicon.Position = UDim2.fromScale(0.5, 0.9)
bottomicon.Size = UDim2.fromScale(0.3, 0.3)
local uIAspectRatioConstraint1 = Instance.new("UIAspectRatioConstraint")
uIAspectRatioConstraint1.Name = "UIAspectRatioConstraint"
uIAspectRatioConstraint1.Parent = bottomicon
bottomicon.Parent = surfaceGui
local toptext = Instance.new("TextLabel")
toptext.Name = "toptext"
toptext.FontFace = Font.new(
"rbxasset://fonts/families/SourceSansPro.json",
Enum.FontWeight.Bold,
Enum.FontStyle.Normal
)
toptext.Text = "kindest skid"
toptext.TextColor3 = Color3.fromRGB(255, 255, 255)
toptext.TextScaled = true
toptext.TextSize = 14
toptext.TextStrokeTransparency = 0.5
toptext.TextWrapped = true
toptext.AnchorPoint = Vector2.new(0.5, 0.5)
toptext.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
toptext.BackgroundTransparency = 1
toptext.BorderColor3 = Color3.fromRGB(0, 0, 0)
toptext.BorderSizePixel = 0
toptext.Position = UDim2.fromScale(0.5, 0.05)
toptext.Size = UDim2.fromScale(1, 0.1)
toptext.Parent = surfaceGui
local content = Instance.new("ImageLabel")
content.Name = "content"
content.Image = "http://www.roblox.com/asset/?id=95214704954769"
content.ScaleType = Enum.ScaleType.Fit
content.AnchorPoint = Vector2.new(0.5, 0.5)
content.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
content.BackgroundTransparency = 1
content.BorderColor3 = Color3.fromRGB(0, 0, 0)
content.BorderSizePixel = 0
content.Position = UDim2.fromScale(0.5, 0.5)
content.Size = UDim2.fromScale(0.9, 0.6)
local uIAspectRatioConstraint2 = Instance.new("UIAspectRatioConstraint")
uIAspectRatioConstraint2.Name = "UIAspectRatioConstraint"
uIAspectRatioConstraint2.Parent = content
content.Parent = surfaceGui
local blackout = Instance.new("Frame")
blackout.ZIndex = 999999
blackout.Size = UDim2.fromScale(1, 1)
blackout.BackgroundColor3 = Color3.new()
blackout.Parent = surfaceGui
surfaceGui.Parent = part
local songs = {
{"rbxassetid://126460727304408", 1.55}, -- my lifes a party
{"rbxassetid://87369392122649", 2.5}, -- kiss me again
{"rbxassetid://77228032583285", 1.667}
}
local mus = Instance.new("Sound", part)
mus.Volume = 1.5
mus.RollOffMinDistance = 50
mus.RollOffMaxDistance = 300
mus.RollOffMode = Enum.RollOffMode.Linear
function setsong(csong)
mus.SoundId = songs[csong][1]
mus.PlaybackSpeed = songs[csong][2]
mus:Play()
mus.Ended:Once(function()
csong += 1
if csong > #songs then
csong = 1
end
setsong(csong)
end)
end
task.spawn(function()
local t = 0
while true do
t += task.wait() * 0.05
local x = math.noise(t, 0) * 0.5
local y = math.noise(t, t) * 0.5
bg.Position = UDim2.fromScale(0.5 + x, 0.5 + y)
end
end)
part.Parent = script
function opening()
setsong(math.random(1, #songs))
task.wait(0.5)
game:GetService("TweenService"):Create(blackout, TweenInfo.new(6), {BackgroundTransparency = 1}):Play()
task.wait(30)
game:GetService("TweenService"):Create(blackout, TweenInfo.new(2), {BackgroundTransparency = 0}):Play()
task.wait(2)
opening()
end
opening()