Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local says = {
- "170772660","stop hacking me you noob!",
- "170772653","Silly!",
- "170772649","Never going to let you down!",
- "170772644","Never going to give you up!",
- "170772629","Let's be friends!",
- "170772618","I'm the pwnz0r",
- "170772598","I promise I won't hurt you!",
- "170772585","hacker",
- "170772573","go away",
- "170772559","GET OFF MY LAWN",
- "170772549","Friend!",
- "170772523","Follow me to my place!",
- "170772514","Come back here!",
- "170772500","all your base are belong to me!",
- }
- local ChatService = game:GetService("Chat")
- local link = "http://www.roblox.com/asset/?id="
- local Debris = game:GetService("Debris")
- local noob = script.Parent
- local ePos = Vector3.new(0,114,0)
- local PosX = ePos.X + 16
- local NegX = ePos.X - 16
- local PosZ = ePos.Z + 16
- local NegZ = ePos.Z - 16
- local PosY = ePos.Y + 12
- local NegY = ePos.Y - 12
- function Talk()
- local rand = math.random(1,(#says/2))
- local sound = Instance.new("Sound")
- sound.Volume = 1
- sound.Parent = noob.Head
- sound.SoundId = link .. says[(rand*2)-1]
- sound:Play()
- ChatService:Chat(noob.Head, says[rand*2], "Red")
- Debris:AddItem(sound, 5)
- end
- local follow = 5
- local talk = 3
- local target = nil
- while true do
- wait(.5)
- if follow == 0 or not target then
- local tab = {}
- for _,v in pairs (game.Players:GetChildren()) do
- if v.Character then
- local char = v.Character
- local tor = char:findFirstChild("HumanoidRootPart")
- local hmd = char:findFirstChild("Humanoid")
- if tor and hmd and hmd.Health > 0 then
- local p = tor.Position
- 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
- tab[#tab+1] = tor
- end
- end
- end
- end
- if #tab > 0 then
- target = tab[math.random(1,#tab)]
- follow = 5
- elseif follow == 0 then
- noob.Humanoid.WalkToPoint = Vector3.new(math.random(-12,12),0,math.random(-12,12))
- follow = 2
- end
- end
- if target then
- local p = target.Position
- 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
- noob.Humanoid.WalkToPoint = target.Position
- else
- target = nil
- end
- end
- if talk == 0 then
- Talk()
- talk = 3
- end
- follow = follow - .5
- talk = talk - .5
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement