Whenever you die in my game your camera gets stuck to where you died. How can I fix this?
What are you using to make the camera follow your player after you finish camera animation when you get off the ship? CurrentCamera.CFrame?
game.Workspace.CurrentCamera:remove()
wait(.1)
game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
game.Workspace.CurrentCamera.CameraType = "Custom"
1 Like
local camera = workspace.CurrentCamera
local localPlayer = game.Players.LocalPlayer
local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
function clicked()
local GUI = localPlayer.PlayerGui
GUI["Menu GUI"].Enabled = false
camera.CameraType = Enum.CameraType.Custom
end
script.Parent.MouseButton1Click:Connect(clicked)
Thank you for the help. You went right to the point, finally.
1 Like