I need help with a script?
Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
I am trying to make a script like admin, the user whom name is in the script says start and for the amount of time set in the script a part opens like a door so people could walk through and after time closes, heres what I have so far.
Could someone help?
1 | Hosts = { "CowLoverSecret" } |
8 | game.Players.ChildAdded:connect( function (plr)plr.Chatted:connect( function (Chat) if string.lower(Chat) = = open thenfor i = 1 ,#Hosts doif string.lower(Chat) = = opensp.Transparency = 1 sp.CanCollide = falseopen = truewait(openduration)open = falsesp.Transparency = 1 sp.CanCollide = trueendendendend) |