I asked for some help before on how to make frames impossible to pass through but I will explain what I did anyways. (it worked but one piece of code didn't work for some reason) I made a controllable ImageLabel that the players can use WASD to control the ImageLabel. I've added an extra line of code that takes the Frame's position and subtracts with the ImageLabel's X position so players cannot pass beyond that point. Here is the code if needed:
if script.Down.Value == true and (position2.Position.Y.Scale + .0025) <
(0.168, 0,0.01, 0) - (0.017, 0)
position2.Position = position2.Position + UDim2.new(0,0,0.0025,0)
end

1 comment
im very sorry to say this but it does not work. :(