So I have my own DarkRP server and I have a money printer I made, so it sets the pos of the money it spawns based on the pos of the printer. See the thing is it doesnt get the angle so all it does is printers 25+ the x pos of the printer. I want to get it to always be able to print in front of the printer if you turn the printer or something, but I dont want to have to make it a storage type printer where it doesnt create money it just holds it and you click use to get the money. I tried getting the printer pos and I tested the four 90 degree angles but if I set the money to spawn depending on the angles it didnt work for me, any help would be appreciated please and thank you.
local MoneyPos = self:GetPos()
amount = 1000
local moneybag = DarkRP.createMoneyBag(Vector(MoneyPos.x + 25, MoneyPos.y, MoneyPos.z + 5), amount)