script: script.Parent.Touched:Connect(function() local player = game.Players.LocalPlayer local rStorage = game:GetService("ReplicatedStorage") local timerFolder = rStorage:WaitForChild("Timer") local timerMultiplier = timerFolder:WaitForChild("TimerMultiplier") if player:WaitForChild("Main"):WaitForChild("hasWonRound").Value == false then player:WaitForChild("Main"):WaitForChild("hasWonRound").Value = true timerMultiplier.Value = timerMultiplier.Value = * 2 end end)
COMMUNITY QUESTION
Error - Workspace.WinPart.Script:6: attempt to index nil with 'WaitForChild'?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Put this in a code block please
Put this in a code block please