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: HELP PLEASE! Moving GUI--Script in post--What is wrong with it??

Previous Thread :: Next Thread 
BELLYBUTTONMAN5 is not online. BELLYBUTTONMAN5
Joined: 03 Jul 2010
Total Posts: 160
09 Aug 2011 06:29 PM
--The ScreenGui is called StartGui and the Button in the StartGui is called StartingButton BTW
StartingButton = game.Workspace.TextButton
function onClicked()
StartingButton.Position = UDim2.new(0, 200, 0, 305)
wait(0.1)
StartingButton.Position = UDim2.new(0, 200, 0, 310)
wait(0.1)
StartingButton.Position = UDim2.new(0, 200, 0, 315)
wait(0.1)
StartingButton.Position = UDim2.new(0, 200, 0, 320)
wait(0.1)
StartingButton.Position = UDim2.new(0, 200, 0, 325)
end
StartingButton.MouseButton1Clicked:connect(onClicked)


anyone know whats wrong with it??
Report Abuse
BELLYBUTTONMAN5 is not online. BELLYBUTTONMAN5
Joined: 03 Jul 2010
Total Posts: 160
09 Aug 2011 06:30 PM
nvm! dont answer i see a topic that says anything wrong with ur script? post here or somthing :P
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
09 Aug 2011 06:37 PM
WhyDaHeck is your GUI in workspace?

[Insert squiggles here][Say something humorous here][More squiggles go here]
Report Abuse
BELLYBUTTONMAN5 is not online. BELLYBUTTONMAN5
Joined: 03 Jul 2010
Total Posts: 160
09 Aug 2011 06:42 PM
uhhh do i put it in StartGui?
Report Abuse
BELLYBUTTONMAN5 is not online. BELLYBUTTONMAN5
Joined: 03 Jul 2010
Total Posts: 160
09 Aug 2011 06:45 PM
..niiiiiiiiice
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
09 Aug 2011 06:45 PM
Derpderpderp.

Make sure you change the first line too. Ya know what, I'll just do this. MAKE SURE YOU PUT THIS IN A LOCALSCRIPT

StartingButton = game.Players.LocalPlayer.PlayerGui.TextButton
function onClicked()
StartingButton:TweenPosition(UDim2.new(0,200,0,325),"In","Linear"))
end
StartingButton.MouseButton1Clicked:connect(onClicked)

[Insert squiggles here][Say something humorous here][More squiggles go here]
Report Abuse
BELLYBUTTONMAN5 is not online. BELLYBUTTONMAN5
Joined: 03 Jul 2010
Total Posts: 160
09 Aug 2011 06:54 PM
OK WTH AM I SOPPOSED TA DO???????????????????????????????
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
09 Aug 2011 06:57 PM
@Swim

Your script is nearly the same has the one I posted on the thread he posted asking for help too.
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
09 Aug 2011 06:57 PM
YA PUT DIZ IN DA LOKALSKRIPT DEN U PUT DA LOKALSKRIPT IN DA GUI DAT U WANT 2 MOV

StartingButton = script.Parent
function onClicked()
StartingButton:TweenPosition(UDim2.new(0,200,0,325),"In","Linear"))
end
StartingButton.MouseButton1Clicked:connect(onClicked)

[Insert squiggles here][Say something humorous here][More squiggles go here]
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
09 Aug 2011 07:01 PM
swimguy777 can I get you more angry? He doesn't has a screen gui...
Report Abuse
BELLYBUTTONMAN5 is not online. BELLYBUTTONMAN5
Joined: 03 Jul 2010
Total Posts: 160
09 Aug 2011 07:13 PM
do i delete the other script?
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