Constantly setting a CFrame lags in a specific game but doesn't in another

I’m trying to make a grapple system that doesn’t use the Tool object and pivoting the grappler model’s CFrame near the camera is lagging, even though I have done this in different games before without lag. I’m setting it’s CFrame on the Client.

The grappler model is just a union (which is most of the base) and a Part that has a Mesh object in it. Both parts are Anchored. It may just be because I’m using a Model, but I tested it with a single Part and it still lagged.

Grappler model lagging

And a arm system in another game without lag (the arm CFrame is set near the camera before sizing and further correction)

I’ve tried switching between a task.wait() loop, Heartbeat, Stepped, but each had lag before setting the model CFrame.

are you setting it on the client or the server?

Forgot to mention that, the model pivot is being set by the client.

1 Like

i donot know why that is happening wait until someone else respond

try using a RunService.RenderStepped event to set the cframe, which runs prior to every frame in a local script

1 Like

Man, why didn’t I test that? Guess that’s another RunService event I’ll definitely use in the future.
Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.