int value not changing
level = game.Workspace.RunningLevel running = game.ReplicatedStorage.LevelName Leveltime = game.ReplicatedStorage.Leveltime if running.Value == redBlock then Leveltime.Value = 1 elseif running.Value == SalmonBlock then Leveltime.Value = 1 elseif running.Value == BlueBlock then Leveltime.Value = 1 end
as brenden said, you do either use :GetPropertyChangedSignal
or any while loops.
while wait() do level = game.Workspace.RunningLevel running = game.ReplicatedStorage.LevelName Leveltime = game.ReplicatedStorage.Leveltime if running.Value == redBlock then Leveltime.Value = 1 elseif running.Value == SalmonBlock then Leveltime.Value = 1 elseif running.Value == BlueBlock then Leveltime.Value = 1 end end