#HELP ME URGENTLY HOW DO I MAKE ACCESSORIES FADE AT THE SAME TIME AS THE BODY

1 messages · Page 1 of 1 (latest)

trim steppe
#

PLEASE HELP ME THIS IS INSANE IVE BEEN DOING THIS ALL MORNING

#

local Tool, TweenService, Debris, ReplicatedStorage = script.Parent, game:GetService("TweenService"), game:GetService("Debris"), game:GetService("ReplicatedStorage")
local afterimageTemplate = ReplicatedStorage:WaitForChild("Manifestations"):WaitForChild("Ethos"):WaitForChild("Mind"):WaitForChild("NeuralFade"):WaitForChild("AfterImage1")
local cooldown, cooldownTime, spawnCount = false, 30, 5

Tool.Activated:Connect(function()
if cooldown then return end
cooldown = true

local player, char = game.Players:GetPlayerFromCharacter(Tool.Parent), game.Players:GetPlayerFromCharacter(Tool.Parent).Character
if not player or not char then cooldown = false return end

local root, humanoid = char:FindFirstChild("HumanoidRootPart"), char:FindFirstChild("Humanoid")
if not root or not humanoid then cooldown = false return end

local description = game.Players:GetHumanoidDescriptionFromUserId(player.UserId)

for i = 1, spawnCount do
    local afterimage = afterimageTemplate:Clone()
    afterimage.Parent = workspace
    afterimage:SetPrimaryPartCFrame(root.CFrame)

    -- Apply description and fade parts
    task.spawn(function() afterimage.Humanoid:ApplyDescription(description) end)
    for _, part in afterimage:GetDescendants() do
        if part:IsA("BasePart") then TweenService:Create(part, TweenInfo.new(0.5), {Transparency = 1}):Play() end
    end

    Debris:AddItem(afterimage, 1)
    task.wait(0.1)
end

task.delay(cooldownTime, function() cooldown = false end)

end)

long temple
#

why not get the descendants of the model

#

oh wait nevermind.

trim steppe
long temple
#

It doesn't fade but it does correctly get deleted as othee body parts

#

I cant really help well cause im sleepy asl so maybe check a few things

Are you getting all Parts and BaseParts?

Is the accessories inside the model?

#

Is the accessories actually a part?

trim steppe
#

ok ill double check

gray wagonBOT
#

studio** You are now Level 3! **studio

trim steppe
#

here is the thing it fetches by the way

#

it makes the afterimage your avatar

long temple
trim steppe
#

alr

trim steppe