local lp = game.Players.LocalPlayer
local md = game.Workspace.Modell
function run()
--md.primary.Orientation.Y = tonumber(lp.Character.HumanoidRootPart.Orientation.Y) <-- for somereason it doesnt changes it..
--wait(1)
md:SetPrimaryPartCFrame(CFrame.new(lp.Character.HumanoidRootPart.Position)) -- <-- this works just fine
end
script.Parent.MouseButton1Down:connect(run)
when i click it , it doesnt face the right way as the HumanoidRootPart

4 comments
You need to include the rotation in the SetPrimaryPartCFrame function
how do i do that? im new to this.
http://wiki.roblox.com/index.php?title=API:Class/Model/SetPrimaryPartCFrame
To elaborate... when setting the Cframe, do this... CFrame.new(normal coordinates here)*CFrame.Angles(0,0,0) Edit the Cframe.Angle values (in radians) to what rotation you need. the second value is probably the one you need to alter