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

How do you check if a number value is three?

function checkPartsLeft()
while true do 
	local count = 0 
	local PartsLeft = Workspace.PartsLeft.Value
	if PartsLeft.Value == 3 then
		time.Value = 0 
end
end

What I am trying to do is to make a function where the game repeatedly checks if PartsLeft, which is a NumberValue, is three or less than three.

1 answer

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