Advertisement
Guest User

[ROBLOX] KILL AREA SCRIPT

a guest
Jul 5th, 2017
544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local wplr = game.Workspace:WaitForChild(plr.Name)
  3. local ka = Instance.new("Part")
  4. ka.Parent = wplr
  5. ka.BrickColor = BrickColor.new("Really red")
  6. ka.Transparency = .5
  7. ka.CanCollide = false
  8. ka.Shape = "Ball"
  9. ka.Size = Vector3.new(10,10,10)
  10. ka.Anchored = true
  11. ka.Position = wplr:WaitForChild("Torso").Position
  12. print("Made by: turtleman4real")
  13. wplr:WaitForChild("Torso").Anchored = true
  14. ka.Touched:connect(function(prt)
  15. local hum = prt.Parent:FindFirstChild("Humanoid")
  16. if hum then
  17. if prt.Parent.Name ~= plr.Name then
  18. prt.Transparency = .5
  19. prt.BrickColor = BrickColor.new("Really red")
  20. wait (3)
  21. prt:Destroy()
  22. end
  23. end
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement