wait(10)
local randomPlayer = game.Players:GetPlayers()[math.random(1,#game.Players:GetPlayers())]
randomPlayer.Player.CanLoadCharacterAppearance = false
randomPlayer.Player:LoadCharacter()
randomPlayer.character.LowerTorso.CFrame = CFrame.new(workspace.KillerSpawn.Position)
randomPlayer.character.Head.face.Texture = 'http://www.roblox.com/asset/?id=2383072347'
randomPlayer.character.Head.BrickColor = BrickColor.new("Really black")
randomPlayer.character.LeftFoot.BrickColor = BrickColor.new("Really black")
randomPlayer.character.LeftHand.BrickColor = BrickColor.new("Really black")
randomPlayer.character.LeftLowerArm.BrickColor = BrickColor.new("Really black")
randomPlayer.character.LeftLowerLeg.BrickColor = BrickColor.new("Really black")
randomPlayer.character.LeftUpperArm.BrickColor = BrickColor.new("Really black")
randomPlayer.character.LeftUpperLeg.BrickColor = BrickColor.new("Really black")
randomPlayer.character.LowerTorso.BrickColor = BrickColor.new("Really black")
randomPlayer.character.RightFoot.BrickColor = BrickColor.new("Really black")
randomPlayer.character.RightHand.BrickColor = BrickColor.new("Really black")
randomPlayer.character.RightLowerArm.BrickColor = BrickColor.new("Really black")
randomPlayer.character.RightLowerLeg.BrickColor = BrickColor.new("Really black")
randomPlayer.character.RightUpperArm.BrickColor = BrickColor.new("Really black")
randomPlayer.character.RightUpperLeg.BrickColor = BrickColor.new("Really black")
randomPlayer.character.UpperTorso.BrickColor = BrickColor.new("Really black")
randomPlayer.character.Humanoid:RemoveAccessories()
randomPlayer.character.Humanoid:EquipTool(randomPlayer.Backpack.Katana)
randomPlayer.character.Shirt:Destroy()
randomPlayer.character.Pants:Destroy()
That's my script, how can I make it so that only a single person (randomPlayer being the single person in this case) have CanLoadCharacterAppearance false, while it is true for everyone else?
What is currently happening is that it stops on line 6 and just keeps everyone in the server as grey rigs. Another question is how to properly work the LoadCharacter() part because that doesn't seem to work either.
Sorry for being so messy but I don't know how to explain this otherwise
