Question about TweenService

Hey everyone! I hope all is well, all I have is a simple question. I’m trying to animate a player animation for when a tool is equipped and I was wondering if I can use TweenService to position the arms to a model in ServerStorage. Essentially the model is just a basic rig model with the arms in a different position, and what I’m trying to attempt here is make it so the arms on the player are tweened to the arms that are in the model on ServerStorage, but I’m not exactly sure if this is possible so I’m just asking for clarification. Sorry if this is a bit of a silly question, I just got started into TweenService. Any help would be greatly appreciated as always! I hope you all have a great day or night! :slight_smile:

1 Like

The the model is welded then you can tween it but why not use an animation?

Trying to get familiar with TweenService, and I think it look’s better overall in my opinion.

TweenService can never be better than actual animations done by professionals, it will also take way more code and probably way more resources.
If you want to get familiar with TweenService, use it in one if it’s actual/most common use cases, like UI transitions, hover transitions, click transitions, fading in/out of UI elements or 3D instances, and so on.

What about using it for stuff like for script builders?

Script builders? What exactly is that?

I haven’t done much research about script builders but essentially they are places that use serverside executors to execute required scripts, animations cannot be used in script builders so using stuff like TweenService is used instead.

That still didn’t make much sense… How are animations unusable there? Animations can (as far as I remember) be played from the server.

As far as I’m concerned a player has to own an animation for it to actually work, which I don’t know if this is the case in why animations cannot be used.

I’m unsure if that’s really that case, did you try it though? Using TweenService to replicate animations and on the server can be really resource intensive, if that’s your only option then do it but it’s better to animate on the client or it will look “laggy” if it’s run on the server.

I’m going to try it. I’ve heard that TweenService often looks “laggy” on the server. Thanks for the info though! :smiley:

Good luck with that. It looks laggy because of the ping, the more ping you have the more laggy it will look, if playing animations didn’t work, just do FireAllClients from a remote server (or corresponding method if your using Knit or any other game framework) and play it on the client.

Will do. Thank you once again!

Your welcome :)..

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