New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Still have questions? Join our Discord server and get real time help.
Log in to vote

How can I improve this simple checkpoint brick?

Asked by 9 days ago

I made a checkpoint brick for my game and had it so it turns green once you step on it, and red once you get off:

    script.Parent.BrickColor ="Camo")
wait (2)
    script.Parent.BrickColor ="Maroon")

I was wondering how I could make it so it stays green, but is only shown to the player who stepped on it. In other words, if player 2 were to see player 1 step on it, it would stay red for player 2 until he/she stepped on it, but green for player 1. Thanks in advance!

1 answer

Log in to vote
Answered by 9 days ago

Switch the script to a LocalScript

I tried it, but it doesn't work. Maybe there are more steps? CaptionDemon 17 — 8d

Answer this question