Alright first of all I did create my own script causing the selectionbox to turn green when you select a hat to choose. I just need the hat to clone once you click "Select". How would you do this? I'd assume you create values as in

One = false
Two = false
Three = false
Guardia1 = game.Workspace.Normal1
Guardia2 = game.Workspace.Leaf1
Guardia3 = game.Workspace.Flame1

if Guardia1.Isclicked then
	Two = false
	One = true
	Three = false
elseif Guardia2.Isclicked then
	Two = true
	One = false
	Three = false
elseif Guardia3.Isclicked then
		Two = false
	One = false
	Three = true
end

I'd do something like that, but the problem is I tried inserting a value that changes when you've clicked, but it doesn't change. Here's what I've done;

Mouse.Move:connect(function()
if Number1 then
script.Parent.NumValue.Value = 1

elseif Number2 then

script.Parent.NumValue.Value = 2

elseif Number3 then

script.Parent.NumValue.Value = 3


end
end)

5 comments

0

To clone an object do: clone = game.Workspace.object:Clone() clone.Parent = (wherever it is you want the clone to go to)

0

I tried that.. It did nothing!

0

Can you paste what you've tried? That should work.

0

Any output? Also, what are you trying to do? It's too broad.

0

I don't understand...