Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent.Blur.Parent = game.Lighting
- game.Workspace.Camera.FieldOfView = 120
- game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
- script.Parent.Auto.BackgroundTransparency = .75
- script.Parent.Auto.TextTransparency = 0
- script.Parent.Manual.BackgroundTransparency = .75
- script.Parent.Manual.TextTransparency = 0
- script.Parent.Parent.Parent.Parent.Character.Torso.Anchored = true
- script.Parent.Recommended.TextTransparency = 0
- script.Parent.Recommended.BackgroundTransparency = 1
- script.Parent.AutoT.TextTransparency = 0
- script.Parent.AutoT.BackgroundTransparency = .9
- script.Parent.ManualT.TextTransparency = 0
- script.Parent.ManualT.BackgroundTransparency = .9
- function ManualClicked(plr)
- if script.Parent.Parent.Parent.Parent.manualorauto.Value == '' then
- script.Parent.Parent.Parent.Parent.manualorauto.Value = 'Manual'
- game.Workspace.CurrentCamera.CameraSubject = game.Workspace:FindFirstChild(script.Parent.Parent.Parent.Parent.Name).Humanoid
- game.Workspace.CurrentCamera.CameraType = 'Custom'
- for i=1,50 do
- game.Workspace.Camera.FieldOfView = game.Workspace.Camera.FieldOfView - 1
- wait(.01)
- end
- game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
- game.Lighting.Blur:Remove()
- for i = 1, 15 do
- script.Parent.Manual.BackgroundTransparency = script.Parent.Manual.BackgroundTransparency - .5
- end
- script.Parent.Parent.Parent.Parent.Character.Torso.Anchored = false
- script.Parent.Parent:Destroy()
- end
- end
- function AutoClicked(plr)
- if script.Parent.Parent.Parent.Parent.manualorauto.Value == '' then
- script.Parent.Parent.Parent.Parent.manualorauto.Value = 'Auto'
- game.Workspace.CurrentCamera.CameraSubject = game.Workspace:FindFirstChild(script.Parent.Parent.Parent.Parent.Name).Humanoid
- game.Workspace.CurrentCamera.CameraType = 'Custom'
- for i=1,50 do
- game.Workspace.Camera.FieldOfView = game.Workspace.Camera.FieldOfView - 1
- wait(.01)
- end
- game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
- game.Lighting.Blur:Remove()
- for i = 1, 15 do
- script.Parent.Manual.BackgroundTransparency = script.Parent.Manual.BackgroundTransparency - .5
- end
- script.Parent.Parent.Parent.Parent.Character.Torso.Anchored = false
- script.Parent.Parent:Destroy()
- end
- end
- script.Parent.Manual.MouseButton1Click:connect(ManualClicked)
- script.Parent.Auto.MouseButton1Click:connect(AutoClicked)
- local angle = 0
- while script.Parent.Parent.Parent.Parent.manualorauto.Value == '' do
- game.Workspace.CurrentCamera.CameraType = 'Scriptable'
- game.Workspace.CurrentCamera.CameraSubject = game.Workspace.Baseplate
- game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(game.Workspace.Baseplate.Position)
- * CFrame.Angles(0, angle, 0)
- * CFrame.new(0,25,0)
- angle = angle + math.rad(1)
- wait(.01)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement