forked from eprx/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BanningSimulator2GUI
79 lines (75 loc) · 2.14 KB
/
BanningSimulator2GUI
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
local library = loadstring(game:HttpGet("https://pastebin.com/raw/HYcfs6KC", true))()
library.options.underlinecolor = "rainbow"
local w = library:CreateWindow('Banning Simulator 2')
w:Section("eprx#9921")
w:Toggle('Auto Attack', {flag = "toggle1"})
spawn(function()
while wait() do
if w.flags.toggle1 then
if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
for i2,v2 in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v2:IsA("Tool") then
wait()
for i,v in pairs(game:GetService("Workspace").Zones.npcSpawn:GetDescendants()) do
if v.Name == "HumanoidRootPart" and v.Parent.Name == _G.zone then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < 30 then
local A_1 = v.Parent
local A_2 = game.Players.LocalPlayer.Character:WaitForChild(v2.Name)
local Event = v2.Damage
Event:FireServer(A_1, A_2)
wait(0.1)
v2.Parent = game.Players.LocalPlayer.Backpack
wait(0.01)
v2.Parent = game.Players.LocalPlayer.Character
end
end
end
end
end
end
end
end
end)
w:Toggle('Teleport to Enemies', {flag = "toggle2"})
spawn(function()
while wait() do
if w.flags.toggle2 then
for i,v in pairs(game:GetService("Workspace").Zones.npcSpawn:GetDescendants()) do
if v.Name == "HumanoidRootPart" and v.Parent.Name == _G.zone then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < 50 then
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame * CFrame.new(0,0,3)
end
end
end
end
end
end)
w:Dropdown("Enemies", {
location = _G;
flag = "zone";
list = {
"New_Item";
"DrTrayBlox";
"RealYouTube_AlphaGG";
"DevRolve";
"HenryDev";
"RussoTalks";
"OverHash";
"asimo3089";
"Kelogish";
"ObscureEntity";
"Not_Nert";
"Tenrous";
"DJMonopoli";
"Proxus";
"Taymaster";
"SabrinaBrite";
"Nikilis";
"SirCFenner";
"MayRushArt";
"CoolBulls";
}
}, function(new)
print("lol")--game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Zones.Map[_G.zone].Floor.CFrame
end)