#afterimage help

1 messages · Page 1 of 1 (latest)

cyan summit
#

broo why my afterimage function not work

    for i = 1, 5 do
        local clone = char:Clone()
        
        clone:FindFirstChild("Humanoid"):Destroy()
        clone:FindFirstChild("HumanoidRootPart"):Destroy()
        clone:FindFirstChild("Sword"):Destroy()

        for _, part in ipairs(clone:GetDescendants()) do
            if part:IsA("BasePart") then
                part.Anchored = true
                part.CanCollide = false
                part.Transparency = 0.5
                part.Color = Color3.fromRGB(128, 128, 128)

                TS:Create(part, TweenInfo.new(0.5, Enum.EasingStyle.Quad), {Transparency = 1}):Play()
            elseif part:IsA("Decal") then
                part.Transparency = 1
            end
        end

        clone.Parent = workspace

        task.delay(1, function()
            clone:Destroy()
        end)

        task.wait(0.1)
    end
end ```

this is how i call it

spawnAfterImages(char)
marble elm
#

character.archivable is false by default so you can't clone it

cyan summit
#

i made it

marble elm
#

you can probably set it to true and then you can clone it

cyan summit
#

archivable

#

oh wait

#

i think i havent

cyan summit
#

THANK YOUUUU

subtle bone