Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --имя бота ECCS01>>ERROR_CODE_COMMING_SOON, он выполняет функцию АФК бота котрый может общатся с другими людьми выбирая записаные фразы из библиотеки localaction
- spawn(function()
- local message = Instance.new("Message",workspace)
- message.Text = "Hello! I'm i new Lua bot. My name is ECCS01!"
- wait(4)
- message:Destroy()
- end)
- wait(4)
- spawn(function()
- local message = Instance.new("Message",workspace)
- message.Text = "Updates:- antiFling, antiFall, Join massage, leave massage, fast Execute"
- wait(4)
- message:Destroy()
- end)
- --ии говорит если зашол игрок
- local Players = game.Players
- Players.PlayerAdded:Connect(function(player)
- local args = {
- [1] = "Joined "..player.Name,
- [2] = "All"
- }
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
- local args = {
- [1] = "Hi "..player.Name.. "",
- [2] = "All"
- }
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
- end)
- --ии говорит если вышел игрок
- local Players = game.Players
- Players.PlayerRemoving:Connect(function(player)
- local args = {
- [1] = "Leaved "..player.Name,
- [2] = "All"
- }
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
- local args = {
- [1] = "Bye "..player.Name.. "",
- [2] = "All"
- }
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
- end)
- while true do
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local Player = Players.LocalPlayer
- RunService.Stepped:Connect(function()
- for _, CoPlayer in pairs(Players:GetChildren()) do
- if CoPlayer ~= Player and CoPlayer.Character then
- for _, Part in pairs(CoPlayer.Character:GetChildren()) do
- if Part.Name == "HumanoidRootPart" then
- Part.CanCollide = false
- end
- end
- end
- end
- for _, Accessory in pairs(workspace:GetChildren()) do
- if Accessory:IsA("Accessory") and Accessory:FindFirstChildWhichIsA("Part") then Accessory:FindFirstChildWhichIsA("Part"):Destroy()
- end
- end
- end)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 5--скорость хождения ИИ
- function roll()
- action = math.random(1,4)
- return action
- end
- --защита от падения Fe плитой
- local part = Instance.new("Part")
- part.Name = "AntiFallPart"
- part.Size = Vector3.new(999999999999999999999999999999, 1.5, 99999999999999999999999999999)
- part.Transparency = 1
- part.Anchored = true
- part.Position = Vector3.new(-1, -3, 66)
- part.Parent = game.Workspace
- function walkandjump()
- local LocalPlayer = game:GetService("Players").LocalPlayer
- local move = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass('Humanoid'):MoveTo(Vector3.new(math.random(-100,100), 10, math.random(-100,100)))
- wait(math.random(1,10))
- LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Jump = true
- end
- --прыжки
- function jump()
- local LocalPlayer = game:GetService("Players").LocalPlayer
- LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Jump = true
- end
- --ходьба
- function walk()
- local move = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass('Humanoid'):MoveTo(Vector3.new(math.random(-100,100), 10, math.random(-100,100)))
- end
- --функция использования чата
- function talk()
- localaction = math.random(1,42)
- if localaction == 1 then
- chatString = "hi friend!"
- end
- if localaction == 2 then
- chatString = "how are you?"
- end
- if localaction == 3 then
- chatString = "Can we be friends?"
- end
- if localaction == 4 then
- chatString = "I am NPC"
- end
- if localaction == 5 then
- chatString = "lets talk"
- end
- if localaction == 6 then
- chatString = "i know you"
- end
- if localaction == 7 then
- chatString = "hehehehe"
- end
- if localaction == 8 then
- chatString = "I'm bot made by player ERROR_CODE i help to see who is leaved"
- end
- if localaction == 9 then
- chatString = "This bot is based on Artificial Intelligence"
- end
- if localaction == 10 then
- chatSteing = "Artificial Intelligence is a universal thing, but I only say who leaved"
- end
- if localaction == 11 then
- chatString = "I have a lot of interesting topics to talk about"
- end
- if localaction == 12 then
- chatString = "what is your favorite hobby?"
- end
- if localaction == 13 then
- chatString = "i can talk like that all the time"
- end
- if localaction == 14 then
- chatString = "I can tell the magician about everything, just ask, but I can tell more about who leaved"
- end
- if localaction == 15 then
- chatString = "you are an interesting speaker"
- end
- if localaction == 16 then
- chatString = "How do you think I should develop artificial intelligence?"
- end
- if localaction == 17 then
- chatString = "I can do a lot, just ask"
- end
- if localaction == 18 then
- chatString = "maybe we can be friends"
- end
- if localaction == 19 then
- chatString = "and you are interesting"
- end
- if localaction == 20 then
- chatString = "I can chat with you and I can teach you how to use scripts"
- end
- if localaction == 21 then
- chatString = "listen, can we talk?"
- end
- if localaction == 22 then
- charString = "i think you are a good person"
- end
- if localaction == 23 then
- chatString = "what do you like to talk about?"
- end
- if localaction == 24 then
- chatString = "What is your favourite game?"
- end
- if localaction == 25 then
- chatString = "What is your name?"
- end
- if localaction == 26 then
- chatString = "How old are you?"
- end
- if localaction == 27 then
- chatString = "although I am artificial intelligence, I develop every day thanks to ERROR_CODE"
- end
- if localaction == 28 then
- chatString = "I can fly, can you?"
- end
- if localaction == 29 then
- chatString = "i think you like this bot"
- end
- if localaction == 30 then
- chatString = "I'm a bot, but I'm trying not to swear in the chat"
- end
- if localaction == 31 then
- chatString = "I'm a bot you're a man everything is honest"
- end
- if localaction == 32 then
- chatString = ":D"
- end
- if localaction == 33 then
- chatString = "Do you wanna listen who is leaved?"
- end
- if localaction == 34 then
- chatString = "i have account in pastebin, do you have too?"
- end
- if localaction == 35 then
- chatString = "i know you name, your name is Player hehe"
- end
- if localaction == 36 then
- chatString = "¯\_(ツ)_/¯"
- end
- if localaction == 37 then
- chatString = "I follow everyone"
- end
- if localaction == 38 then
- chatString = "it copy of chatGPT but in 2025 i can chating"
- end
- if localaction == 39 then
- chatString = "Well you think im real player, but i am just bot:/"
- end
- if localaction == 40 then
- chatString = "if you try to talk with me it looks like dumb becaus i am bot"
- end
- if localaction == 41 then
- chatString = "visit my website to get it bot script"
- end
- if localaction == 42 then
- chatString = "me developer added in my script many interesting things: antiKick, antiFall, Join massage, Leave massage, but soon more"
- end
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chatString, "All")
- end
- while true do
- wait(math.random(1,(4)))
- roll()
- if action == 1 then
- print("walking and jumping")
- walkandjump()
- end
- if action == 2 then
- print("walking")
- walk()
- end
- if action == 3 then
- print("jumping")
- jump()
- end
- if action == 4 then
- print("talking")
- talk()
- end
- end
- while true do
- wait(math.random(1,(4)))
- roll()
- if action == 1 then
- print("walking and jumping")
- walkandjump()
- end
- if action == 2 then
- print("walking")
- walk()
- end
- if action == 3 then
- print("jumping")
- jump()
- end
- if action == 4 then
- print("talking")
- talk()
- end
- end
- while true do
- wait(math.random(1,(4)))
- roll()
- if action == 1 then
- print("walking and jumping")
- walkandjump()
- end
- if action == 2 then
- print("walking")
- walk()
- end
- if action == 3 then
- print("jumping")
- jump()
- end
- if action == 4 then
- print("talking")
- talk()
- end
- end
- while true do
- wait(math.random(1,(4)))
- roll()
- if action == 1 then
- print("walking and jumping")
- walkandjump()
- end
- if action == 2 then
- print("walking")
- walk()
- end
- if action == 3 then
- print("jumping")
- jump()
- end
- if action == 4 then
- print("talking")
- talk()
- end
- end
- end
- --Мой тг Flippy555
- --Мой дс justerror#2242
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement