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: Creating an Equal Opposite Reaction??

Previous Thread :: Next Thread 
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
10 Nov 2011 08:39 AM
So, I'm working with GUI's and i'm trying to create an equal opposite reaction when one GUI hit's another.. I've been toying with it, but when one GUI hits the second, it only goes in the top left direction...

origPos=blue.Position
origAbs=blue.AbsolutePosition
rate = 0
while true do
wait()
rate = rate +1
if origAbs.X < 0 or origAbs.Y < 0 then
puck.Position = UDim2.new(origPos.X.Scale,origPos.X.Offset+rate,origPos.Y.Scale,origPos.Y.Offset+rate)
elseif origAbs.X > 0 or origAbs.Y > 0 then
puck.Position = UDim2.new(origPos.X.Scale,origPos.X.Offset-rate,origPos.Y.Scale,origPos.Y.Offset-rate)
end
end
Report Abuse
techepicface is not online. techepicface
Joined: 28 Jun 2011
Total Posts: 1180
10 Nov 2011 08:44 AM
dude why do you spam?
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
10 Nov 2011 09:01 AM
Anyone?
Report Abuse
FreeGamesROBLOX is not online. FreeGamesROBLOX
Joined: 15 Jun 2011
Total Posts: 6622
10 Nov 2011 09:03 AM
Hmm...
Report Abuse
techepicface is not online. techepicface
Joined: 28 Jun 2011
Total Posts: 1180
10 Nov 2011 09:04 AM
he's spamming and swearing on his alt, dont help him.
Report Abuse
FreeGamesROBLOX is not online. FreeGamesROBLOX
Joined: 15 Jun 2011
Total Posts: 6622
10 Nov 2011 09:05 AM
He's one of Telamon's first friends, he wouldn't spam. Or swear. He's an 06er. STOP. FLAMING.
Report Abuse
techepicface is not online. techepicface
Joined: 28 Jun 2011
Total Posts: 1180
10 Nov 2011 09:06 AM
read the same exact forum post created by his alt, Calculus and see him swearing twice in one post.
Report Abuse
FreeGamesROBLOX is not online. FreeGamesROBLOX
Joined: 15 Jun 2011
Total Posts: 6622
10 Nov 2011 09:12 AM
How do you know that is his alt?
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
10 Nov 2011 09:14 AM
So.. Anyone??
Report Abuse
techepicface is not online. techepicface
Joined: 28 Jun 2011
Total Posts: 1180
10 Nov 2011 09:33 AM
he said on his alt he'd repost it on his main.
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
10 Nov 2011 10:22 AM
Bump
Report Abuse
VolcanoINC is not online. VolcanoINC
Joined: 19 Sep 2008
Total Posts: 1395
10 Nov 2011 11:39 AM
techepicface, shut up. You have nothing to do here. As a matter of fact, you're the one spamming here.
Stop acting like a 3-year old and get out.
Report Abuse
VolcanoINC is not online. VolcanoINC
Joined: 19 Sep 2008
Total Posts: 1395
10 Nov 2011 11:43 AM
@Leeav: I'll play around with it and see if I can get it to work. I will let you know when I got some results.
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
10 Nov 2011 12:02 PM
Alright. Thank you sir.
Report Abuse
deividaxas is not online. deividaxas
Joined: 20 Feb 2009
Total Posts: 1054
10 Nov 2011 01:13 PM
by doing that you are saying like if over left top corner go to right bottom corner :|

-- +1 post ?Problem? ^^ -- if you got any more question feel free to pm me
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
10 Nov 2011 07:15 PM
Anyone else?
Report Abuse
Leeav is not online. Leeav
Top 100 Poster
Joined: 07 Sep 2006
Total Posts: 1905
10 Nov 2011 09:30 PM
?
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