Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I make it so that a mesh will change its size after a certain amount of time?

Asked by 9 years ago

I need it so that after a few seconds my mesh will change its size to give the effect that its life like and realistic and it will loop the script over and over again.

1 answer

Log in to vote
1
Answered by 9 years ago
while true do
wait(3)
script.Parent.Scale=script.Parent.Scale+Vector3.new(.1,.1,.1)--You can change this to your liking
wait(3)
script.Parent.Scale=script.Parent.Scale-Vector3.new(.1,.1,.1)
end

This is assuming the script is inside the mesh. If it is not, you can change it to what you want/need it to be

I'm not sure what you mean by life-like or realistic. But this changes the scale every 3 seconds

Ad

Answer this question