I'm trying to re-position a union via a script, but when the union spawns into workspace, it just stays at point (0,0,0). There's no error in the output, so idk whats going wrong. Here's the script:
script.Parent.ClickDetector.MouseClick:connect(function(plr)
local player = plr.Name
local action = plr.PlayerGui.Menu.Selected.Item.Value
local item = game.ReplicatedFirst.Items:FindFirstChild(action)
item = item:Clone()
item.Parent = script.Parent
if item:IsA("UnionOperation")then
item:MoveTo(Vector3.new(script.Parent.Position))
end
end)
All help is appreciated.

1 comment
Is your Union anchored ?