Lockdown Script Issue

Button.rbxm (3.2 KB)
Door.rbxm (4.8 KB) OpenButton.rbxm (3.2 KB)
First button is the button inside the hallway (open/close)
door is the lockdown door
Open button is the door that can only open, not close.

1 Like

I tested it, and it goes up, Imma try to find what the problem is

I removed all the waits in the opening and closing proccess and it works just fine.

So remove all the waits, and also make the TweenProperties2 = {Position = PosToTween}, not TweenProperties2 = {Position = Pos1 + PosToTween}.

Then test it.

I need the waits so players don’t spam the door. Any ways around this?
(P.S. I forgot to give you the model I’m tweening to, can you also check that out?)

I know, but you probably thought it didn’t work because the amount of waits and you didn’t wait enough.

So reduce the time of waits.

And yes, I can check it out if you want me to.

I removed all the waits, and it’s still not working.
Give me a minute to link the Model.

1 Like

BRB, gonna take a quick shower.

Hold on, I just discovered something real crucial. I was looking through the script, and switched to the Server side whilst playing. And somehow, the tween worked. When I switched back to the Client, nothing happened. My guess is that for some reason it’s not replicating to the client

try making a separate script that’s just the tweening to see if that works.

I don’t think that’s the problem, see my above comment. It tweens fine, just the replication to the Client

Try using tween service plus, it plays tweens on the client but it replicates it to the server.

https://devforum.roblox.com/t/tweenservice-plus-update-v1-1/716025

Is there any other way I can get around this? Theoretically, it should be seen by everyone since it’s on the server?

Tween service plus plays tweens on all clients, but when the tween finishes it updates it on the server.

So it looks a lot smoother, and will maybe fix your problem

That just broke it further. Now it doesn’t even tween on the server :frowning:

Did you put the module on replicated storage?

Make a local script on starter gui that only requires the module and test it.

I’ll try this soon. But is there any last resort so I can run the Tween on the Server?

I don’t know what the problem could be, I am really sorry.

But if you use tween service plus and run a tween on the server, it does the same thing.

I tried doing that, it still didn’t work.

do you have doors more than one ?