Im trying to make the nuke constantly expand itself, but stop at the Vector3 Size 30,30,30 however it show me the error. Here's the script:
nuke = script.Parent
pos = nuke.CFrame
wait(10)
nuke.Transparency = 0.4
nuke.CanCollide = false
while wait() do
nuke.Size = nuke.Size + Vector3.new (0.9,0.9,0.9)
nuke.CFrame = pos
end
if
nuke.Size.Vector3 = (30,30,30)
then
nuke:remove()
end
end

1 comment
Thanks I just started scripting so I'm not the best