local function touched(hit)
if c:FindFirstChild("Mu")==nil then return else
if hit:IsA("MeshPart")or hit:IsA("Part")or hit:IsA("UnionOperation")or hit:IsA("WedgePart")then
if hit.Parent:IsA("Model")==nil then return else
if hit.Parent:FindFirstChild("Humanoid") then print(hit)print("TargetHumanoid") return else
if hit.Parent == c or hit.CanCollide == false then print("TargetCantCollide")return else
print(hit)
wait(.1)
if c:FindFirstChild("Mu")then
c.Mu:Destroy()
end
end
end
end
end
end
end
yeh i thought it was too, since the whole script was a copy of my other working one but for the last two days i’ve been working on it so i dont think its a one-time glitch or something like that
Looks like there are alot of :IsA() make sure the map u changed it to have the same parts like a mesh part or union operation or Mu wherever it is in ur script.
c is the player’s character, sorry for late response, didnt thought anyone would still saw this
and i actually finish the move myself already, but its in a rlly odd way and i dont recommend anyone to do it like that so i wont add the solution yet
FINALLY, after countless of attempts trying to figure out the problem, i finally found what’s causing the problem, its becuz when im scripting a moving part i used CFrame to move it instead of Velocities, and it somehow glitch out the system, hope this helps someone out