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: Can't use TextBoxes on SurfaceGuis?

Previous Thread :: Next Thread 
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 03:05 PM
Seriously?
If someone can tell me a bypass or something then I'd be very happy.
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 03:09 PM
(no methods which include a keyboard gui please)
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 03:34 PM
Whoever tells me how to bypass this gets 50 robux or something
idk
And I don't want it to involve another gui.
just a surfacegui+a script
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 03:43 PM
need this badly
Report Abuse
AnonyAnonymous is not online. AnonyAnonymous
Joined: 23 Jun 2013
Total Posts: 6332
24 Aug 2014 04:04 PM
Try using the Adornee property,
http://wiki.roblox.com/index.php?title=API:Class/SurfaceGui/Adornee
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 04:25 PM
What are you on mate?
Report Abuse
AnonyAnonymous is not online. AnonyAnonymous
Joined: 23 Jun 2013
Total Posts: 6332
24 Aug 2014 04:28 PM
What kind of problem happens exactly when you try to use it?.
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 04:29 PM
You can't enter any text into the textbox.
using textboxes are restricted on surfaceguis.
Report Abuse
DrunkerScripter is not online. DrunkerScripter
Joined: 22 Jun 2013
Total Posts: 275
24 Aug 2014 04:44 PM
This is probably the a longwinded way of doing it but could could have a TextLabel, and a TextButton with a +1 ZIndex of the TextButton.
When the TextButton is clicked clone a LocalScript that has a .KeyUp event in it, listen for keys then do sometihng like TextLabel.Text = TextLabel.Text..keyPressed

Add special events for space bar etc. Only way I can think of getting round it?

(Badly explain I know haterz gonna hate)
Report Abuse
IAmTheRolo is online. IAmTheRolo
Joined: 12 Nov 2013
Total Posts: 859
24 Aug 2014 04:57 PM
TextBox in PlayerGui, adornee'd to the part, maybe? I don't know, I haven't tested it.
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 05:23 PM
If someone does what that other guy says for me then I'll give them 75 robux providing they are bc?
Report Abuse
oscar9999991 is not online. oscar9999991
Joined: 15 Nov 2009
Total Posts: 11373
24 Aug 2014 05:40 PM
Ok, I will walk you through what you have to do, First insert a surfacegui into a brick, second insert a textbox into the surface gui, then search for the textbox on the brick, it should be on the front of the brick, then click on the textbox and go into property's and change the text to whatever you want and change the size to whatever you want.

Does that help?
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 05:51 PM
oscar mate
i'm not sure if you're trying to be rude mate but i know how to do that.
Report Abuse
oscar9999991 is not online. oscar9999991
Joined: 15 Nov 2009
Total Posts: 11373
24 Aug 2014 05:53 PM
Nope just trying to help but it works for me so I don't know what your problem is
Report Abuse
oscar9999991 is not online. oscar9999991
Joined: 15 Nov 2009
Total Posts: 11373
24 Aug 2014 05:54 PM
Do you want me to make you a model?
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 05:56 PM
no..no i don't.
i don't think you understand.
a textbox is a box which you can type in
i want that.
not a textlabel.
Report Abuse
oscar9999991 is not online. oscar9999991
Joined: 15 Nov 2009
Total Posts: 11373
24 Aug 2014 05:56 PM
I know what a textbox is... I'm not an idiot
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 05:58 PM
dude.. try what you just said
insert a textbox into a surfacegui.
go to play solo
try typing on it.
Report Abuse
oscar9999991 is not online. oscar9999991
Joined: 15 Nov 2009
Total Posts: 11373
24 Aug 2014 05:59 PM
wait I looked at the wiki and I don't think it is possible to do that
Report Abuse
IAmTheRolo is online. IAmTheRolo
Joined: 12 Nov 2013
Total Posts: 859
24 Aug 2014 05:59 PM
Yeah, just tested it. SurfaceGui in PlayerGui with Adornee set to the part worked for me.
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 06:00 PM
exactly, it's not possible to do it **BY DEFAULT**
this is why i am asking for an easy bypass.
Report Abuse
Exllumina is not online. Exllumina
Joined: 28 Jun 2014
Total Posts: 6314
24 Aug 2014 06:02 PM
"Limitations: TextBoxes, as descendants of this instance, are locked if the SurfaceGui instance is a descendant of Workspace."

http://wiki.roblox.com/index.php?title=RBX.lua.SurfaceGui_(Object)
Report Abuse
TrainingToTroll is not online. TrainingToTroll
Joined: 27 Oct 2012
Total Posts: 1757
24 Aug 2014 06:04 PM
Bump
Report Abuse
LordSmithyBoy is not online. LordSmithyBoy
Joined: 22 Dec 2013
Total Posts: 986
24 Aug 2014 06:11 PM
Yeah, I don't care if it's locked
I'm going to do this one way or another

Also
Why isn't this working
(this is not the full script)



hey.MouseButton1Down:connect(function(mouse)
mouse.KeyDown:connect(function(key)
if key=="a" then
nope.Value=nope.Value.."a"
end
end)
end)
Report Abuse
DrunkerScripter is not online. DrunkerScripter
Joined: 22 Jun 2013
Total Posts: 275
25 Aug 2014 03:39 AM
Above doesn't work because the .Button1Down event does not pass a PlayerMouse Object. The LocalScript could be something like (Written without testing)

repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character

local Mouse = game.Players.LocalPlayer:GetMouse()

Mouse.KeyDown:connect(function(key)
LABEL.Text = LABEL.Text..(key:lower())
end)
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