|
| 03 May 2014 11:56 AM |
--SCRIPT--
local fram = script.Parent.SurfaceGui.Frame local text = fram.TextLabel while true do wait() if text.Position > UDim2.new(1,0,0,0)then text.Position = text.Position + UDim2.new(.1,0,0,0) elseif text.Position == UDim2.new(1,0,0,0) then text.Position = UDim2.new(-1,0,0,0) end end
--ERROR--
22:34:18.571 - Workspace.Part.Script:5: attempt to compare two userdata values |
|
|
| Report Abuse |
|
|
| 03 May 2014 11:58 AM |
apparently you can't compare position with udim2
~To see or not to see, that is the question |
|
|
| Report Abuse |
|