I'll try to explain it step by step.
How do I use clone?
brick = workspace.Part
dest = game.ReplicatedStorage
brickc = brick:Clone()
brickc.Parent = dest
Ok, But how do I make it when I click a button?
button = Instance.new("TextButton")
function myfunction()
print"Oh no, I've been bamboozled!"
end
button.MouseButton1Click:connect(myfunction)
And just incase you wan't to do more research...
And just incase you wan't to do more research I've linked all of the sources that would help you.
Button
Variable
Function
Parent
Clone
Lastly, If you have any more questions please ask me.
and if this was not the solution you we're looking for, I'd be more then happy to help you.
2 comments
First, you obviously do not know how to use the :Clone() code, so I would advise you to go on YouTube and learn the basics of ROBLOX Lua. If you did already, well I do not know how to explain this.
oh i i know now i made everything work but if i make him click the button it does what it does but thats not rly what i wanted cuz if he cliks it changes for the whole server i want to make when he cliks it changes just for him