[Sorry for bad title had to be more specific] Okay so Im trying to make a part extend on every side here is the script
1 | pt = game.Workspace.CHIP |
2 |
3 | for ok = 1 , 12 do |
4 | pt.Size = Vector 3. new( 1 , 1 , 1 )+Vector 3. new( 1 , 1 , 1 ) |
5 | end |
Okay so basically it's not extending how I want it I want it every 12 times to extend +1,1,1 But it just goes to Size 2,2,2 and it does it instantly ANy Idea why?
If you want the part to increase in size, you need to add the Vector3.new(1, 1, 1)
to the part's existing size, like this:
1 | pt = game.Workspace.CHIP |
2 |
3 | for ok = 1 , 12 do |
4 | pt.Size = pt.Size + Vector 3. new( 1 , 1 , 1 ) |
5 | end |
Additionally, if you want it to gradually increase in size, you can use wait()
, like this:
1 | pt = game.Workspace.CHIP |
2 |
3 | for ok = 1 , 12 do |
4 | pt.Size = pt.Size + Vector 3. new( 1 , 1 , 1 ) |
5 | wait( 0.5 ) |
6 | end |
Hopefully this helps.