menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Testing for a GUI position
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Testing for a GUI position
Kid_Bot
Join Date: 2011-06-26
Post Count: 144
#224834176
Wednesday, September 06, 2017 7:39 PM GMT
how would I make it so a script fires when a gui reaches a certain Y position, but doesn't look at the X position
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
iiNemo
Join Date: 2013-07-22
Post Count: 2380
#224834238
Wednesday, September 06, 2017 7:40 PM GMT
if Gui.X.Scale == 48 then Idk if ur using scale or offset..
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Sadlogics
Join Date: 2015-07-28
Post Count: 15
#226774402
Tuesday, October 24, 2017 2:49 PM GMT
Yes ROBLOX =)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
IcedVapour
Join Date: 2013-11-10
Post Count: 2741
#226774723
Tuesday, October 24, 2017 3:03 PM GMT
UDim2.Height
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
SurKipper
Join Date: 2011-12-25
Post Count: 436
#226776924
Tuesday, October 24, 2017 4:49 PM GMT
if gui.Position.Y < yUp then -- do stuff end if gui.Position.Y + gui.Size.Y.Offset > yDown then -- do stuff end
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right