Can scripts be run in a model in a viewportframe

Im trying to apply an effect to a model in a viewportframe however the script that is in the model does not seem to work

Yes, local scripts can run in ViewportFrames.

What script are you trying to run?

ss but ill try local but itll probably be more messy to script

Certain things won’t work in viewport frames,

For example if you are trying to make a Humanoid animated in a viewport frame it will not work, and you will need to have a workspace humanoid animating and then a renderstepped function to replicate that animation.

not actually you just need a world model then load the animation

1 Like

You learn something new everyday! Thanks for the tip

Animations should be handled by local scripts anyway, I’m not sure how a server script would make anything easier.

1 Like