of     1   

ChocCookieRaider
#64216850Monday, March 12, 2012 5:54 PM GMT

script.parent.MouseButton1Click:connect(function() MAKE GUI MOVE end) How would you make it so that this goes from {0.219999999, 0}, {0, 0} to {0.219999999, 0}, {0.4, 0} but do it really smoothly? And then once that was done it would change the buttons text from Hide to Show and if clicked again make it go back to {0.219999999, 0}, {0, 0} smoothly and change the text to Hide? I will do the parenting myself.
su8
#64216892Monday, March 12, 2012 5:55 PM GMT

ChocCookieRaider
#64216932Monday, March 12, 2012 5:56 PM GMT

THAT IS USELESS! I TRIED TO DO IT LOADS OF TIMES AND I CANT GET IT TO WORK! UNLESS YOU KNOW THE SCRIPT ON HOW TO DO IT DONT POST WIKIS!
su8
#64216985Monday, March 12, 2012 5:58 PM GMT

There's a sample script which should work.. You're just doing it wrong..
ChocCookieRaider
#64217233Monday, March 12, 2012 6:05 PM GMT

How would you make this work? script.parent.MouseButton1Click:connect(function() GUI:TweenPosition(UDim2.new(0.219999999, 0, -0.300000012, 0), "Out", "Quad", 3, true) end) So it will go to that position. It comes up wiith 18:05:10 - parent is not a valid member of Script 18:05:10 - Script "Players.ChocCookieRaider.PlayerGui.ScreenGui.TextButton.Scr", Line 1 18:05:10 - stack end
ChocCookieRaider
#64217585Monday, March 12, 2012 6:13 PM GMT

Help?
su8
#64217644Monday, March 12, 2012 6:14 PM GMT

You haven't defined GUI and it's script.Parent not script.parent
ChocCookieRaider
#64217960Monday, March 12, 2012 6:23 PM GMT

From the script it goes Script.Parent.Parent.Game Info
ChocCookieRaider
#64218130Monday, March 12, 2012 6:28 PM GMT

Incase you don't know i really need this script...
NewFissy
#64218196Monday, March 12, 2012 6:30 PM GMT

You did not define the variable GUI
ChocCookieRaider
#64218256Monday, March 12, 2012 6:32 PM GMT

??? Variable Gui? If that is the one that moves it's my last post with the parenting.
ChocCookieRaider
#64218570Monday, March 12, 2012 6:42 PM GMT

Help?
NewFissy
#64218794Monday, March 12, 2012 6:49 PM GMT

GUI = script.Parent script.Parent.MouseButton1Click:connect(function() GUI:TweenPosition(UDim2.new(0.219999999, 0, -0.300000012, 0), "Out", "Quad", 3, true) end)
ChocCookieRaider
#64218912Monday, March 12, 2012 6:53 PM GMT

Now i get this in the output: 18:52:18 - Players.ChocCookieRaider.PlayerGui.ScreenGui.TextButton.Script:5: 'end' expected (to close 'function' at line 1) near '' With this script: script.parent.MouseButton1Click:connect(function() GUI = script.Parent.Parent.GameInfo script.Parent.MouseButton1Click:connect(function() GUI:TweenPosition(UDim2.new(0.219999999, 0, -0.300000012, 0), "Out", "Quad", 3, true) end)
rangersmash
#64219180Monday, March 12, 2012 7:00 PM GMT

[ Content Deleted ]
ChocCookieRaider
#64221446Monday, March 12, 2012 7:44 PM GMT

Thanks it works on its own but i need it to work with this: GUI = script.Parent.Parent.GameInfo script.Parent.MouseButton1Click:connect(function() GUI:TweenPosition(UDim2.new(0.219999999, 0, -0.300000012, 0), "Out", "Quad", 3, true) Script.parent.Text = "Show" end script.Parent.MouseButton1Click:connect(function() GUI:TweenPosition(UDim2.new(0.219999999, 0, 0, 0), "Out", "Quad", 3, true) Script.parent.Text = "Hide" end) Thing is the output comes up with nothing -_# -Did you know im marshallclan?-
darkkiller5555
#64221552Monday, March 12, 2012 7:46 PM GMT

Capitalize the p in parent and learn to script properly. And stop ranting like a 5 year old while you're at it.
ChocCookieRaider
#64221702Monday, March 12, 2012 7:49 PM GMT

Done that. Still doesn't work.
darkkiller5555
#64221856Monday, March 12, 2012 7:51 PM GMT

GUI = script.Parent.Parent.GameInfo local active = false script.Parent.MouseButton1Down:connect(function() if not active then GUI:TweenPosition(UDim2.new(0.22, 0, -0.3, 0), "Out", "Quad", 3, true) script.Parent.Text = "Show" end end script.Parent.MouseButton1Down:connect(function() if active then GUI:TweenPosition(UDim2.new(0.22, 0, 0, 0), "Out", "Quad", 3, true) script.Parent.Text = "Hide" end end) Try that.
ChocCookieRaider
#64221976Monday, March 12, 2012 7:53 PM GMT

19:53:13 - Players.ChocCookieRaider.PlayerGui.ScreenGui.HIde.Script:9: ')' expected (to close '(' at line 3) near 'script' >_<
darkkiller5555
#64222222Monday, March 12, 2012 7:57 PM GMT

GUI = script.Parent.Parent.GameInfo local active = false script.Parent.MouseButton1Down:connect(function() if not active then GUI:TweenPosition(UDim2.new(0.22, 0, -0.3, 0), "Out", "Quad", 3, true) script.Parent.Text = "Show" end end) script.Parent.MouseButton1Down:connect(function() if active then GUI:TweenPosition(UDim2.new(0.22, 0, 0, 0), "Out", "Quad", 3, true) script.Parent.Text = "Hide" end end)
ChocCookieRaider
#64222411Monday, March 12, 2012 8:01 PM GMT

It works hiding it but when you click to show it it doesn't. >O<
ChocCookieRaider
#64259234Tuesday, March 13, 2012 7:22 AM GMT

I'm gonna try a different way. Should work. Idea: Use 2 scripts. One UP one DOWN. But if it is currently down the down script will be disabled. When the button is clicked the UP will be disabled but DOWN will be disabled! :D Unless anyone can fix it...
rangersmash
#64259252Tuesday, March 13, 2012 7:25 AM GMT

[ Content Deleted ]
ChocCookieRaider
#64265937Tuesday, March 13, 2012 4:39 PM GMT

D: It still only hides and changes text but doesn't go back. >_<

    of     1