Advertisement
Mr-Shadow_Cat

somthing

Nov 24th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. Player = script.Parent.Parent.Parent.Parent.Parent
  2. Character = Player.Character
  3. PlayerGui = Player.PlayerGui
  4. Bars = PlayerGui.Bars
  5. Backpack = Player.Backpack
  6.  
  7. script.Parent.MouseButton1Down:connect(function()
  8. if Player ~= nil then -- "player" does not exist.
  9. if Character:FindFirstChild("Pants") then
  10. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=100706059"
  11. else
  12. Pants = Instance.new("Pants")
  13. Pants.PantsTemplate = "http://www.roblox.com/asset/?id=100706059"
  14. Pants.Parent = Character
  15. if Character:findFirstChild("Shirt") then
  16. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=100706019"
  17. else
  18. Shirt = Instance.new("Shirt")
  19. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=100706019"
  20. Shirt.Parent = Character
  21. end end
  22. end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement