How to tween model locally

  1. What do you want to achieve?
    Hello, i want to tween a model on the client (i use a modulescript to tween model the model) and a require(themodulescript) in the script but it don’t work when i do it in a local script.

(I can change the system other than a modulescript if you find out another way to tween the model on the client)

  1. What is the issue?
    I don’t know how to do it.

  2. What solutions have you tried so far?
    I looked on forums and tried to do it myself.

If you want specific informations you can ask me

1 Like
local TweenService  = game:GetService("TweenService")

local PrimaryPartHere = script.Parent.PrimaryPart -- // make sure script is in model, not part

TweenService:Create(PrimartyPartHere, TweenInfo.new(1), {CFrame = CFrame.new(0, 3, 0)}:Play()  -- TweenInfo.new(1) means 1 second, it will tween CFrame to 0, 3, 0.
1 Like

You could try to replicated by firing a remote event from server to client and tell the client to tween it from a local script

1 Like

Oh and by the way i use collectionservice because i need one script to move all my doors

I tried it and it didn’t work.

Could I please see your module script and local script?? I can’t really find out what is going on without having a look.

Can i send it to you via private message, i don’t like to send my scripts in public here

1 Like

Of course, I don’t mind at all.

No one can realistically assist you without being able to see those scripts (as that is where the issue lies).

Well i can send you my scripts in private message too