So like this?
while test.Size == Vector3.new(7.85, 8, 6.86) do
print("Test")
end
So like this?
while test.Size == Vector3.new(7.85, 8, 6.86) do
print("Test")
end
If you want to limit how high it can go just add a check to your function that increases the height.
tool.Activated:Connect(function()
if test.Size.Y < 10 then --checks if the height is smaller than 10 and runs the code if true
test.Size = test.Size + Vector3.new(0, 8, 0)
game.Workspace.pop:Play()
end
end)
try this it worked for me:
repeat wait() until script.Parent.Size.Y == workspace.t.Size.Y --YourCodeHere
Thank you i would never have thought of that!