Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map = game:GetObjects("rbxassetid://16275693682")[1]
- FnafSong = Instance.new("Sound")
- GameUserInterface = Instance.new("ScreenGui")
- FullScreenBlack = Instance.new("Frame")
- PlayButton = Instance.new("TextButton")
- QuiteButton = Instance.new("TextButton")
- Value_1 = 0
- Players = game:GetService("Players")
- LocalPlayer = Players.LocalPlayer
- OfficeSoundPart = Instance.new("Part")
- Character = LocalPlayer.Character
- LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
- Sky = Instance.new("Sky")
- PrevImg = Instance.new("ImageLabel")
- Office = Instance.new("Sound")
- CreditsButton = Instance.new("TextButton")
- BackButton = Instance.new("TextButton")
- Dev = Instance.new("ImageLabel")
- DevName = Instance.new("TextLabel")
- Fog = game:GetService("Lighting")
- GameUserInterface.Parent = game.CoreGui
- Map.Parent = game.Workspace
- OfficeSoundPart.Parent = workspace
- OfficeSoundPart.Anchored = true
- OfficeSoundPart.Size = Vector3.new(4, 1, 2)
- OfficeSoundPart.CanCollide = false
- OfficeSoundPart.Rotation = Vector3.new(0, 180, 0)
- OfficeSoundPart.Position = Vector3.new(21.795, 3819.432, 37.465)
- OfficeSoundPart.Transparency = 1
- PrevImg.Name = "PrevImg"
- PrevImg.Parent = GameUserInterface
- PrevImg.AnchorPoint = Vector2.new(0.5, 0.5)
- PrevImg.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- PrevImg.Position = UDim2.new(0.5, 0, 0.455, 0)
- PrevImg.Size = UDim2.new(2, 2, 2.22, 2)
- PrevImg.Image = "rbxassetid://18683827710"
- Sky.Name = "Sky"
- Sky.SkyboxBk = "http://www.roblox.com/asset/?id=248431616"
- Sky.SkyboxDn = "http://www.roblox.com/asset/?id=248431677"
- Sky.SkyboxFt = "http://www.roblox.com/asset/?id=248431598"
- Sky.SkyboxLf = "http://www.roblox.com/asset/?id=248431686"
- Sky.SkyboxRt = "http://www.roblox.com/asset/?id=248431611"
- Sky.SkyboxUp = "http://www.roblox.com/asset/?id=248431605"
- Sky.Parent = game.Lighting
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(75.473, 3861.811, -59.104)
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
- PlayButton.Name = "PlayButton"
- PlayButton.Parent = GameUserInterface
- PlayButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- PlayButton.BackgroundTransparency = 1
- PlayButton.Position = UDim2.new(0.05, 0, 0.88, 0)
- PlayButton.Size = UDim2.new(0, 190, 0, 50)
- PlayButton.AutoButtonColor = false
- PlayButton.Font = Enum.Font.Arcade
- PlayButton.Text = "Play"
- PlayButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- PlayButton.TextSize = 14.000
- PlayButton.TextScaled = true
- PlayButton.TextWrapped = true
- BackButton.Name = "BackButton"
- BackButton.Parent = GameUserInterface
- BackButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- BackButton.BackgroundTransparency = 1
- BackButton.Position = UDim2.new(0.4, 0, 0.88, 0)
- BackButton.Size = UDim2.new(0, 190, 0, 50)
- BackButton.AutoButtonColor = false
- BackButton.Font = Enum.Font.Arcade
- BackButton.Text = "Back"
- BackButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- BackButton.TextSize = 14.000
- BackButton.TextScaled = true
- BackButton.TextWrapped = true
- BackButton.Visible = false
- CreditsButton.Name = "CreditsButton"
- CreditsButton.Parent = GameUserInterface
- CreditsButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- CreditsButton.BackgroundTransparency = 1
- CreditsButton.Position = UDim2.new(0.4, 0, 0.88, 0)
- CreditsButton.Size = UDim2.new(0, 190, 0, 50)
- CreditsButton.AutoButtonColor = false
- CreditsButton.Font = Enum.Font.Arcade
- CreditsButton.Text = "Credits"
- CreditsButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- CreditsButton.TextSize = 14.000
- CreditsButton.TextScaled = true
- CreditsButton.TextWrapped = true
- QuiteButton.Name = "QuiteButton"
- QuiteButton.Parent = GameUserInterface
- QuiteButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- QuiteButton.BackgroundTransparency = 1
- QuiteButton.Position = UDim2.new(0.75, 0, 0.88, 0)
- QuiteButton.Size = UDim2.new(0, 190, 0, 50)
- QuiteButton.AutoButtonColor = false
- QuiteButton.Font = Enum.Font.Arcade
- QuiteButton.Text = "Quite"
- QuiteButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- QuiteButton.TextSize = 14.000
- QuiteButton.TextScaled = true
- QuiteButton.TextWrapped = true
- FullScreenBlack.Parent = GameUserInterface
- FullScreenBlack.Position = UDim2.new(0.5, 0, 0.455, 0)
- FullScreenBlack.Size = UDim2.new(1, 1, 1.11, 1)
- FullScreenBlack.AnchorPoint = Vector2.new(0.5, 0.5)
- FullScreenBlack.BackgroundTransparency = Value_1
- FullScreenBlack.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- FullScreenBlack.BorderSizePixel = 0
- Dev.Name = "Dev"
- Dev.Parent = GameUserInterface
- Dev.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Dev.Position = UDim2.new(0.4, 0, -0.05, 0)
- Dev.Size = UDim2.new(0, 180, 0, 180)
- Dev.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=3323558881&width=999&height=999&format=png"
- Dev.Visible = false
- DevName.Name = "DevName"
- DevName.Parent = GameUserInterface
- DevName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DevName.Position = UDim2.new(0.4, 0, 0.4, 0)
- DevName.Size = UDim2.new(0, 180, 0, 200)
- DevName.Font = Enum.Font.Arcade
- DevName.Text = "ERROR_CODE \n\n\nH.Programmer \n H.Designer \n H.Developer"
- DevName.TextColor3 = Color3.fromRGB(0, 0, 0)
- DevName.TextSize = 20
- DevName.TextScaled = false
- DevName.TextWrapped = true
- DevName.Visible = false
- wait(2)
- Office.Parent = OfficeSoundPart
- Office.SoundId = "rbxassetid://7018639553"
- Office.Playing = true
- Office.Looped = true
- Office.Volume = 0.5
- Office:Stop()
- FnafSong.Parent = game.Workspace
- FnafSong.SoundId = "rbxassetid://6913550990"
- FnafSong.Playing = true
- FnafSong.Looped = true
- FnafSong.Volume = 1
- FnafSong:Stop()
- spawn(function()
- for i = 1,100 do
- wait()
- Value_1 = Value_1 + 0.01
- FullScreenBlack.BackgroundTransparency = Value_1
- end
- end)
- PrevImg:TweenSize(UDim2.new(1, 1, 1.11, 1),"InOut","Sine",10)
- FnafSong:Play()
- PlayButton.MouseButton1Click:Connect(function()
- FnafSong:Stop()
- Office:Play()
- PrevImg.Visible = false
- PlayButton.Visible = false
- QuiteButton.Visible = false
- CreditsButton.Visible = false
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(21.379, 3817, 47.049)
- Fog.FogEnd = 50
- Fog.FogColor = Color3.new(0, 0, 0)
- Fog.TimeOfDay = 0
- end)
- CreditsButton.MouseButton1Click:Connect(function()
- PlayButton.Visible = false
- QuiteButton.Visible = false
- BackButton.Visible = true
- CreditsButton.Visible = false
- Dev.Visible = true
- DevName.Visible = true
- end)
- BackButton.MouseButton1Click:Connect(function()
- PlayButton.Visible = true
- QuiteButton.Visible = true
- BackButton.Visible = false
- CreditsButton.Visible = true
- Dev.Visible = false
- DevName.Visible = false
- end)
- QuiteButton.MouseButton1Click:Connect(function()
- LocalPlayer:Kick("See You Soon")
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement