Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

GUI Frame Rotation??

Asked by 10 years ago

This goes SO SLOW. Why would it go slow I thought RunService.Heartbeat is FAST. But maybe not? I ran this on a while true do loop and it went faster. (._.)

game:GetService('RunService').Heartbeat:connect(function()
    script.Parent.Rotation=script.Parent.Rotation+0.1
end)
0
How fast do you want it to be? EzraNehemiah_TF2 3552 — 10y
0
The fastest it can go.. c: I can edit it to the custom time. MessorAdmin 598 — 10y
0
Nvm I got it fixed I just used math.pi MessorAdmin 598 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago
game:GetService('RunService').Heartbeat:connect(function()
    script.Parent.Rotation=script.Parent.Rotation+1
end)

This is pretty fast. A heartbeat is about as fast as wait()

Ad

Answer this question