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 » Club Houses » Let's Make a Deal
Home Search
 

Help with the script!? Changing Text on touch

Previous Thread :: Next Thread 
AcentrixTheYouTuber is not online. AcentrixTheYouTuber
Joined: 01 Feb 2016
Total Posts: 2623
21 Feb 2016 10:14 AM
I wanna know how to make when I touch the brick to change a surface gui brick, a simple brick.

technically i am making a bus game and want to show announcements on the bus,

So when I hit that brick the sign text will change, please help


Acentrix ll Don't Ban me ll
Report Abuse
isc88 is not online. isc88
Joined: 30 May 2013
Total Posts: 27545
21 Feb 2016 10:15 AM
i'll get you started out

script.Parent.Touched:connect(function()
-- change gui stuff
end


R$1,888 for this! pm my main isc88!
Report Abuse
AcentrixTheYouTuber is not online. AcentrixTheYouTuber
Joined: 01 Feb 2016
Total Posts: 2623
21 Feb 2016 10:18 AM
So if I have a brick and the child are : Workspace.bussign.label.test

Test is the textlabel
Label is surfacegui
bussign is Part.

What do I do to change the text when I touch another brick..


Oh and in workspace, there is a brick called touchme, so basicly when I touch it I want it to change the text of bussign


Acentrix ll Don't Ban me ll
Report Abuse
AcentrixTheYouTuber is not online. AcentrixTheYouTuber
Joined: 01 Feb 2016
Total Posts: 2623
21 Feb 2016 10:20 AM
So yea ^^ Look what I said, help me?


Acentrix ll Don't Ban me ll
Report Abuse
isc88 is not online. isc88
Joined: 30 May 2013
Total Posts: 27545
21 Feb 2016 10:20 AM
--put this in a script in touchme
script.Parent.Touched:connect(function()
game.Workspace.bussign.label.test.Text = "WHATEVER YOU WANT!"
end


R$1,288 for this! pm my main isc88!
Report Abuse
AcentrixTheYouTuber is not online. AcentrixTheYouTuber
Joined: 01 Feb 2016
Total Posts: 2623
21 Feb 2016 10:21 AM
k thanks :)


Acentrix ll Don't Ban me ll
Report Abuse
isc88 is not online. isc88
Joined: 30 May 2013
Total Posts: 27545
21 Feb 2016 10:21 AM
yw


R$1,288 for this! pm my main isc88!
Report Abuse
AcentrixTheYouTuber is not online. AcentrixTheYouTuber
Joined: 01 Feb 2016
Total Posts: 2623
21 Feb 2016 10:23 AM
It does not work... https://gyazo(DOT)com/4b847382a775d07a86239e6a03a95003


Acentrix ll Don't Ban me ll
Report Abuse
AcentrixTheYouTuber is not online. AcentrixTheYouTuber
Joined: 01 Feb 2016
Total Posts: 2623
21 Feb 2016 11:24 AM
It does not work, maybe make a model or maybe tell me a new script?


Acentrix ll Don't Ban me ll
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Let's Make a Deal
   
 
   
  • 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