How can I achieve a breakable prop?

I’m not sure about how to get which frame each occurrence happened.

Do you get the print(hit) output on every time your character touches the hitbox?
Just grasping at straws here but if it’s a slight lag on the first occurrence then try stating variables before the function:

local db = false
local Hitbox = script.Parent
local part = script.Parent.Parent.Part

Hitbox.Touched:Connect(function(hit)
     if db == false then
          db = true
          print(hit)
          part.Anchored = false
          wait(1)
          db = false
     end
end) 
1 Like