Okay so I want to make a morph tool that changes the player's clothing from what is currently being worn to a business man's suit, but the script must be mucked up since it changes the player's clothes to a plain white top with grey pants. Thanks if you read this and double thanks if you reply. Here is the script:
bin = script.Parent function onButton1Down(mouse) local player = game.Players.LocalPlayer if player == nil then return end player.Character.Shirt.ShirtTemplate="http://www.roblox.com/asset/?id=203673725" player.Character.Pants.PantsTemplate="http://www.roblox.com/asset/?id=173060340" Sound1 = script.Parent.Tele Sound2 = script.Parent.music Sound1:play() wait(1000) Sound1:Stop() Sound2:Play() player.Character.Humanoid.Health=0 mouse.Icon = "rbxasset://textures\\ArrowCursor.png" end function onSelected(mouse) mouse.Icon = "rbxasset://textures\\ArrowCursor.png" mouse.Button1Down:connect(function() onButton1Down(mouse) end) end bin.Selected:connect(onSelected)
There's is nothing wrong with it, you just forgot to -1. When setting a clothing asset ID, always make sure to -1 off of that ID.
For the : player.Character.Shirt.ShirtTemplate="http://www.roblox.com/asset/?id=203673725"
You would put : player.Character.Shirt.ShirtTemplate="http://www.roblox.com/asset/?id=203673724"
&
For the : player.Character.Pants.PantsTemplate="http://www.roblox.com/asset/?id=173060340"
You would put : player.Character.Pants.PantsTemplate="http://www.roblox.com/asset/?id=173060339"
See if that works.