It works in studio but not online (like always) and I followed the Wiki.
This is a localscript inside StarterGui (PlayerGui) and its meant to clone a model over to the Camera called Bin. It does this on studio but not online, any solutions?
http://wiki.roblox.com/index.php?title=Local_parts
local container = game.Workspace:FindFirstChild("Bin") if not container then container = Instance.new("Camera") container.Name = "Bin" container.Parent = game.Workspace end game.ReplicatedStorage.Building:Clone().Parent = container
Don't use hacky methods such as the Camera. Instead, use FilteringEnabled as it's much better practice. The Wiki often teaches bad practices now because it's outdated.