Advertisement
yamanohera155233

Untitled

Jun 29th, 2016
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. local p = game.Players.Yamanohera15523
  2. local char = p.Character
  3. ----------------------
  4. char.Shirt:Destroy()
  5. char.Pants:Destroy()
  6. shirt = Instance.new("Shirt", char)
  7. shirt.Name = "Shirt"
  8. pants = Instance.new("Pants", char)
  9. pants.Name = "Pants"
  10. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=153367459"
  11. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237725734"
  12. -----------------------
  13. local players = Game.Players:GetPlayers()
  14. local face1 = "http://www.roblox.com/asset/?id=7058424"
  15. local face2 = "http://www.roblox.com/asset/?id=7429837"
  16. local face = script.Parent.Head.Decal
  17. local target = Game.Workspace[players[math.random(1, #players)]]:findFirstChild("Humanoid")
  18.  
  19. while wait() do
  20. if target.Health ​> 0 then
  21. face.Text = face2
  22. elseif target.Health == 0 then
  23. face.Texture = face1
  24. end
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement