I am creating a tycoon and was able to make a script that handles all buttons. Occasionally, when I set a union's parent to the TycoonModel, it would show on the screen but your character can walk through it (cancollide is true). In addition, theres one union that involves a ClickDetector in it and when I hover my mouse over it the cursor icon does not change (visible to the screen).
This occurs when I run a test server.
This is how I clone the models:
local objects = {} for _, v in pairs(model:GetChildren()) do if v:IsA("Model") then objects[model.Name] = v:Clone() end end
Inserting the model:
local targetmodel = model if objects[targetmodel.Name] then objects[targetmodel.Name].Parent = TycoonModel end