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

Sudden White Screen? - Interpolating Camera

This script is to move through cameras and locate the focus and CoordinateFrame inside models. The movement is fine and is actually exactly what I'm looking for, but once the Camera goes into position, the screen turns white. Any insight on this will help, thanks.

Button.MouseButton1Click:connect(function()
	Viewing.Value = Viewing.Value+1
	local Current = Towers:WaitForChild("Tower"..Viewing.Value)
	local Pos = Current:WaitForChild("View1")
	Cam:Interpolate(CFrame.new(Pos.Position),(CFrame.new(Pos.Position)),5)
end)

1 answer

Your camera focus can't be the same as your camera position. You need to change the second argument of your Interpolate call to something else. You should probably move it forward a few units from the position in the first parameter.

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