Advertisement
Richbadniss

This wont work

Oct 16th, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.51 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local character = player.CharacterAdded
  3. local mouse = player:GetMouse()
  4. local camera = game.Workspace.CurrentCamera
  5. local playbut = script.Parent.PlayFrame.Play.playButton
  6. local playframe = script.Parent.PlayFrame
  7. local UpdateButten1 = playframe.Update.UpdateButten
  8.  
  9. local Udates = script.Parent.Updates
  10. local Backbutten = Udates.BackButten
  11.  
  12. local defaltCframe = camera.CFrame
  13. local vew = 160
  14. local blur = game.Lighting.Blur
  15. blur.Enabled = true
  16.  
  17. blur.Size = 20
  18. playframe.Visible = true
  19.  
  20. function UpdateCamera()
  21.     camera.CFrame = game.Workspace.Camera2.CFrame
  22. end
  23.  
  24. game:GetService("RunService").RenderStepped:Connect(UpdateCamera)
  25.  
  26. script.Parent.PlayFrame.Play.playButton.MouseButton1Click:Connect(function()
  27.     camera.CameraType = Enum.CameraType.Custom
  28.     playframe.Visible = false
  29.     script:Destroy()
  30. end)
  31. local debounce = false
  32. UpdateButten1.MouseButton1Click:connect(function()
  33.     if debounce == false then
  34.  
  35.         Backbutten.Selectable = false
  36.         Backbutten.Active= false
  37.         Udates.Visible = true
  38.         Backbutten.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  39.         Backbutten.Text = 3
  40.         wait(1)
  41.         Backbutten.Text = 2
  42.         wait(1)
  43.         Backbutten.Text = 1
  44.         wait(1)
  45.         Backbutten.Selectable = true
  46.         Backbutten.Active = true
  47.         Backbutten.BackgroundColor3 = Color3.fromRGB(85, 255, 127)
  48.         Backbutten.Text = "Okay"
  49.        
  50.         debounce = true
  51.     end
  52.     if debounce == true then
  53.         wait()
  54.         Backbutten.MouseButton1Click(function()
  55.             Udates.Visible = false
  56.         end)
  57.            
  58.     end
  59.    
  60. end)
  61.  
  62.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement