Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Do you have to make a :connect() after every function?

I would like to know if it would be needed for this too.

part = Instance.new("Part")

function PartResize()
   while true do
   part.Size = Vector3.new(5,5,5)
   wait(0.2)
   part.Size = Vector3.new(10,10,10)
   wait(0.2)
   end
end

1 answer

✓ Accepted answer

Yes it would be needed for this, for this you just need to call it.

You just need to add PartResize() after the function.

Full script:

part = Instance.new("Part")

function PartResize()
   while true do
       part.Size = Vector3.new(5,5,5)
       wait(0.2)
       part.Size = Vector3.new(10,10,10)
       wait(0.2)
   end
end

PartResize()

1 comment

0

Oooooh, thank you! I forgot I needed to call it! thank you so much!

This discussion is preserved as it was. New answers, comments, and votes are closed.