Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to rotate house to the UI which you buy it?

Asked by 3 years ago

Hey!

I currently have a plot system, where theres the plots and you can claim it with the BilboardGui, the plots only spawn where I left the parts rotate before putting it on ServerStorage so I tried to rotate the house group model with this script, which did not work, if anyone can help I would be so happy!

               clone.Parent = envio
        clone.Position = envio.Parent.Position.Position
        clone.Casa:MoveTo(clone.Position)

        local pos = pPlot.Gui.Position + pPlot.Gui.CFrame.LookVector * 5 
        clone.Casa.CFrame = CFrame.new(pos, pPlot.Gui.Position)
The bilboard gui is on localgui by the way.

Answer this question