Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-4

Guys do you know how to make a GUI that when you press it would clone a part? [closed]

Asked by 9 years ago

Im trying to make a balloon tower defence game.

Closed as Not Constructive by M39a9am3R, yumtaste, and Perci1

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

2 answers

Log in to vote
1
Answered by
yoshiegg6 176
9 years ago

Put this in the GUI

Cloned = game.Workspace.PartThatNeedsToBeCloned


script.Parent.MouseButton1Click:connect(function()
C = Cloned:Clone().Parent = workspace
--Move the part wherever you want here 
end)

Edit: Don't forget to accept the answer if this helps you.

0
+1 woodengop 1134 — 9y
Ad
Log in to vote
0
Answered by
woodengop 1134 Moderation Voter
9 years ago

ScriptingHelpers is not a Requesting site but you can learn more about Guis on the ROBLOX Wiki