I have an intro involving camera which works fine but in the aftermath it lets the camera go through bricks instead of moving forward in front of it. how can I fix this? here is the script that resets the camera:
wait(3) local player = script.Parent.Parent gui1 = script.Parent.OpeningPlayer.Frame2 gui1:TweenPosition(UDim2.new(0.5, 0, 0.5, 0), "Out", "Sine", 2, true) --ignore tweening, it works wait(10) script.Parent.LocalScript:Destroy() game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = "custom"-- I tried fixed but then it wouldn't attach to the player wait(2) gui1:TweenPosition(UDim2.new(0.5, 0, -0.5, 0), "Out", "Sine", 1, true)
The CameraType should be "Custom"
not "custom"
.