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: How would I make a GUI with a PWord?

Previous Thread :: Next Thread 
AlexandriaHS is not online. AlexandriaHS
Joined: 21 Nov 2016
Total Posts: 2346
08 Dec 2016 05:53 PM
I've been trying to figure out how to make a GUI with a PWord needed to make it fade away. I've tried many ways to do it, but nothing is working out.


𝒜𝓁𝑒𝓍𝒶𝓃𝒹𝓇𝒾𝒶
Report Abuse
Aliics is not online. Aliics
Joined: 29 Sep 2014
Total Posts: 471
08 Dec 2016 06:02 PM
TextBox

--LocalScript instead of TextBox

Player = game.Players.LocalPlayer
Frame = script.Parent.Parent --the Frame holding the TextBox

TextBox.FocusLost:connect(function()
--make 'Frame' fade here
end)


Report Abuse
superconscript is not online. superconscript
Joined: 15 Mar 2012
Total Posts: 413
08 Dec 2016 06:04 PM
use a textbox and a textbutton. Have a function connect to when someone presses the textbutton and then it retrieves the text in the textbox. Then compare that string to the PWord string. function clicked () enteredstring = tbox.Text if enteredstring == ##### then framethatholdgui.Visible = false end end textbutton.MouseButton1Down:connect(clicked) Fill in and define the variables may work.
Report Abuse
Aliics is not online. Aliics
Joined: 29 Sep 2014
Total Posts: 471
08 Dec 2016 06:05 PM
I forgot to define 'TextBox', put 'TextBox = script.Parent' above the FocusLost Event.


Report Abuse
superconscript is not online. superconscript
Joined: 15 Mar 2012
Total Posts: 413
08 Dec 2016 06:06 PM
function clicked ()
enteredstring = tbox.Text
if enteredstring == word then
framethatholdgui.Visible = false
end
end
textbutton.MouseButton1Down:connect(clicked)
Fill in and define the variables may work.
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