I’m trying to change the position of a frame, I want to divide the number I get by 2 so my script works on all scales. I don’t really understand the error. All I know from looking at other forums’ posts is that I may be using the wrong method.
Error message
Players.LiquifySlashes.PlayerGui.MinimapV1.ImageLabel.LocalScript:663: attempt to perform arithmetic (div) on UDim and number
Edit: I just read you said RenderImage was a vector position. My fault. However it still seems that RenderImage is the issue at hand, considering its the error comes from dividing something.
Can you maybe look for what RenderImage is initialized as?
With great help from Nico aka 1nicopatty, I found the solution to my problem. Which first was not using scale at the right position then not knowing how to find the middle of the map but here is the finale string of code.