function onClicked(playerWhoClicked) script.Parent.BrickColor = BrickColor.Red() end script.Parent.ClickDetector.MouseClick:connect(onClicked)
Where and how would I add a wait then add BrickColor = BrickColor.----() for a new color.
try this:
function onClicked(playerWhoClicked) wait(what you want) script.Parent.BrickColor = BrickColor.Red() end script.Parent.ClickDetector.MouseClick:connect(onClicked)
Closed as Not Constructive by TheeDeathCaster, farrizbb, Azmidium, and TheHospitalDev
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?