Looking for how i can do this. Couldn't find any where else with an answer.
The button is in work space. The house is in lighting. How do i press the button to make the house appear in work space?
I would not suggest using Lighting as the service to use for spawning parts, it is easily configurable by just moving your house to replicatedstorage, and instead of game.Lighting, do game.ReplicatedStorage, however, for your question, just add a clickdetector onto the button and do the following.
local Detect = script.parent.ClickDetector Detect.MouseClick:connect(function() game.Lighting.House.Clone().Parent = game.Workspace end)
--Note to use a server script instead of local,
local thing = script.Parent.ClickDetector local house = game.Lighting:FindFirstChild("House") thing.MouseClick:connect(function(aaaaaa) house.Parent = game.Workspace end)