I need help with the :clone part in my code on line 12. I have tried it and it didn't work. Is it part of the clicking part or the :clone part exactly?
Here is the code:
local ClickDetector = script.Parent.ClickDetector
ClickDetector.MouseHoverEnter:Connect(function()
game.Workspace.PlantExample.Position = script.Parent.Position
end)
ClickDetector.MouseHoverLeave:Connect(function()
game.Workspace.PlantExample.Position = game.Workspace.PlantExampleStay.Position
end)
ClickDetector.MouseClick:Connect(function()
game.Workspace.PlantExample:Clone()
end)
Anyone?

1 comment
Could we prehaps get the error?