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 » Scripters
Home Search
 

Re: Close Script

Previous Thread :: Next Thread 
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
30 Jul 2015 10:20 AM
I need a script where if I press script.Parent, the gui will slide from its position to {0, -200},{0.48, 0}


I'm just here so I don't get fined
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
30 Jul 2015 10:22 AM
Use tween

http://wiki.roblox.com/index.php?title=Tween

Women are like fine wine, I can't get their tops off
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
30 Jul 2015 10:22 AM
I know but last time I tried it didn't work well, so can someone script a quick one for meh


I'm just here so I don't get fined
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
30 Jul 2015 10:23 AM
...
Post the code that didn't work here, we'll fix that for you happily. We will NOT write free scripts for people.


http://wiki.roblox.com/index.php?title=Absolute_beginner%27s_guide_to_scripting

http://www.roblox.com/Forum/ShowPost.aspx?PostID=153548676

Women are like fine wine, I can't get their tops off
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
30 Jul 2015 10:26 AM
local button = script.Parent
local menu = script.Parent.Parent
local opened = false

button.MouseButton1Click:connect(function()
menu:TweenPosition(UDim2.new(0, -200, 0.48, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quad, 1, true)
button.BackgroundColor3 = Color3.new(1, 0, 0)
end)



It doesn't slide the way I want it to, it slides diagonal


I'm just here so I don't get fined
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
30 Jul 2015 10:27 AM
Use TweenPosition then.

Women are like fine wine, I can't get their tops off
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
30 Jul 2015 10:28 AM
Did you see..I am doing TweenPosition


I'm just here so I don't get fined
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
30 Jul 2015 10:39 AM
b


I'm just here so I don't get fined
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
30 Jul 2015 10:52 AM
b2


I'm just here so I don't get fined
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
30 Jul 2015 11:05 AM
b3


I'm just here so I don't get fined
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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