the script:
if script.Parent.Position <= UDim2.new(0,0.475,0,0) then
print(“working”)
end
the problem: Players.Dquvo.PlayerGui.Gui.Frame.screen.PlayerL.Script:2: attempt to compare UDim2
the script:
if script.Parent.Position <= UDim2.new(0,0.475,0,0) then
print(“working”)
end
the problem: Players.Dquvo.PlayerGui.Gui.Frame.screen.PlayerL.Script:2: attempt to compare UDim2
Judging by the way you have the UDim2 set up, you seem to only care about the X
offset, if so, can’t you do this?
if script.Parent.Position.X.Offset <= 0.475 then
print("working")
end
Although I think you meant Scale
in that case