of     1   

Twila27
#145214Monday, September 10, 2007 8:48 PM GMT

Is it possible to alter an admin door script so that it allows only one team to pass through it? I'm trying to make it so that only people who reach the "Winner" CP can go through the space shuttle's and see a message block with the answer to my question that is needed to become an admin in my place.
sloso
Top 100 Poster
#145632Monday, September 10, 2007 11:45 PM GMT

Yes its possible...I just dont know scripting so I cant script it...anthor soultion...Obsticle course right?Yeah...Sooo just make the door cancollide on the winners plat form or a teleporter connecting to the end of the door
Tanmkm786
#13942166Monday, September 07, 2009 7:40 AM GMT

function onTouched(part) local player = game.Players:playerFromCharacter(part.Parent) local h = part.Parent:findFirstChild("Humanoid") if h~=nil and player.TeamColor==script.Parent.TeamColor.Value then script.Parent.CanCollide = false script.Parent.Transparency = 0.5 wait(0.4) script.Parent.CanCollide = true script.Parent.Transparency = 0 else h.Health = 0 end end script.Parent.Touched:connect(onTouched) --Insert a value and rename it too TeamColor

    of     1