Whenever I attempt to resize a union in script, studio trips out and crashes. Here's the script I'm working with. ~~~~~~~~~~~~~~~~~ local tool = script.Parent local player = game:GetService("Players").LocalPlayer mouseDown = false v1 = 1 v2 = 1 v3 = 1 counter = 0 tool.Equipped:connect(function(mouse) print("Tool equipped!")
mouse.Button1Down:connect(function()
print('mouse held')
mouseDown = true
ice = game.Workspace.Union:Clone()
ice.Parent = game.Workspace
ice.Size = Vector3.new(1,1,1)
ice.Transparency = 0.7
ice.Anchored = true
ice.BrickColor = BrickColor.new("Really blue")
ice.CFrame = player.Character.UpperTorso.CFrame
while mouseDown == true do
wait(1)
v1 = v1+1
v2 = v2+1
v3 = v3+1
ice.Size = Vector3.new(v1,v2,v3)
end
end)
mouse.Button1Up:connect(function()
mouseDown = false
print('mouse unpressed')
ice:Destroy()
v1 = 1
v2 = 1
v3 = 1
end)
end)

1 comment
Hmmm... I have similar problems. Whenever you change the size property of a union, nothing really happens. ROBLOX has the worst unions ever, you walk diagonally up some and shadows get messed up. I would use regular parts instead although idk how to change model sizes ether.