Infinity yield possible

local VotingSystem = workspace:WaitForChild("VotingSystem")
local Pad1 = VotingSystem:WaitForChild("Pad1")
local Pad2 = VotingSystem:WaitForChild("Pad2")
local Pad3 = VotingSystem:WaitForChild("Pad3")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local timeLeft = ReplicatedStorage:WaitForChild("timeLeft")
local doneVoting = ReplicatedStorage:WaitForChild("doneVoting")

Infinite yield possible on ‘ReplicatedStorage:WaitForChild(“timeLeft”)’
help me pls

An Infinte Yield means that it cannot find an Object.
In Replicated Storage, you do not have something called timeLeft.
Make sure you spelt it right, go into replicated storage, and look for an object called timeLeft. then re-name it into your script. Did you add in the timeLeft?

2 Likes