Hi,
I am trying to make a brick grow like a crop. When the planter brick hits the plant it will grow a little, wait, grow a little and so on.
This is what I have right now. I don't know where to go from here... Im only beginner that's why.
Also is the Vector the size I want it to grow by??
function onTouched(Hit)
if Hit.Name == "Seeder" then
script.Parent.Size = script.Parent.Size + Vector3.new (1, 1, 1)
wait(60)
end
end
script.Parent.Touched:connect(onTouched)
I also would like to know if I can grow a model that has 2 bricks in it.

4 comments
Hmm... Seams not to be working. I have the plant that has the script inside of. Then I have a simple car that has a brick in the front named Seeder.
its because seeder is what is tested to touch it
Well I have changed everything that would touch the plant to seeder but it still doesn't grow...
it checks if the thing that hits it has the name Seeder try changing Seeder to the thing that touches it or if Seeder is a model do change hit.Name == "Seeder" to hit.Parent.Name == "Seeder"