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 » Scripters
Home Search
 

Re: Change #### ## a textbox with FE?

Previous Thread :: Next Thread 
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 01:09 PM
The title, how can I change the text of a textbox in playergui with FE?
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 01:40 PM
b1
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
04 Aug 2017 01:42 PM
If you're using a server script, fire all clients with a remote event.

In the local script, check for a client event on the RE.

If it was fired, make the localscript change the playergui to your wish.
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 01:49 PM
fire all clients with a remote event?
What u mean with this any example because I'm struggling at it?
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
04 Aug 2017 01:53 PM
put a remote event in replicated storage

server script -

local rep = game:GetService('ReplicatedStorage')
local revent = rep:WaitForChild('name_of_event')

revent:Fire All Clients() -- remove spaces, it gets tagged for some reason


local script - (put inside of textbox)

local rep = game:GetService('ReplicatedStorage')
local revent = rep:WaitForChild('name_of_event')

revent.OnClientEvent:Connect(function()
script.Parent.Text = 'oh wow thanks vult'
end)

fin
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
04 Aug 2017 01:55 PM
im just confused on why you couldn't just use a localscript inside of the textbox

it would still work with no remote events needed
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 01:56 PM
But the problem is that is a textbox not a textlabel so players can input the text. I want to detect the text input of a PlayerGui textbox not a textlabel.
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
04 Aug 2017 01:57 PM
i just thought you wanted to change the text lmao

that requires other things i m not willing to do cuz i suck at string manipulation
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 02:10 PM
b2
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 02:28 PM
b3
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 02:48 PM
b4
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 03:05 PM
B5
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 03:26 PM
B6 I really need help.
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 03:59 PM
B7
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 04:23 PM
I need help T_T
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 05:24 PM
Keep bumping to the end T_T
Report Abuse
rubene45 is not online. rubene45
Joined: 08 May 2012
Total Posts: 333
04 Aug 2017 06:04 PM
Bump argh
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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