Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = script.Parent.Parent.Parent.Parent.Parent
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Bars = PlayerGui.Bars
- Backpack = Player.Backpack
- script.Parent.MouseButton1Down:connect(function()
- if Player ~= nil then -- "player" does not exist.
- if Character:FindFirstChild("Pants") then
- Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=100706059"
- else
- Pants = Instance.new("Pants")
- Pants.PantsTemplate = "http://www.roblox.com/asset/?id=100706059"
- Pants.Parent = Character
- if Character:findFirstChild("Shirt") then
- Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=100706019"
- else
- Shirt = Instance.new("Shirt")
- Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=100706019"
- Shirt.Parent = Character
- end end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement