I want to make a script where a part will be moved to front of players and rotated to look at our player’s front. But when I use this script:
Part.CFrame = RootPart.CFrame:ToWorldSpace(CFrame.new(0,0,-5)); Part.CFrame = RootPart.CFrame:ToWorldSpace(CFrame.Angles(0,0,0));
Instead of moving part 5 studs in front of player and rotating it to look at our player’s front, it rotates the part to “random” rotation and put the part in (0,0,0) relative to player.
Expectation (Abandon those 2 parts in front of first part)
Reality (Abandon that part behind player)
I’ve browsed and I can’t find anyone with same problem as me, so I think this is not duplicate (?).
How do I fix my problem?