|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 09 Aug 2011 06:42 PM |
| uhhh do i put it in StartGui? |
|
|
| Report Abuse |
|
|
| |
|
|
| 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 |
|
|
|
| 09 Aug 2011 06:54 PM |
| OK WTH AM I SOPPOSED TA DO??????????????????????????????? |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 09 Aug 2011 07:01 PM |
| swimguy777 can I get you more angry? He doesn't has a screen gui... |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2011 07:13 PM |
| do i delete the other script? |
|
|
| Report Abuse |
|
|