Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local character = player.CharacterAdded
- local mouse = player:GetMouse()
- local camera = game.Workspace.CurrentCamera
- local playbut = script.Parent.PlayFrame.Play.playButton
- local playframe = script.Parent.PlayFrame
- local UpdateButten1 = playframe.Update.UpdateButten
- local Udates = script.Parent.Updates
- local Backbutten = Udates.BackButten
- local defaltCframe = camera.CFrame
- local vew = 160
- local blur = game.Lighting.Blur
- blur.Enabled = true
- blur.Size = 20
- playframe.Visible = true
- function UpdateCamera()
- camera.CFrame = game.Workspace.Camera2.CFrame
- end
- game:GetService("RunService").RenderStepped:Connect(UpdateCamera)
- script.Parent.PlayFrame.Play.playButton.MouseButton1Click:Connect(function()
- camera.CameraType = Enum.CameraType.Custom
- playframe.Visible = false
- script:Destroy()
- end)
- local debounce = false
- UpdateButten1.MouseButton1Click:connect(function()
- if debounce == false then
- Backbutten.Selectable = false
- Backbutten.Active= false
- Udates.Visible = true
- Backbutten.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
- Backbutten.Text = 3
- wait(1)
- Backbutten.Text = 2
- wait(1)
- Backbutten.Text = 1
- wait(1)
- Backbutten.Selectable = true
- Backbutten.Active = true
- Backbutten.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
- Backbutten.Text = "Okay"
- debounce = true
- end
- if debounce == true then
- wait()
- Backbutten.MouseButton1Click(function()
- Udates.Visible = false
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement