How to make something like this

Hello. I want to make like fading character trail? I don’t know what it’s called so I’ll just show the video


How to make it? Please help

You can do something like this:

  • clone the character
  • anchor its descendants and set CanCollide to false on them.
  • use tweenservice on the descendants of the character to get the fading effect
  • after the tween is done you destroy the character

I tried to do it, but cloned character is apearing somewhere in the sky

workspace.character.Archivable = true	
		local modelsonic = workspace.character:Clone()
		workspace.character.Archivable = false
	modelsonic.Name = "sonicmodel"
		modelsonic.Parent = workspace
		modelsonic:SetPrimaryPartCFrame(workspace.character.HumanoidRootPart.CFrame)
	coroutine.wrap(function()
	for i, v in pairs(modelsonic:GetDescendants()) do 
		if v:IsA("Part") then
					if v.Name == "Torso" and v.Name == "Right Leg" and v.Name == "Right Arm" and v.Name == "Left Leg" and v.Name == "Left Arm" and v.Name == "Head" then
				v.Anchored = true
						v.CanCollide = false
						v.CFrame = workspace.character:WaitForChild(v.Name).CFrame
					game:GetService("TweenService"):Create(v, TweenInfo.new(0.8), {Transparency = 1}):Play()
			else
				v:Destroy()
				end
		elseif v:IsA("Decal") then
				game:GetService("TweenService"):Create(v, TweenInfo.new(0.8), {Transparency = 1}):Play()	
				elseif v:IsA("Sound") then
					v:Destroy()
				elseif v:IsA("Humanoid") then
					v:Destroy()
					
				end
			end
			
			
			Instance.new("Humanoid",modelsonic)
	wait(0.5)
		modelsonic:Destroy()
		end)()
		end

Do

modelsonic.PrimaryPart.CFrame = workspace.character.PrimaryPart.CFrame

Model:SetPrimaryPartCFrame is deprecated.

also in the for loop check if v:IsA("Basepart") because class BasePart includes MeshParts and UnionOperations

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.