This is a question about Guis.... I'm really having a hard time on this.... and i cant seem to find a way to do it. So let me explain... I have a minimap, Minimap haves an arrow. I need to make the arrow face the player Front Direction This code works... Which makes the Arrow spin. (This script is inside the Arrow Frame)
while true do script.Parent.Rotation = script.Parent.Rotation - 1 end
But This one "Which i need" Doesn't
p = game.Players.LocalPlayer while true do script.Parent.Rotation = p.Character.Torso.Orientation end
Is there a specific value that Parts return that shows their Rotation? I need the arrow to face The Front of torso So whenever the player looks somewhere The arrow on the minimap also changes. Remembering That We're talking here about converting 3D Part Rotations into 2D Image Rotation (Minimap basics)
(i don't know how to send images there)
A good idea of the minimap is Gta:San Andreas Minimap.