#HELP ME URGENTLY HOW DO I MAKE ACCESSORIES FADE AT THE SAME TIME AS THE BODY
1 messages · Page 1 of 1 (latest)
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)
your trying to make the bodies fade including accessories?
why not get the descendants of the model
oh wait nevermind.
the bodies fade fine its just the accessories lag behind and stay there too long and they dont have the fade effect
It seems like the accessories just get put in the debris rather than fade
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?
ok ill double check
** You are now Level 3! **
Watch Roblox and millions of other Roblox videos captured using Medal.
now im running into this issue
the face and a piece of the head is lagging
its a decal, you need to include it aswell
alr
oh my gosh its finally fixed thank you so much