I need a script to help me do this! I'm trying to make a pathway of footsteps light up one step at a time. A script that could be used for each part would be great!
COMMUNITY QUESTION
How can I make a part change materials after a certain amount of seconds?
2 answers
while true do
wait(0.1) --- your time here
workspace.YourPartsName.Material = ---Whatever material you wanna put here
wait(0.5) --- again, your time here
workspace.YourPartsName.Material =
end
or something along those lines
-->Put this into the Part to work
local part = script.Parent
while true do
wait(1) --> You decide your time of waiting
part.Material = Enum.Material.Plastic -->Change this to your own Material
wait(1) --> Change this
part.Material = Enum.Material.Nenon -->Change this to your own Material
end
--> This is all you need
1 comment
0
This is all you need for your Script. The Enum is necessary if you want to change it.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
well, yeah it'll be great. But it'll be better if you'd provide some effort first.