Josh64

Thaumiel's hair

Jan 10th, 2020
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. if player:GetName() == "your character" then -- based on the name in the player.xml file
  2. if hasHairThaumiel == false then -- doesn't have the costume yet
  3. hasHairThaumiel = true -- has costume
  4. player:AddNullCostume(-- the hair costume)
  5. end
  6. else
  7. if hasHairThaumiel == true then
  8. hasHairThaumiel = false
  9. player:TryRemoveNullCostume(-- the hair costume)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment