There is a basketball for a roblox basketball game, the steal script works fine, but the problem is my own teammate is stealing the ball. How can I stop my teammate from stealing the ball? And allow the enemy team to steal it. Localtion: http://prntscr.com/jnq732
function onTouched(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
script.Parent.Parent=workspace
wait()
script.Parent.Parent=hit.Parent
script.Disabled = true
wait(2.5)
script.Disabled = false
end
end
script.Parent.Handle.touched:connect(onTouched)
