This will be the last thing I will need help with for the game I am building. Thank you to whoever helped with the "Remove a Chair by GUI" Topic. On this Script it's supposed to regen the Chairs back when you click on the GUI but there are some errors on the line.
local Model = Workspace.Set.FutureChair script.Parent.MouseButton1Down:connect(function() local ModelCopy = Model:Clone() ModelCopy.Parent = Workspace.Set wait() end
local Model = Game:GetService("ServerStorage"):FindFirstChild("FutureChair"); script.Parent.MouseButton1Down:connect(function() Model:Clone().Parent=Workspace.Set; end);
Just put your model named FutureChair in ServerStorage.
local model = game:GetService("ReplicatedStorage"):FindFirstChild("FutureChair") script.Parent.MouseButton1Down:connect(function() model:clone().Parent = Workspace.Set end)
Put it inside replicatedstorage. From this, local scripts can access it.