Leeav
|
  |
 |
| 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 |
|
|
| |
|
Leeav
|
  |
 |
| Joined: 07 Sep 2006 |
| Total Posts: 1905 |
|
| |
|
| |
|
|
| 10 Nov 2011 09:04 AM |
| he's spamming and swearing on his alt, dont help him. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 10 Nov 2011 09:12 AM |
| How do you know that is his alt? |
|
|
| Report Abuse |
|
|
Leeav
|
  |
 |
| Joined: 07 Sep 2006 |
| Total Posts: 1905 |
|
| |
|
|
| 10 Nov 2011 09:33 AM |
| he said on his alt he'd repost it on his main. |
|
|
| Report Abuse |
|
|
Leeav
|
  |
 |
| Joined: 07 Sep 2006 |
| Total Posts: 1905 |
|
| |
|
|
| 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 |
|
|
|
| 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
|
  |
 |
| Joined: 07 Sep 2006 |
| Total Posts: 1905 |
|
| |
|
|
| 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
|
  |
 |
| Joined: 07 Sep 2006 |
| Total Posts: 1905 |
|
| |
|
Leeav
|
  |
 |
| Joined: 07 Sep 2006 |
| Total Posts: 1905 |
|
| |
|