Taking away an Integer timer

What would i type in Javascript for

Every 3 Seconds -3 to Playerprefs.GetInt(“HealthAmount”);?

Help would be much appreciated :face_with_spiral_eyes:

You wouldn’t; saving to PlayerPrefs is for persistent storage only and not something you do every 3 seconds. If you’re asking how to decrease a variable repeatedly, use InvokeRepeating.

–Eric