local timer = script.Parent.Timer.Text
local battery = 60

while true do
	wait()
	if PointLight.Enabled == true then
		battery = battery - 1
		print(battery)
		wait(1)
		
		timer = battery
	end
end

hep.

2 comments

0

try doing local timer = script.Parent.Timer then timer.Text = battery

0

Thanks, Works.