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

How do I make it so someone who bought a game pass can walk thorugh a wall?

I am wondering how to make a special "VIP" Door. I have seen in other games that people who bought the VIP pass can walk through a door, while others can't. Could you please let me know how to do this.

Thanks, se22an21 :D

1 answer

✓ Accepted answer

For this method, you could use CurrentCamera. With CurrentCamera, you can insert parts that only a specific client sees. Importantly, this method can only be used with a LocalScript.

Here's an example of a LocalScript that would only allow a certain player to see a newly-created part.

part = Instance.new("Part", game.Workspace.CurrentCamera)
  • CurrentCamera only affects the client who has the LocalScript.

Of course for this to work with the gamepass you'd have to replicate a part or create one for those who do not have the gamepass. Once you've done that, you simply place it into the client's CurrentCamera.

Take note that LocalScripts cannot access the information of MarketService so you will have to most likely clone a LocalScript or simply create some other approach.

2 comments

0

I think you've over-complicated the question. From what he's asking I thought it was just a simple VIP door which there are hundreds of already on free models, not walls that only specific people can see?

0

I agree. He simply wants to know how would you have certain people be able to walk through a door while others can not.

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