Advertisement
Theskyler900

test shirt terumi char

Sep 6th, 2017
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. local Player = game:GetService("Players").LocalPlayer
  2. --Settings--
  3. local Uniform = {}
  4. Uniform.Shirt = "http://roblox.com/asset/?id=799776807"
  5. Uniform.Pants = "http://roblox.com/asset/?id=911033495"
  6. --function--
  7. function AddUniform(P)
  8. local Character = P.Character
  9. repeat wait(0) until Character ~= nil
  10. for i,Object in next,Character:GetChildren() do
  11. if Object:IsA("Shirt") or Object:IsA("Pants") then
  12. Object:Destroy()
  13. end
  14. end
  15. local Shirt = Instance.new("Shirt",Character)
  16. Shirt.ShirtTemplate = Uniform.Shirt
  17. local Pants = Instance.new("Pants",Character)
  18. Pants.PantsTemplate = Uniform.Pants
  19. end
  20. --GUIPart--
  21. local Bin = script.Parent
  22. if Bin:IsA("TextButton") or Bin:IsA("ImageButton") then
  23. Bin.MouseButton1Down:connect(function()
  24. AddUniform(Player)
  25. end)
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement