Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

camera script won't work :(?

local player = game.Players.LocalPlayer
local Camera = workspace.CurrentCamera
scorer = workspace.Goals.Ball.LastKick
while true do 
Camera.CameraSubject = game.Players:FindFirstChild(scorer.Value).Character.Humanoid
Camera.CameraType = "Watch"
	wait(10) -- it works perfectly until this point
Camera.CameraSubject = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
script.Disabled = true
end

what this script is suppose to do is when this script is true, it will make all the players view the same camera as scorer.Value and its suppose to bring back the regular players cameras after 10 seconds. It works however it doesnt bring back the regular players cameras, it just keeps showing the same camera as scorer.Value please help me !

1 answer

✓ Accepted answer

After line 8 add this:

Camera.CameraType = "Custom"

This discussion is preserved as it was. New answers, comments, and votes are closed.