View difference between Paste ID: pQd7umTT and 6jtNrsJa
SHOW: | | - or go back to the newest paste.
1
local gui = game:GetObjects("rbxassetid://852724182")[1]
2
gui.Parent = game.CoreGui
3
gui.Holder.Label.Text = "Papa Scaps JailBreak GUI (Rasps Addition)"
4
local auto = false
5
6
local pass = false
7
8
local jewel = false
9
10
local kill = false
11
12
local tazer = false
13
14
local Buttons = {
15
    ["Bank Lobby"] = CFrame.new(30,18, 851),
16
    ["Bank Vault"] = CFrame.new(23, 5, 800),
17
    ["Criminal Base"] = CFrame.new(1562,49,-1754),
18
    ["Gas Station"] = CFrame.new(-1522, 17, 696),
19
    ["Jewelry Store Top"] = CFrame.new(105, 85, 1322),
20
    ["Jewelry Store Bottom"] = CFrame.new(124, 17, 1317),
21
    ["Police Station"] = CFrame.new(-1139,17,-1584),
22
    Helicopter = CFrame.new(-1175, 57, -1578),
23
    ["Car Garage"] = CFrame.new(-363, 17, 1160),
24
    Prison = CFrame.new(-1417,18,-1707),
25
}
26
27
local Functions = {
28
    ["Arrest All"] = function()
29
        for i,v in pairs(game.Players:GetPlayers()) do
30
            if v.TeamColor == game.Teams.Criminal.TeamColor then
31
                
32
            end
33
        end
34
    end,
35
    ["Godmode (can't run)"] = function()
36
       
37
    end,
38
    ["Kill aura"] = function()
39
        kill = not kill
40
        while wait(0.3) do
41
            if kill and game.Players.LocalPlayer.TeamColor == game.Teams.Criminal.TeamColor or game.Players.LocalPlayer.TeamColor == game.Teams.Prisoner.TeamColor then
42
                for i,v in pairs(game.Players:GetPlayers()) do
43
                    pcall(function()
44
                        if v and v.Character and v.Character.HumanoidRootPart and v.TeamColor == game.Teams.Police.TeamColor and ((v.Character.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 45) then
45
							for i = 1, 6 do
46
							
47
                            end
48
						end
49
                    end)
50
                end
51
            end
52
        end
53
    end,
54
    ["Taser aura (only works on cop team)"] = function()
55
		tazer = not tazer
56
        while wait(0.3) do
57
            if tazer and game.Players.LocalPlayer.TeamColor == game.Teams.Police.TeamColor then
58
                for i,v in pairs(game.Players:GetPlayers()) do
59
                    pcall(function()
60
                        if v and v.Character and v.Character.HumanoidRootPart and v.TeamColor ~= game.Players.LocalPlayer.TeamColor and ((v.Character.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 45) then
61
                        end
62
                    end)
63
                end
64
            end
65
        end
66
    end,
67
	["Instant Keycard"] = function()
68
		local picked = false
69
		for _,v in pairs(game.Players:GetChildren()) do
70
			if not picked and v.TeamColor == BrickColor.new("Bright blue") then
71
				picked = v.Name
72
			end
73
		end
74
		for i = 1, 3 do
75
		end
76
	end,
77
}
78
79
function Tele(coords)
80
    game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = coords
81
end
82
83
for i,v in pairs(Buttons) do
84
    local B = gui.T:Clone()
85
    B.Name = i
86
    B.Text = i
87
    B.Visible = true
88
    B.MouseButton1Down:connect(function()
89
        Tele(v)
90
    end)
91
    B.Parent = gui.Holder.Manual
92
end
93
94
for i,v in pairs(Functions) do
95
    local B = gui.T:Clone()
96
    B.Name = i
97
    B.Text = i
98
    B.Visible = true
99
    B.MouseButton1Down:connect(function()
100
        v()
101
    end)
102
    B.Parent = gui.Holder.Manual
103
end
104
105
gui.Holder.Jewelry.MouseButton1Down:connect(function()
106
    auto = false
107
    gui.Holder.Bank.Text = "Auto-Bank Rob: Off"
108
    jewel = not jewel
109
    if not jewel then
110
        gui.Holder.Jewelry.Text = "Auto-Jewelry Rob: Off"
111
    else
112
        gui.Holder.Jewelry.Text = "Auto-Jewelry Rob: On"
113
        if game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Enabled then
114
            Tele(Buttons["Jewelry Store Bottom"])
115
            if pass then
116
                repeat
117
                    for _,v in pairs (game.Workspace.Jewelrys.Jewelry.Boxes:GetChildren()) do
118
                        if v.Transparency ~= 1 then
119
                            game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
120
                            repeat game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame wait() until v.Transparency == 1 or not jewel or game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000"
121
                        end
122
                    end
123
                    wait()
124
                until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000" or not jewel
125
                wait(0.1)
126
                Tele(Buttons["Criminal Base"])
127
            else
128
                repeat
129
                    for _,v in pairs (game.Workspace.Jewelrys.Jewelry.Boxes:GetChildren()) do
130
                        if v.Transparency ~= 1 then
131
                            game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
132
                            repeat game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame wait() until v.Transparency == 1 or not jewel or game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000"
133
                        end
134
                    end
135
                    wait()
136
                until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$2,000" or not jewel
137
                wait(0.1)
138
                Tele(Buttons["Criminal Base"])
139
            end
140
            game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text = "$0"
141
        end
142
    end
143
end)
144
145
gui.Holder.Bank.MouseButton1Down:connect(function()
146
    jewel = false
147
    gui.Holder.Jewelry.Text = "Auto-Jewelry Rob: Off"
148
    auto = not auto
149
    if not auto then
150
        gui.Holder.Bank.Text = "Auto-Bank Rob: Off"
151
    else
152
        gui.Holder.Bank.Text = "Auto-Bank Rob: On"
153
        if game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Enabled then
154
            Tele(Buttons["Bank Lobby"])
155
            wait(1)
156
            Tele(Buttons["Bank Vault"])
157
            wait(1)
158
            if pass then
159
                repeat wait() until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$3,000"
160
                wait(0.1)
161
                Tele(Buttons["Criminal Base"])
162
            else
163
                repeat wait() until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$1,000"
164
                wait(0.1)
165
                Tele(Buttons["Criminal Base"])
166
            end
167
            game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text = "$0"
168
        end
169
    end
170
end)
171
172
if game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Enabled then
173
    gui.Holder.Jewelry.Status.Text = "Jewelry: Open"
174
else
175
    gui.Holder.Jewelry.Status.Text = "Jewelry: Closed"
176
end
177
178
179
if game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Enabled then
180
    gui.Holder.Bank.Status.Text = "Bank: Open"
181
else
182
    gui.Holder.Bank.Status.Text = "Bank: Closed"
183
end
184
185
if game:GetService("MarketplaceService"):PlayerOwnsAsset(game.Players.LocalPlayer, 739192969) then
186
    pass = true
187
end
188
189
game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Changed:connect(function()
190
    wait(0.8)
191
    if game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Enabled then
192
        gui.Holder.Jewelry.Status.Text = "Jewelry: Open"
193
    else
194
        gui.Holder.Jewelry.Status.Text = "Jewelry: Closed"
195
    end
196
    if game.Workspace.Jewelrys.Jewelry.Extra.Light.SurfaceLight.Enabled and jewel and not auto then
197
        Tele(Buttons["Jewelry Store Bottom"])
198
        if pass then
199
            repeat
200
                for _,v in pairs (game.Workspace.Jewelrys.Jewelry.Boxes:GetChildren()) do
201
                    if v.Transparency ~= 1 then
202
                        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
203
                        repeat game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame wait() until v.Transparency == 1 or not jewel or game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000"
204
                    end
205
                end
206
                wait()
207
            until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000" or not jewel
208
            wait(0.1)
209
            Tele(Buttons["Criminal Base"])
210
        else
211
            repeat
212
                for _,v in pairs (game.Workspace.Jewelrys.Jewelry.Boxes:GetChildren()) do
213
                    if v.Transparency ~= 1 then
214
                        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
215
                        repeat game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame wait() until v.Transparency == 1 or not jewel or game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$5,000"
216
                    end
217
                end
218
                wait()
219
            until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$2,000" or not jewel
220
            wait(0.1)
221
            Tele(Buttons["Criminal Base"])
222
        end
223
        game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text = "$0"
224
    end
225
end)
226
227
game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Changed:connect(function()
228
    wait(0.8)
229
    if game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Enabled then
230
        gui.Holder.Bank.Status.Text = "Bank: Open"
231
    else
232
        gui.Holder.Bank.Status.Text = "Bank: Closed"
233
    end
234
    if auto and game.Workspace.Banks.Bank.Extra.Light.SurfaceLight.Enabled and not jewel then
235
        Tele(Buttons["Bank Lobby"])
236
        wait(1)
237
        Tele(Buttons["Bank Vault"])
238
        wait(1)
239
        if pass then
240
            repeat wait() until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$3,000"
241
            wait(0.1)
242
            Tele(Buttons["Criminal Base"])
243
        else
244
            repeat wait() until game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text == "$1,000"
245
            wait(0.1)
246
            Tele(Buttons["Criminal Base"])
247
        end
248
        game.Players.LocalPlayer.PlayerGui.ScreenGui.CollectMoney.Money.Text = "$0"
249
    end
250
end)