It doesn't collide, nor is it anchored, and when a character walks up to me, they get pushed back at a high velocity, or even off the map entirely.
function weld(p0, p1, p)
local weld = Instance.new("WeldConstraint")
weld.Part0 = p0
weld.Part1 = p1
weld.Parent = p
end
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local root = character:WaitForChild("Head")
if root then
local newPart = Instance.new("Part")
newPart.Shape = ("Ball")
newPart.Transparency = 0.7
newPart.Size = Vector3.new(5.6, 5.6, 5.6)
newPart.TopSurface = ("Smooth")
newPart.BottomSurface = ("Smooth")
newPart.BrickColor = BrickColor.new("Really blue")
newPart.CanCollide = false
newPart.CFrame = root.CFrame * CFrame.new(0, -1.5, 0)
newPart.Parent = workspace
weld(root, newPart, root)
wait(10)
newPart.Transparency = 1
end
end)
end)

2 comments
make sure the velocity is 0,0,0.
Oh okay, thanks!