Advertisement
lafur

Untitled

Mar 22nd, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local it = Instance.new
  2. local part = it("Part", game.Workspace)
  3. part.Anchored = false
  4.  
  5. local function partcreate()
  6.     while true do
  7.     it("Part", game.Workspace)
  8.  
  9. function onTouched(part)
  10.  local h = part.Parent:findFirstChild("Humanoid")
  11.  if h~=nil then
  12. wait(0.001)
  13.  h.Health = 0
  14.  
  15.  end
  16.  
  17.      end
  18.  
  19. script.Parent.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement