So, when the player joins the game I want them to become invisible immediately. Also, i'd like for there to be a blue fire put into the torso (which I think I know how to do) because it is meant to represent their soul. Anyways, I think it'd go something like this but I don't really know...
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) local fire = Instance.new("Fire",character.Torso) fire.Color = 85, 170, 255 fire.SecondaryColor = 0, 70, 255 for _, child in pairs(character:GetChildren()) do if child.ClassName == 'Part' then child.Transparency = 1 end end)
Its not working so it obviously isn't right... Please help?
Your problem is in line 4, you're not using Color3(). Line 4, and 5 should look like this:
fire.Color = Color3.new(85, 170, 255) fire.SecondaryColor = Color3.new(0, 70, 255)
Everything else seems fine.