script.Parent.MouseClick:Connect(function(player)
if player:FindFirstChild("leaderstats") and player.leaderstats:FindFirstChild("Money") then
player.leaderstats.Money.Value = player.leaderstats.Money.Value + 1
script.Parent.MaxActivationDistance = 0
end
end)
thats my code im trying to make it so once u click it destroys then clones in a random location

1 comment
whats the problem