Tweening Issue, not running smooth on touch

So I went through an Alvinblox video about tweening parts. And it worked and helped me learn, but now I’m having issues with them. I’ll provide a video…

It will glitch when I stay on it, but when I get off and let it go it works smoothly, and yes I[ did put can collide to false.

Probably doesn’t have a debounce on it making it fire multiple times (even though its already running).

Also, if you haven’t already, make sure to do the tween on the client and not the server.
Else, you’re gonna run into performance issues + stuttering.

1 Like

So how would I type that into my script?

You can make it run on client by making it run on a local script. A debounce looks something like this:

local debounce = false

if blah blah then
      if not debounce then
      debounce = true
      -- code
      debounce = false
end

You can learn more about debounces here.
Btw next time put something like this in scripting support