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: Need scripting help.

Previous Thread :: Next Thread 
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:25 PM
I need help, cause I'm trying to make a script that once you TP to a certain brick, it automatically changes your clothing to a certain outfit, I choose.

If there already is a script like that, do you think you'd be able to let me know?
Thanks - NY

NY The Foruming Guy
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:26 PM
B1

NY The Foruming Guy
Report Abuse
kingping259 is not online. kingping259
Joined: 09 Mar 2009
Total Posts: 275
25 Sep 2014 06:27 PM
#Need Mo info

What brick to teleport to?

How would they teleport to it?

(aka touching a different brick, voice command, etc.)

And why didn't you provide this info at first?
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:29 PM
A tool I scripted, that tp's you to a brick on the certain position I made.

Thing I need help is with,

When you touch the brick, that you get tp'ed to
I want the clothing to automatically change, like a touch-on script.



NY The Foruming Guy
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:30 PM
And because, Idk how to make that kind of script ._.


NY The Foruming Guy
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:32 PM
b2


NY The Foruming Guy
Report Abuse
kingping259 is not online. kingping259
Joined: 09 Mar 2009
Total Posts: 275
25 Sep 2014 06:35 PM
shirtID = (0) -- Change these to what the IDs are for the shirt/pants
pantsID = (0)

function OnTouched(part)
local char = part.Parent
local humanoid = char:findFirstChild("Humanoid")
if char and humanoid then
local check1 = char:findFirstChild("Shirt")
local check2 = char:findFirstChild("Pants")
if check1 and check2 then
check1.ShirtTemplate = "http://www.roblox.com/asset/?id="..shirtID..""
check2.PantsTemplate = "http://www.roblox.com/asset/?id="..pantsID..""
end
end
end

script.Parent.Touched:connect(OnTouched)
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:35 PM
0/10 Unhelpful


NY The Foruming Guy
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:35 PM
10/10 Helpful,
Thanks
didn't see that, at first xD

sIDE NOTE,

Do I put the script into the brick I want it to work on?

NY The Foruming Guy
Report Abuse
kingping259 is not online. kingping259
Joined: 09 Mar 2009
Total Posts: 275
25 Sep 2014 06:35 PM
^Put that in the brick you want to change the shirt and pants when touched.

And also change the IDs to what the IDs are of the shirt/pants.
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:36 PM
& Does it have to be an asset made by me?


NY The Foruming Guy
Report Abuse
kingping259 is not online. kingping259
Joined: 09 Mar 2009
Total Posts: 275
25 Sep 2014 06:37 PM
Erm, no, just put the shirt ID in like (123456789) the numbers in the link to the shirt at the end.
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:43 PM
ty, will let you know if anything went wrong


NY The Foruming Guy
Report Abuse
kingping259 is not online. kingping259
Joined: 09 Mar 2009
Total Posts: 275
25 Sep 2014 06:44 PM
I'm getting a "failed to resolve texture format" error message, but everything else is working.

Would say 7/10 helpful, someone edit that last part to make it work.
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:45 PM
qq, doesn't work at-all for me.


NY The Foruming Guy
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:49 PM
Um


NY The Foruming Guy
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:51 PM
tsehsgd


NY The Foruming Guy
Report Abuse
NYSupreme is not online. NYSupreme
Joined: 04 Aug 2011
Total Posts: 2616
25 Sep 2014 06:52 PM
help ok m8


NY The Foruming Guy
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