Player Collision Problem

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    My Players keep colliding into each other when I run into one of em with the football.

  2. What is the issue? Include screenshots / videos if possible!

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have asked in the dev discords but no response yet.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

Football.Touched:Connect(function(Touched)
	Stop()
	local Character = nil
	if not TouchDebounce then
		TouchDebounce = true
		if Touched.Parent:FindFirstChild("Humanoid") and not Football.Parent:FindFirstChild("Humanoid") then
			Character = Touched.Parent
		elseif Touched.Parent.Parent:FindFirstChild("Humanoid") and not Football.Parent.Parent:FindFirstChild("Humanoid") then
			Character = Touched.Parent.Parent
		end
		if Character then
			if Ready and AreTouching(Football.Position, Touched.Position) then
				if Handoff then
					Ready = false
					Handoff = true
					Football.Parent = Character
					task.wait(1/4)
					Handoff = false
					Ready = true
				else	
					if Character.Hitbox.Values.Catch.Value == true then
						Ready = false
						Handoff = false
						Football.Parent = Character
						task.wait(1/4)
						Ready = true
					end
				end
			end
		end
		TouchDebounce = false
	end
end)

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

try using collision filthering to see if that works

I’ll try it when I get on later. Thank you!

Collision groups are made for this. You can use PhysicsService to edit them through code or you can use the menu in Studio.

If you need more help, here’s the documentation:

Thank you for your suggestion! But I think it’s the motor6D that’s causing this weird collision.

Can you turn a motor6D collision off?

Nope, motor6ds don’t have collisions. Only baseparts do.

Collision Groups are your best friend in this scenario.

Do you think that the motor6D is the reason the players are colliding? When I do not have the football in my arms the players do not collide at all.

I know it sounds like a stupid question, but is CanCollide disabled for the football?
Also, do the players only collide with each others when the ball is in your arms or they just collide in general?

I think the problem is because I forgot to set a value that tells the server that a player already has the ball. But thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.