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

Is this possible?

Asked by 8 years ago

Is it possible to make a door that is invisible or just not there for players who have a gamepass and for people who dont have the gamepass the door would be there?

0
If the player has a gamepass, change the door's transparency. http://wiki.roblox.com/index.php?title=Game_pass for more information on Gamepasses DrCylonide 158 — 8y

2 answers

Log in to vote
0
Answered by 8 years ago

It is very possible! There is something called local parts. Local parts are parts that are visible to one user, but invisible to everyone else, including the server! There is a ROBLOX Wiki article on it too, with some nice tips and tricks. http://wiki.roblox.com/index.php?title=Local_parts

Ad
Log in to vote
-3
Answered by 8 years ago

yes

Do this

Go to Properties > Transparency change it to 1

Then in the code Change 0 to 1 so it should look like this

BEFORE

if pl ~= script.Parent.Parent.Owner1.Value then if Calculate() then if ownsItem(plr) then script.Parent.Parent.Owner1.Value = pl NameDoor(pl.."'s Hut") door.CanCollide = false door.Transparency = 0.7 wait(doorOpenTime) door.CanCollide = true door.Transparency = 0


AFTER

if pl ~= script.Parent.Parent.Owner1.Value then if Calculate() then if ownsItem(plr) then script.Parent.Parent.Owner1.Value = pl NameDoor(pl.."'s Hut") door.CanCollide = false door.Transparency = 1 wait(doorOpenTime) door.CanCollide = true door.Transparency = 1

ALWAYS WORKS FOR ME ;)

~ KING

0
Visibility isn't a property of any part. It's Transparency. DrCylonide 158 — 8y
0
Same thing Bro >:( Kingofthehill4 0 — 8y
0
^ Erm, it really isn't the same thing. And try to put your code in a code block (Lua Icon) TheHospitalDev 1134 — 8y

Answer this question