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: I need help with text changing

Previous Thread :: Next Thread 
DRMOTT is not online. DRMOTT
Joined: 20 Oct 2008
Total Posts: 515
16 Feb 2013 09:26 PM
Ok so i made a door that opens up when click a button in game. I had also made another brick that has Text above it Saying "Door: open" using the humanoid method thing. now what i want is when I click the button i want the brick with the text above it to change to "Door: Closed" and then back to "Door: Open" when clicked again. I am really confused on this.

Thanks
Report Abuse
Joalmo is not online. Joalmo
Joined: 28 Jun 2009
Total Posts: 1160
16 Feb 2013 10:58 PM
Simply add a snippet of code that changes the text inside the code that opens and closes the door.

--door open code
Door.Humanoid.Name = "Door : Open";

-close door code
Door.Humanoid.Name = "Door: Closed";

This is assuming you're using a humanoid to show the text. If not, the principle is still the same.
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