Code:

local puck = game.Workspace:FindFirstChild("Puck")

print "clock is ready to go"

while true do
	wait(0.1) 
	if puck.Anchored == false then
		print("Puck Is not anchored run clock")
game.ReplicatedStorage.ClockValues.seconds.Value = game.ReplicatedStorage.ClockValues.seconds.Value -1
wait(0.879)
if game.ReplicatedStorage.ClockValues.seconds.Value == 0 then
	game.ReplicatedStorage.ClockValues.seconds.Value = game.ReplicatedStorage.ClockValues.seconds.Value +59
end
end
end

3 comments

0

Note: The Puck is cloned via a differnet script

0

So this script is that is being cloned? And where is the clone being parented to

0

Figured it out just did a disable and re enable in other script