Advertisement
RGames

ROBLOX - Brick Dropper

Jul 14th, 2019
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. local target = 'Viprathen23' -- put the target's name here
  2. wait(5)
  3. if game:GetService("Players"):FindFirstChild(target) ~= nil then
  4. local player = game:GetService("Players"):FindFirstChild(target)
  5. local character = player.Character
  6. if character:FindFirstChild('HumanoidRootPart') and character:FindFirstChild('Humanoid') or character:FindFirstChild('Head') then
  7. for i = 10,0,-1 do
  8. warn('Dropping a large brick on '..target..' in: '..i)
  9. wait(1)
  10. end
  11. character:FindFirstChild('HumanoidRootPart').Anchored = true
  12. local block = Instance.new("Part", workspace)
  13. block.Size = Vector3.new(8,8,8)
  14. block.BrickColor = BrickColor.new("Neon orange")
  15. block.Material = Enum.Material.Neon
  16. block.Anchored = false
  17. block.Position = character:FindFirstChild('HumanoidRootPart').Position + Vector3.new(0,300,0)
  18. wait(2.7)
  19. if character:FindFirstChild('Humanoid') then
  20. character.Humanoid.Health = 0
  21. else
  22. character.Head:Destroy()
  23. end
  24. else
  25. print('Target Failure: Couldnt find a HumanoidRootPart or a Humanoid/Head.')
  26. return
  27. end
  28. else
  29. print('Target Failure: Couldnt find the target in the player list. ')
  30. return
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement