Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

(SOLVED)VIP door help?

local Door = script.Parent --Declares the part as a door
function onTouch(Brick) --Sets the start of function and when triggered it gives "Brick" the object was hit
	local Player = Brick.Parent:findFirstChild("Humanoid") --Finds Humanoid in brick
	if(Player ~= nil) then --Sees if it's an actual Player
		if Player.Parent.Torso.roblox.Texture == "http://www.roblox.com/asset/
version=1&id=1028594" then --VIP shirt link
			Door.CanCollide = false --Door is no longer solid
			Door.Transaprency = 0 --problem on this part,Should make the door invisible
			Door.BrickColor = BrickColor.new(math.random(), math.random(), math.random()) --Makes the door change color
		else Player.Health = 0 --Kills the player if they don't have VIP
		end
	end
end
Door.Touched:connect(onTouch)

I mispelled Transparency :p

1 answer

Just go into toolbox and go to game stuff. then click on the VIP door re size it, take a couple more re size them make em transparent if ya want, make em a different color if you want some designs, add some decals for some designs, then go into explorer click VIP door, open it, open the script, click on "GamePassID" open properties, go to value, change it to your t-shirt, or shirts id number and welah. you have your vip door.

This discussion is preserved as it was. New answers, comments, and votes are closed.