The actual solution if someone stumbles across this trash:
parts gotta be unanchored or you gotta use gettouchingparts or you can use this trashy code i made:
local GetTouched = {}
local function GetTouchingParts(part,func)
print('checked')
local connection = part.Touched:Connect(function() end)
local results = part:GetTouchingParts()
connection:Disconnect()
return results
end
local TouchedList = {}
TouchedList.__index = TouchedList
function GetTouched.new(part,func)
print('set')
local returned = setmetatable(GetTouched,TouchedList)
part:GetPropertyChangedSignal("Position"):Connect(function()
if #GetTouchingParts(part) == 0 then else
returned = GetTouchingParts(part)
TouchedList[part] = returned
end
end)
part:GetPropertyChangedSignal("Size"):Connect(function()
if #GetTouchingParts(part) == 0 then else
returned = GetTouchingParts(part)
TouchedList[part] = returned
end
end)
local meta = setmetatable(TouchedList,{
__index = GetTouched,
__newindex = function(a,b,c)
func()
end
})
end
GetTouched.new(script.Parent, function()
print('hello')
end)
7 comments
Are they touching or just adjacent?
They start of adjascent and then they touch
How are they touching?
When they are touching, they are are colliding..
Not enough detail to answer the question. The problem doesn't have to do with the script, I find, so the issue doesn't seem to be directly a scripting issue. You're probably just missing some logic here. Not enough information to answer.
wtf is your problem idiot ^ it is 100% perfect sense and has all the info you can get...
i have no recollection of making this question but its funny to look back at lmao