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

How do I make it so as long as a player is touching a brick, something happens?

Asked by 10 years ago

I've seen it on games like Murder Mystery, as long as you stand on a brick, your vote goes in, but when you touch another brick, it changes your vote. Is there a wiki link for this? Not the voting, just the main thing that tells if you are on the brick, and whatnot.

3 answers

Log in to vote
0
Answered by 10 years ago

just when the player touches another it takes away 1 point (using values) and adds another?

Not DB

Ad
Log in to vote
0
Answered by 10 years ago

You could probably use the Touched and TouchEnded events together with a variable to track who touched it and who stopped touching it.

Log in to vote
-1
Answered by 10 years ago

Debounce maybe? I am not the best at scripting. Or maybe no debounce.

Answer this question