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

I'm trying to increase the size of a brick every second but i can't do Vector3.new()+1?

Maybe kinda stupid but is there any oother way to do this code:

while true do
script.Parent.Size = Vector3.new(2,2,2)+1
wait(1)
end

1 answer

✓ Accepted answer

So you want to make a part bigger every second by 1 studs?

local Part = script.Parent	

while true do
wait(1)
Part.Size = Part.Size + Vector3.new(1,1,1)
end

this will make the part bigger by 1 studs (X,Y,Z) every second.

I didn't test this code , I just write it out..

2 comments

0

Thank You Danielkaya,

0

Please explain the code, what you changed, what it does, and where they went wrong as it will help them greater in the future should they come to this issue again.

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