local rock = script.Parent
local trap = rock.Parent
local trigger = trap:WaitForChild("Trigger")
rock.Anchored = true
print("RUNNING")
trigger.Touched:Connect(function(hit)
print("TOUCHED:", hit.Name)
local character = hit.Parent
if not character then return end
local humanoid = character:FindFirstChild("Humanoid")
if not humanoid then return end
print("PLAYER TOUCHED")
rock.Anchored = false
end)