I’ve replaced my player’s look with a blank r15 block model as the startercharacter, but I want everyone to have a trail. I’ve put the trail in ServerStorage, I’ve typed out my script and everything seems to be printing correctly, but for some reason the trail won’t show.
This is my script:
game.Players.PlayerAdded:Connect(function(player, Legend)
player.CharacterAdded:Connect(function(char)
wait(12)
print("Load complete")
local skin = game.StarterPlayer:FindFirstChild("StarterCharacter")
local TestSkin = skin.Test
if Test.Value == "Base" then
local OTrail = game.ServerStorage.OTrail:Clone()
OTrail.Parent = skin.Head
OTrail.Enabled = true
local attachment0 = Instance.new("Attachment", skin.Head)
attachment0.Name = "TrailAttachment0"
local attachment1 = Instance.new("Attachment", skin.HumanoidRootPart)
attachment1.Name = "TrailAttachment1"
OTrail.Attachment0 = attachment0
OTrail.Attachment1 = attachment1
print("All aboard!")
end
end)
end)
I’ve made sure that the trail clones to the character and is set to enabled, but it doesn’t come up. What’s even more confusing is that the trail works just fine without the starter character model. How can I fix this?