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

How do I make RenderStepped work as intended for FPS unlockers?

Asked by 3 years ago

Hello, I'm making a personal script for me and a few friends to use (or someone random, whoever joins the stage). It's a rhythm game and uses arrows. The issue is, is that when someone uses an FPS unlocker, the arrows go way too fast for the player to process that they need to click.

I'm making it rise to the spot you're supposed to click from bottom to top every RenderStepped.

I tried doing something with tick() and os.time() but neither worked, either it was too slow or too fast.

Is there any good and effective way to at least simulate RenderStepped at its intended pace on the client?

1 answer

Log in to vote
0
Answered by 3 years ago

I just used delta instead, it helps a lot.

RenderStepped:Connect(function(DT)
     Position = Position + UDim2.new(0,0,0,-5*(DT*60))
end)
0
60 being the FPS AmokahTheFox 30 — 3y
Ad

Answer this question