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

How to create a variable door? [closed]

Asked by 7 years ago

I would like to create a door so that if a player has a certain amount of a variable (cash) it will let them pass, otherwise stop them coming through. I need help with a script I can use to put this into a brick.

Thanks,

CallKnuss

0
I think you're using the term 'variable' wrong. Do you mean leaderstat? OldPalHappy 1477 — 7y

Closed as Not Constructive by M39a9am3R

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 7 years ago

You cant ask questions like this you need to break it up. It is overly general and it does not seem like you have done any research. Here are the steps. 1. Learn about the touched event and learn how to use it 2. Learn how to check if a player is touching 3. Learn how to use canColide

Ad