#I need help on how to make this code clone once

5 messages · Page 1 of 1 (latest)

gleaming quarry
#
local clone = game.ReplicatedStorage.GlassClone._glassClone1

local function cloning(clone)

    if glass.CanCollide == false then
        local clonepart = game.ReplicatedStorage.GlassClone._glassClone1:Clone() 
        clonepart.Parent = workspace.Windows.SFoodWindow
        wait(5)
        clonepart.Transparency = 0.7
        clonepart.CanCollide = true
        glass.Name = "glass"
        clonepart.Name = "_glass"
        workspace.Windows.SFoodWindow.glass:Destroy()
    else
        print("ok")
    end
end
clone:Clone():Connect(cloning())

``` GUYS PLSS HELLOP PLSSS
when the script is waiting, the glass will just spam clone plsss
how to make it clone once!!!!!!!
😕
gleaming quarry
#

I DID IT

#

OMGGG

#

LESS GI