#is it correct track of time?

1 messages · Page 1 of 1 (latest)

sharp crypt
#

local frames = 0
game:GetService('RunService').Heartbeat:Connect(function(delta)
frames += math.round(delta * 60)

api.Step(frames)

end)

hazy belfryBOT
#

studio** You are now Level 1! **studio

pastel forge
#

Holy

sharp crypt
#

?

#

im just trying to make repetetive tasks be less affected by server lags

#

api.Step function is just what processes the game according to the frames amount since game started

sharp crypt
#

No

#

Rounding it causes buildup of these "sliced" seconds