Hello! I’m having an issue where when i add a part infront of the player in the player’s character, the character physics are really off? I’m bad at explaining, but you can see for yourself:
with part:
without part:
this is my script:
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(character)
if not character:FindFirstChild("Camera") then
local cameraPart = Instance.new("Part")
cameraPart.Name = "Camera"
cameraPart.Size = Vector3.new(2, 1, 2)
cameraPart.Transparency = 1
cameraPart.Anchored = false
cameraPart.CanCollide = false
cameraPart.Massless = true
local head = character:WaitForChild("Head")
cameraPart.Position = head.Position + Vector3.new(0, 1, -10)
cameraPart.Parent = character
local weld = Instance.new("WeldConstraint")
weld.Part0 = head
weld.Part1 = cameraPart
weld.Parent = cameraPart
end
end)
end)