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: findFirstChild Help!

Previous Thread :: Next Thread 
Deplexity is not online. Deplexity
Joined: 18 Nov 2011
Total Posts: 1965
26 Jul 2013 09:48 PM
Everything else is defined dont worry.

gungui = player.PlayerGui:FindFirstChild("GunGui")

function onClickTeamChangerButton()
if terminalopen == false then
if teamchangeropen == true then
teamchangeropen = false
if gungui ~= nil then
gungui.Back:TweenPosition(UDim2.new(0.5,-100,0,40))
end
sp.InfoFrame:TweenPosition(UDim2.new(0,340,0,-60))
else
teamchangeropen = true
if gungui ~= nil then
gungui.Back:TweenPosition(UDim2.new(0.5,-100,0,80))
end
sp.InfoFrame:TweenPosition(UDim2.new(0,340,0,40))
end
end
end

- Deplexity
Report Abuse
Deplexity is not online. Deplexity
Joined: 18 Nov 2011
Total Posts: 1965
26 Jul 2013 10:03 PM
Bump

- Deplexity
Report Abuse
IAmReallyAwesome is not online. IAmReallyAwesome
Joined: 05 Mar 2010
Total Posts: 7371
26 Jul 2013 10:04 PM
You need a connection for your click function.
Report Abuse
Deplexity is not online. Deplexity
Joined: 18 Nov 2011
Total Posts: 1965
26 Jul 2013 10:07 PM
There is a connection for it sorry.

sp.Frame.Info.MouseButton1Click:connect(onClickTeamChangerButton)

- Deplexity
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