Skip to content

Instantly share code, notes, and snippets.

@topherPedersen
Created September 18, 2019 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topherPedersen/0ecd40e445812b9d2a9d621041050fd1 to your computer and use it in GitHub Desktop.
Save topherPedersen/0ecd40e445812b9d2a9d621041050fd1 to your computer and use it in GitHub Desktop.
Change Part Color in Roblox Studio
local practicePart = game.Workspace.PracticePart
while true do
practicePart.BrickColor = BrickColor.new(1.0, 0.08, 0.58) --hot pink
wait(0.25)
practicePart.BrickColor = BrickColor.new(0.0, 1.0, 0.0) --lime green
wait(0.25)
practicePart.BrickColor = BrickColor.new(0.0, 1.0, 1.0) --aqua
wait(0.25)
practicePart.BrickColor = BrickColor.new(0.0, 1.0, 1.0) --purple
wait(0.25)
practicePart.BrickColor = BrickColor.new(1.0, 1.0, 0.0) --yellow
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment