fun4nerd
|
  |
| Joined: 30 Oct 2013 |
| Total Posts: 4440 |
|
|
| 27 Nov 2015 05:48 PM |
It gives me an error: 18:45:38.542 - Players.Player.PlayerGui.MainGui.ScreenFit:7: attempt to compare two userdata values
wait() local sp = script.Parent
if sp.AbsoluteSize >= Vector2.new(1300, 1) then print"WORKING!" end |
|
|
| Report Abuse |
|
|
62GB
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 4157 |
|
|
| 27 Nov 2015 05:50 PM |
Compare coordinates.
if sp.AbsoluteSize.X > 50 then
print'yes'
end |
|
|
| Report Abuse |
|
|
|
| 27 Nov 2015 05:52 PM |
| Userdata = object value, you can't compare them |
|
|
| Report Abuse |
|
|