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

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

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

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

Not DB

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

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

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