Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Map = game:GetObjects("rbxassetid://16275693682")[1]
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- local FnafSong = Instance.new("Sound")
- local GameUserInterface = Instance.new("ScreenGui")
- local FullScreenBlack = Instance.new("Frame")
- local PlayButton = Instance.new("TextButton")
- local QuiteButton = Instance.new("TextButton")
- local Value_1 = 0
- local Value_2 = -135.34
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local CameraPart = Instance.new("Part")
- local Character = LocalPlayer.Character
- local cam = workspace.CurrentCamera
- LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
- Sky = Instance.new("Sky")
- Model0 = Instance.new("Model")
- Script = Instance.new("Script")
- cam.CameraType = Enum.CameraType.Attach
- cam.CameraSubject = CameraPart
- GameUserInterface.Parent = game.CoreGui
- Map.Parent = game.Workspace
- CameraPart.Parent = workspace
- CameraPart.Anchored = true
- CameraPart.Size = Vector3.new(4, 1, 2)
- CameraPart.CanCollide = false
- CameraPart.Rotation = Vector3.new(0, 180, 0)
- CameraPart.Position = Vector3.new(107.58, 3843.68, Value_2)
- CameraPart.Transparency = 1
- 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)
- Script.Parent = Model0
- table.insert(cors,sandbox(Script,function()
- while true do
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(7)
- script.Sound:Play()
- wait(5)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(5)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(5)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(1)
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(1)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(0)
- game.Lighting.Brightness = 9999999
- wait(0)
- game.Lighting.Brightness = 0
- wait(7)
- end
- end))
- 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
- 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
- FnafSong.Parent = game.Workspace
- FnafSong.SoundId = "rbxassetid://6913550990"
- FnafSong.Playing = true
- FnafSong.Looped = false
- FnafSong.Volume = 1
- FnafSong:Stop()
- spawn(function()
- for i = 1,50 do
- wait(0)
- Value_1 = Value_1 + 0.02
- FullScreenBlack.BackgroundTransparency = Value_1
- end
- end)
- spawn(function()
- for i = 1,150 do
- wait(0)
- Value_2 = Value_2 - 0.08
- CameraPart.Position= Vector3.new(107.58, 3843.68, Value_2)
- end
- end)
- FnafSong:Play()
- PlayButton.MouseButton1Click:Connect(function()
- FnafSong:Stop()
- cam.CameraSubject = Character
- cam.CameraType = Enum.CameraType.Track
- Script:Destroy()
- PlayButton.Visible = false
- QuiteButton.Visible = false
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(21.379, 3815.431, 47.049)
- end)
- QuiteButton.MouseButton1Click:Connect(function()
- LocalPlayer:Kick("See You Soon")
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement