I need to position the stamp on the passport where it’s placed at, how can i do it?
Any help is appreciated.
I need to position the stamp on the passport where it’s placed at, how can i do it?
Any help is appreciated.
Try this:
g = game.Selection:Get()
local move = g[1] -- replace with the stamp on the paper
local target = g[2] -- replace with the stamp
local relativePos = target.AbsolutePosition - move.Parent.AbsolutePosition
move.Position = UDim2.fromOffset(relativePos.X, relativePos.Y)
is that just ai generated or sum
No, i wrote and tested it and seems to work as you need.
If you have other elemnts influencing the position then you have to fix that yourself
(i assume you want to place the stamp on the paper under the stamp, like in the game)
nevermind, figured it out myself
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.