So, I've been trying to make a rainbow trail that will only be there for specific people, I've searched through all of the tutorials I found, but none of them shows how I can add it to specific players. Here is the script I've been using:
game.Players.PlayerAdded:connect(function(player)
if player.Name == "ProClanLeader" then
player.CharacterAdded:connect(function(char)
local trail = game.ServerStorage.Trail:Clone()
trail.Parent = char.Head
local attachment0 = Instance.new("Attachment",char.Head)
attachment0.Name = "TrailAttachment0"
local attachment1 = Instance.new("Attachment",char.HumanoidRootPart)
attachment1.Name = "TrailAttachment1"
trail.Attachment0 = attachment0
trail.Attachment1 = attachment1
end)
end)
Also I don't want everyone to have the trail in the game. I only want the people that are in the development team for the game to have the trail. The players are: ProClanLeader(Me) EletrickDragona Ottomann06 Yarin111 So if someone could send me a script to make the raindbow trail only appear when these 4 players are walking, I would realy appreciate.
