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

On my output it says "attempt to index number with 'Value'" and I dont know what to do?

Heres the script

timer = 10
repeat wait()
	configs.Status.Value = "Map vote: ".. timer
	
	wait(1)
	timer = timer - 1  		

until timer == 0 configs.Status.Value = "..."

local map local highest = 0 for i, v in pairs(rStorage.Votes:GetChildren()) do if v:IsA("IntValue") then local curMap = maps:FindFirstChild(v.Name) if v.Value > highest.Value and curMap then map = curMap end end end

if map then configs.Status.Value = map.Name else map = maps:GetChildren()[1] configs.Status.Value = map.Name end wait(3)

wait() end

1 answer

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