I want the character to face the position I am moving (like normal) but its locked facing the same direction even though I can move with the arrow keys just fine.
Code below…
local glowingPart = game.ServerStorage.GlowingPart
local function onCharacterAdded(character)
print("character added")
local ParticlePart = glowingPart:Clone()
-- put the ring at the same level as their feet
ParticlePart.CFrame = character.HumanoidRootPart.CFrame * CFrame.Angles(0, math.rad(90), math.rad(90)) + Vector3.new(0,-3,0)
ParticlePart.CanCollide = false
ParticlePart.Parent = character.HumanoidRootPart
local Weld = Instance.new("WeldConstraint")
print("weld made")
Weld.Parent = character.HumanoidRootPart
Weld.Part0 = ParticlePart
Weld.Part1 = character.HumanoidRootPart
end
local function onPlayerAdded(player)
player.CharacterAdded:Connect(onCharacterAdded)
end
game.Players.PlayerAdded:Connect(onPlayerAdded)
Hmm, try setting AutoRotate to true, but keep the Part0 and Part1 reversed:
local function onCharacterAdded(character)
print("character added")
local ParticlePart = glowingPart:Clone()
character.Humanoid.AutoRotate = true -- here
-- put the ring at the same level as their feet
ParticlePart.CFrame = character.HumanoidRootPart.CFrame * CFrame.Angles(0, math.rad(90), math.rad(90)) + Vector3.new(0,-3,0)
ParticlePart.CanCollide = false
ParticlePart.Parent = character.HumanoidRootPart
local Weld = Instance.new("WeldConstraint")
print("weld made")
Weld.Parent = character.HumanoidRootPart
Weld.Part0 = character.HumanoidRootPart
Weld.Part1 = ParticlePart
Just a wild guess but I believe the humanroot is also what controls the direction of the player so it may interfere with moving the player if you parent the part to the root of the player.
Maybe try parenting the part in the torso or something different?