VPF Replay Module The replay that is not showing

i’m creating a soccer game and i’m doing the replay and when i’m done i throw and i score a goal and the replay goes all white, i saw the official forum and nothing m 'help here is the script: local replay = require(game.ReplicatedStorage.Replay)

local replayObject = replay.new({CameraType = “Follow”;CameraSubject = game.Workspace.SoccerBall.SoccerBall;FPS = 30;})

replayObject.VPF = game.Players.LocalPlayer.PlayerGui:WaitForChild(“ReplayGUI”).ViewportFrame

for i,v in pairs(game.Workspace:GetChildren()) do

replayObject:Register(v)

end

replayObject:StartRecording(300)

local Time = 0

while game.Workspace.Goal.Value == false do

wait(1)

Time = Time + 1

end

while game.Workspace.Goal.Value == true do

replayObject:StopRecording()

replayObject:Play(1,Time-5)

game.Players.LocalPlayer.PlayerGui:WaitForChild(“ReplayGUI”).Enabled = true

wait(6)

replayObject:Stop()

game.Players.LocalPlayer.PlayerGui:WaitForChild(“ReplayGUI”).Enabled = false

replayObject:ClearRecording()

Time = 0

replayObject:StartRecording(300)

end