So here is the script tryed to make it where I want ONLY a person that can have it.
local isAdmin = {["dog6779"] = true, ["DutchCoder"] = true} -- to add more players just do this for example local isAdmin = {["NAME"] = true} make sure to add the , at the end then space and do the same
game.Players.PlayerAdded:connect(function(player)
if isAdmin[player.Name] then
while true do
game.Players.PlayerAdded:Connect(function(player)
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)
So how can I make it where it's just the person?
And here the photo's what I am doing.

2 comments
remove line 5 and 6.
Nevermind, I take that back it worked!