local db = true
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
if db == true then
db = false
script.Parent.Transparency = 1
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
player.leaderstats.Clicks.Value = player.leaderstats.Clicks.Value + 10
script.Sound:Play()
script.Parent.Transparency = 1
script.Parent.Part:Destroy()
wait (6)
db= true
--clone particle
script.Parent.Transparency = 0
end
end
end)
I have this thing I made I am trying to make the part Clone but I don’t know how to clone properly