Advertisement
iiJosephCats205

Hitbox (For My Scripts)

Nov 15th, 2019
757
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PARTNAMEHERE.Touched:Connect(function(hit)
  2.                 local humn = hit.Parent:FindFirstChildOfClass("Humanoid")
  3.                 if humn and humn.Health > 0 then
  4.                     if hit:IsDescendantOf(character) then return end
  5.                     local suspect = humn.Parent
  6.                     if suspect then
  7.                         local val = suspect:FindFirstChildOfClass("BinaryStringValue")
  8.                         if not val then
  9.                             Instance.new("BinaryStringValue",suspect).Name = "namehere" --Any name you want
  10.                             wait(1)
  11.                             suspect:FindFirstChildOfClass("BinaryStringValue"):Destroy() --I don't know why I put this in here.
  12.                         else
  13.                             --nothing  
  14.                         end
  15.                     end
  16.                 end
  17.             end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement