All pastes #709844 Raw Edit

Something

public lua v1 · immutable
#709844 ·published 2007-09-25 00:48 UTC
rendered paste body
--This is an easy script to make a door for your place that anyone can walk through.--Set this variable to how long you want the door to stay open. Has to be a number between 1 and 50.timedelay = 5 -- Edit the number right here.----Don't touch ANYTHING below this line if you want your door to work!Door = script.Parentfunction onTouched(hit)	if (enabled == true) then		print ("Door Hit")		local human = hit.Parent:FindFirstChild("Humanoid")		if (human ~= nil ) then			enabled = false			Door.Transparency = 1			Door.CanCollide = false			wait(timedelay)			Door.Transparency = 0			Door.CanCollide = true			enabled = true		end	endendconnection = Door.Touched:connect(onTouched)--MrDoomBringer