Hello! Currently I am making a script where you “touch something to pick it up” and right now with the current script you have to ram into it a couple times to get it to work. How could I possibly make it much more sensitive to touch?
Note: “event” is a bindable event not a remote event
for i, v in pairs(workspace.Characters:GetChildren()) do
v.TouchBox.Touched:Connect(function(Base)
if not Debounce then
Debounce = true
if Base.Parent:FindFirstChild("Humanoid") ~= nil then
if not Module:ownsCard(game.Players:FindFirstChild(Base.Parent.Name), v.Name) then
Event:Fire({Player = game.Players:FindFirstChild(Base.Parent.Name), Request = "AddCard", Card = v.Name})
else
Event:Fire({Player = game.Players:FindFirstChild(Base.Parent.Name), Request = "Reject"})
end
end
wait(1.034)
Debounce = false
end
end)
end