generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: help with gui giver

Previous Thread :: Next Thread 
epiccruelgun is not online. epiccruelgun
Joined: 24 Dec 2011
Total Posts: 381
11 Nov 2012 07:39 AM
this dosen't work and i need you to be wearing the pants when you click it:

function onClicked()
local humanoid = game.Workspace:FindFirstChild("Humanoid")
if (humanoid ~= nil) then -- if a humanoid exists, then
humanoid.PantsTemplate="http://www.roblox.com/asset/?id=87925231"
end
end
script.Parent.MouseButton1Click:connect(onClicked)
Report Abuse
Ampera is not online. Ampera
Joined: 26 Mar 2011
Total Posts: 2585
11 Nov 2012 07:58 AM
The humanoid does not have the pants template. The parent of it does. Anyways if that runs anyone could get the pants.
Report Abuse
epiccruelgun is not online. epiccruelgun
Joined: 24 Dec 2011
Total Posts: 381
11 Nov 2012 08:21 AM
so what is the script?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image