Hello! I am confused with the error “attempt to call an instance value”.
Script:
local timer = game.Workspace.Values.Timer
timer.Value = 121
local function Timer()
timer.Value = timer.Value - 1
end
repeat wait(1)
timer()
until
timer.Value == 0
Hope you figured, but I’m doing a timer script and a continuation of my Time Resetting Problem.
Care to help? Thanks!
local timer = game.Workspace.Values.Timer
timer.Value = 121
local function Timer()
timer.Value = timer.Value - 1
end
repeat wait(1)
Timer()
until
timer.Value == 0
You were trying to call the Timer Instance and not the Timer function.