Advertisement
Guest User

Annoy

a guest
Nov 16th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. local says = {
  2. "170772660","stop hacking me you noob!",
  3. "170772653","Silly!",
  4. "170772649","Never going to let you down!",
  5. "170772644","Never going to give you up!",
  6. "170772629","Let's be friends!",
  7. "170772618","I'm the pwnz0r",
  8. "170772598","I promise I won't hurt you!",
  9. "170772585","hacker",
  10. "170772573","go away",
  11. "170772559","GET OFF MY LAWN",
  12. "170772549","Friend!",
  13. "170772523","Follow me to my place!",
  14. "170772514","Come back here!",
  15. "170772500","all your base are belong to me!",
  16. }
  17. local ChatService = game:GetService("Chat")
  18. local link = "http://www.roblox.com/asset/?id="
  19. local Debris = game:GetService("Debris")
  20. local noob = script.Parent
  21.  
  22. local ePos = Vector3.new(0,114,0)
  23. local PosX = ePos.X + 16
  24. local NegX = ePos.X - 16
  25. local PosZ = ePos.Z + 16
  26. local NegZ = ePos.Z - 16
  27. local PosY = ePos.Y + 12
  28. local NegY = ePos.Y - 12
  29.  
  30. function Talk()
  31. local rand = math.random(1,(#says/2))
  32. local sound = Instance.new("Sound")
  33. sound.Volume = 1
  34. sound.Parent = noob.Head
  35. sound.SoundId = link .. says[(rand*2)-1]
  36. sound:Play()
  37. ChatService:Chat(noob.Head, says[rand*2], "Red")
  38. Debris:AddItem(sound, 5)
  39. end
  40.  
  41. local follow = 5
  42. local talk = 3
  43. local target = nil
  44.  
  45. while true do
  46. wait(.5)
  47. if follow == 0 or not target then
  48. local tab = {}
  49. for _,v in pairs (game.Players:GetChildren()) do
  50. if v.Character then
  51. local char = v.Character
  52. local tor = char:findFirstChild("HumanoidRootPart")
  53. local hmd = char:findFirstChild("Humanoid")
  54. if tor and hmd and hmd.Health > 0 then
  55. local p = tor.Position
  56. if not (p.X>PosX or p.X<NegX or p.Y>PosY or p.Y<NegY or p.Z>PosZ or p.Z<NegZ) then
  57. tab[#tab+1] = tor
  58. end
  59. end
  60. end
  61. end
  62. if #tab > 0 then
  63. target = tab[math.random(1,#tab)]
  64. follow = 5
  65. elseif follow == 0 then
  66. noob.Humanoid.WalkToPoint = Vector3.new(math.random(-12,12),0,math.random(-12,12))
  67. follow = 2
  68. end
  69. end
  70. if target then
  71. local p = target.Position
  72. if not (p.X>PosX or p.X<NegX or p.Y>PosY or p.Y<NegY or p.Z>PosZ or p.Z<NegZ) then
  73. noob.Humanoid.WalkToPoint = target.Position
  74. else
  75. target = nil
  76. end
  77. end
  78. if talk == 0 then
  79. Talk()
  80. talk = 3
  81. end
  82. follow = follow - .5
  83. talk = talk - .5
  84. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement