I am trying to ake a capture the flag, but I don't know how to make the flag stick to the back of the player. Does this have to do with the CFrame?
You can make it stick to the player with a 'WeldConstraint'. Here's how.
local weld = Instance.new("WeldConstraint") weld.Part0 = flag weld.Part1 = character.HumanoidRootPart -- I believe this works in both r6 and r15. weld.Parent = flag flag.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(Vector3.new(0,0,-1)) --[[ This puts the flag on the player's back, but you can mess around with it and see what works best for you. ]]
If you have any questions, please comment.