I don’t know if anyone has ever seen this bug before but as i’m testing with some new features for my game i recently discovered that when i join the game sometimes my screen turns white when my camera interpolation script starts which forces me to rejoin the game.
this is the function i use:
while AnimateCam do
game:GetService(“RunService”).RenderStepped:wait()
local ex = Target.Position + _G.Mouse.hit.lookVector*1.5
_G.CurrentCamera:Interpolate(CFrame.new(Location.Position),CFrame.new(ex),.2)
end
yea i know there are betters methods to get it done, but i wanted to point out that this method crashes the client sometimes.
so far i found that it only happens when you start the game without looking at the program, for example: you click the play button and switch to a web page and the game starts in the background.