Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why does every scripted door in my game open extremely slow but everything else works?

Asked by 4 years ago

I scripted keycard doors, keycard gates, and automatic opening doors. When I stick the card into the keycard door, it states that it was access granted like it is supposed to but then slowly fades to its transparent state. It takes about 2-3 minutes to open to finally let me through. This applies for every scripted door including the gate and automatic opening door. I just thought that my game was lagging but my scripted screens and machines work perfectly fine and do not lag. I need these doors to open at a regular pace how they used to. They just stopped working for some reason. Can somebody please help??!!

0
show the script? 0msh 333 — 4y
0
Show the script... Sensei_Developer 298 — 4y
0
Are you sure your not just asking us to make a whole script for you (Keycard detecter an all) ArvidSilverlock 50 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago

Try using TweenService or if you're using cframes just reduce the amount of cframe operations done.

Ad
Log in to vote
0
Answered by
St_vnC 330 Moderation Voter
4 years ago

Idk try TweenService since it’s an efficient method of scripting doors

Answer this question