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: f3 button open image 20 robux

Previous Thread :: Next Thread 
Vexeris is not online. Vexeris
Joined: 03 Apr 2014
Total Posts: 468
07 Apr 2014 06:26 PM
how can i make a script in a gui that when i press f3 it opens it ??
Report Abuse
Vexeris is not online. Vexeris
Joined: 03 Apr 2014
Total Posts: 468
07 Apr 2014 06:29 PM
RBR = Recent Bump Ratio
Report Abuse
BladeXE is not online. BladeXE
Joined: 22 Dec 2012
Total Posts: 3857
07 Apr 2014 06:29 PM
Why f3?
z = key:lower() == "z"
gui = game.Lighting.Gui:clone()
game.Players.PlayerAdded:connect(function(p)
if p.z then
gui.Parent = p.PlayerGui
end
end)
Report Abuse
Vexeris is not online. Vexeris
Joined: 03 Apr 2014
Total Posts: 468
07 Apr 2014 06:33 PM
well that din't work how about making a gui button that when u press it opens a "imagelabel"
Report Abuse
Vexeris is not online. Vexeris
Joined: 03 Apr 2014
Total Posts: 468
07 Apr 2014 06:33 PM
nvm i did that i just need to know what to put in the localscript
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Apr 2014 06:34 PM
You can't do it with F3. I'll do it with F4.

--local script, inside a frame in a GUI

plr = game.Players.LocalPlayer
mouse = plr:GetMouse()

mouse.KeyDown:connect(function(key)
if key:byte() == 29 then
script.Parent.Visible = not script.Parent.Visible
end
end)

Try this. If it doesn't work, do this:

plr = game.Players.LocalPlayer
mouse = plr:GetMouse()
db = false

mouse.KeyDown:connect(function(key)
if key:byte() == 29 and db == false then
script.Parent.Visible = true
elseif key:byte() == 29 and db == true then
script.Parent.Visible = false
db = false
end
end)
Report Abuse
BladeXE is not online. BladeXE
Joined: 22 Dec 2012
Total Posts: 3857
07 Apr 2014 06:35 PM
From here on out
I don't reply
to nub posters

mine would work
you just copied my whole post xc
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Apr 2014 06:36 PM
db = false

script.Parent.MouseButton1Down:connect(function()
if db == false then db = true
script.Parent.Parent.ImageLabel.Visible = true
elseif db == true then db = false
script.Parent.Parent.ImageLabel.Visible = false
end
end)
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
07 Apr 2014 06:36 PM
F3 is a locked key, as it's the trigger to bring you to the wiki in game. So do F4 or F2 (string.byte(29/27))
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Apr 2014 06:37 PM
@Blade; I don't think your will work.

Looking at it:

It is saying player.KeyDown.
If I am correct, you can only use KeyDown with the mouse. So mine would work.
Report Abuse
Vexeris is not online. Vexeris
Joined: 03 Apr 2014
Total Posts: 468
07 Apr 2014 06:39 PM
great but there is still one mistake it is open before even pressing f4
Report Abuse
Vexeris is not online. Vexeris
Joined: 03 Apr 2014
Total Posts: 468
07 Apr 2014 06:40 PM
lel nvm
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Apr 2014 06:42 PM
Then you make it not visible.
Do this:

View>Explorer
Views>Properties

Explorer>StarterGui>ScreenGui>Frame.Visible = false

You just click StarterGui, click the screen Gui, select the frame, and then look on the properties screen.
Keep on looking on it, until you find something called 'Visible.' It should have a check box beside it. Click it if it is checked.
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Apr 2014 06:42 PM
You owe me 20 robux.
:c
Report Abuse
Vexeris is not online. Vexeris
Joined: 03 Apr 2014
Total Posts: 468
07 Apr 2014 06:43 PM
Ok make a tshirt and me buy !!!!!!!!111111111111111111111
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Apr 2014 06:43 PM
http://www.roblox.com/My/Item.aspx?ID=73993737
Report Abuse
Vexeris is not online. Vexeris
Joined: 03 Apr 2014
Total Posts: 468
07 Apr 2014 06:44 PM
bought
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 Apr 2014 06:45 PM
Thanks.
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