I am making a plugin called "City Maker" and I made the plugin in the ServerStorage as well as the Apartment model that I made, I have made a GUI buttun that is supposed to place down a model (the Apartment) but it does not. If somebody tells me the code I have to insert into the button it would solve all my problems.
Here is the code I have so far:
Instance.new("ClickDetector", script.Parent)
function onClick(player)
local model = game.ServerStorage.Apartment
local backup = model:clone()
while true do
wait(5)
model = backup:clone()
model.Parent = game.Workspace
model:makeJoints()
end
end

3 comments
Perfect answer!
When I click the button it still does not work. I also noticed that when somebody else uses the plugin it won't place the model because they don't have it. So I made some modifications. I have an Infection that I can't get rid of and so on line 1 I made it to local backup = game.ServerStorage:WaitForChild("Apartment").
This might help you when making plugins: http://wiki.roblox.com/index.php?title=Tutorial:Plugins