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

My blast door doesn't open after closing. Why does this happen?

Asked by 4 years ago

So, I have a blast door, but the script says shutter, that will not open after I close it. Why does this happen? Here's the script:

01local Teams = script.Parent.Teams
02local Shutter = script.Parent["Security Shutters"]
03local TweenService = game:GetService("TweenService")
04local Perms = {
05    ["Prison Command"] = Teams["Prison Command"].Value,
06    ["Prison Administration"] = Teams["Prison Administration"].Value,
07    ["Emergency Response Team"] = Teams["Emergency Response Team"].Value,
08    ["Medical Staff"] = Teams["Medical Staff"].Value,
09    ["Military Police"] = Teams["Military Police"].Value,
10    ["Government Staff"] = Teams["Government Staff"].Value,
11    ["Facility Officers"] = Teams["Facility Officers"].Value,
12    ["Special Forces"] = Teams["Special Forces"].Value
13}
14 
15local tweeningInformation = TweenInfo.new(
View all 60 lines...

1 answer

Log in to vote
0
Answered by 4 years ago

Nevermind, I just made the Bool a part of the script instead of an actual item. (local Moving = false) I also realized that my opening function was set to close the door.

Ad

Answer this question