I need to know the script for a VIP door for my game.
How do you make a V.I.P. door with a gamepass?
1 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
im terrible at script i wouldnt know how to sorry
Watch Youtube tutorials or read it, "www.lua.org"
ok thanks
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.

6 comments
Take a look at 1 of the millions of free models. It is a very simple script.
Don't encourage free models.
https://idownvotedbecau.se/noattempt/
free models are not the best if you want to be a proper developer
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.
Good free models and open source code is a good way to learn.