Change color of an object, then make it a Killbrick

Last updated: February 18, 2025

This tutorial will be perfect for building an Obby!

  1. Open a "code builder" on your selected part (Shape)

  1. Find "When touched by a player" in "Events" = (Yellow Button)

  1. Find "Tween color to..." in "Looks" = (Purple Button)

Select a Colour by clicking on the colored oval in the Code Block "Tween color to" then choose "Seconds" (This will affect the length of color swapping process"
  1. Find "Wait ... Seconds" in "Control" = (Orange Button)

  1. Find "Change Player Health to..." in "Player" = (Navy Button)

  1. Save your Code and Play the Game!

Was this article helpful?

Thanks for your feedback!