Hello my script is
Lava = game.Workspace.Lava
while true do game.Workspace.Lava.Size = Vector3.new(347.6,Lava.Size.Y+1,505.2) wait(0.001) end
My question is how would I make it so that the part only expands upwards instead of in both directions?
think about it, the part size always expands from the centre, equally in both directions. therefore, if you increased the height by 6, it stretches by 3 in both directions. that means all you have to do is move the position upwards by half the size that you increased, and it will appear as if it grew in one direction :)
also, please don’t use wait(0.001). it doesn’t work. wait will only go down to about 0.033 seconds. look up how to use RunService.Heartbeat
as a timer.
Use X,y, and Z Axis. There are probably some tutorials on the internets, I would have put what they mean, but I cannot remember, sorry.
try doing. the max roblox wait time is 0.05
Lava = game.Workspace.Lava while true do game.Workspace.Lava.Size = Vector3.new(1,1,10) wait(0.1) end