Bomb size change script isnt working

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want my bomb to change size multiple times
  2. What is the issue? Include screenshots / videos if possible!
    When I print the size, it is different than what is shown in and in the workspace and only changes once (the vector3(1.25) one)
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I’ve looked but havent found a solution
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local ball=script.Parent
task.wait(2)
ball.Anchored=true
for count = 1,4 do
print('r')
	ball.Size=Vector3.new(1.25,1.25,1.25)
	print(ball.Size)
	task.wait(1)
	ball.Size=Vector3.new(3.55,3.55,3.55)
	print(ball.Size)
end

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

Are you trying to re-size the ball?
If so, try to add +count to the X and or Y and or Z.

local ball=script.Parent
task.wait(2)
ball.Anchored=true
for count = 1,4 do
	print('r')
	ball.Size += Vector3.new(count,count,count)
	print(ball.Size)
end

[You could use TweenService for a smoother result].

you didnt add a wait after making the size bigger so it instantly would become small

1 Like

hey there! I am just wondering why your script changes the size and mine doesn’t! My script print that the size is 3.55 when it actually doesn’t change the size :frowning: