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

How do you make a V.I.P. door with a gamepass?

I need to know the script for a VIP door for my game.

6 comments

0

Take a look at 1 of the millions of free models. It is a very simple script.

0

Don't encourage free models.

0

free models are not the best if you want to be a proper developer

0

The Roblox DevHub I believe has some sort of VIP script tutorial I used a few months back. You could try looking on the DevHub if you want to.

0

Good free models and open source code is a good way to learn.

1 answer

✓ Accepted answer

No one's going to give it to you, I will tell you how to do it though... First, make the gamepass and make a variable for it in the script then you will check if the player has the variable and if they do then make the character cancollide false so they can walk through it and then do a wait and then do cancollide true, next you would do an else meaning if they don't have it the door will not open, this is simplified there are variables that you can change though, you're welcome.

4 comments

0

im terrible at script i wouldnt know how to sorry

0

Watch Youtube tutorials or read it, "www.lua.org"

0

ok thanks

0

For any future readers, characters' parts cannot have their collision property set. You instead need to use CollisionGroups.

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