function Shield() local cooldown = 17.5 local up = player.Character.S1up.Value local parts = player.Character:GetChildren() for i, v in pairs(parts) do if v:IsA('BasePart') then local shield = Instance.new('Part', v) shield.CanCollide = false shield.Material = Enum.Material.Neon shield.Size = v.Size shield.Anchored = true shield.Position = v.Position shield.Color = Color3.new(0, 0, 0) shield.Transparency = 0.6 end end end
As you can see, i'm trying to make a shield effect on a player's character (I know its anchored, i've just started it). It works as expected, but if you're facing almost perfectly forward or backward, using it locks you in place. I suspect it could be because it's making a joint on the player, but i'm not sure how I would prevent that, and that might not be whats happening. Could anyone help me fix this?