local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharcterAdded:wait()
local Camera = workspace.CurrentCamera
repeat wait()
Camera.CameraType = Enum.CameraType.Scriptable
until Camera.CameraType == Enum.CameraType.Scriptable
Camera.CFrame = workspace.diarrea.CFrame
game.Players.LocalPlayer.CameraMaxZoomDistance = 50
game.Players.LocalPlayer.CameraMinZoomDistance = 50
script.Parent.MouseButton1Click:connect(function()
game.Players.LocalPlayer.CameraMaxZoomDistance = 0
game.Players.LocalPlayer.CameraMinZoomDistance = 0
game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
game.Workspace.CurrentCamera.CameraType = "Custom"
script.Parent.Parent.Visible = false
end)
when the button clicks, it should force them into first person, but it doesn't do that? Why...? |