Laggy hingeconstraint motor on slower devices

Hello
I’m trying to make a “sweeping bar” that kills players on touch. I made it with a hingeconstraint motor and on my pc it works fine, but on my phone/tablet the sweepbar is really laggy sometimes and it is hard to avoid getting hit because you can’t see the bar rotate smoothly. Maybe this is because of a slower internet connection? If yes, how would I fix this? I tried setting the ownership of the sweeper to server but that didn’t help. Maybe I should try tweening? I don’t know if it’s possible to keep a part spinning with a tween.
Thanks for any help!

1 Like

Of course you can spin a part with tweening. However, you might need more than just one tween to make a full rotation. I think that the part will lag anyway, unless you rotate it on the client, but that could result in some exploits.

2 Likes

So should I leave it like this?

You can try doing the local tweening, but it depends on how large the exploit risk is.

Okay, thanks for the suggestion. I will try that.