0

# How would I make a script that checks if a part is touching nothing?

Right now, my script looks like this:

if script.Parent:GetTouchingParts(nil) then

end


But that doesn't work. How would I make it so that it works?

0

try to check if the length of the table that GetTouchingParts() is returning is equal to 0:

if #script.Parent:GetTouchingParts() == 0 then

end

0
I will try this poop07393cfhi3n2222 4 — 23d
local IfTouchingPart = script.Parent:GetTouchingParts()