-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathApocalypseRisingScripts.lua
More file actions
356 lines (322 loc) · 10.7 KB
/
Copy pathApocalypseRisingScripts.lua
File metadata and controls
356 lines (322 loc) · 10.7 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
-- Instances:
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local ApocZ = Instance.new("TextLabel")
local God = Instance.new("TextButton")
local Walkspeed = Instance.new("TextButton")
local ESP = Instance.new("TextButton")
local Goto = Instance.new("TextButton")
local BringCar = Instance.new("TextButton")
local TextBox = Instance.new("TextBox")
local Close = Instance.new("TextButton")
local Spam = Instance.new("TextButton")
local Frame2 = Instance.new("Frame")
local Open = Instance.new("TextButton")
--Properties:
Frame2.Visible = false
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame.Parent = ScreenGui
Frame.Active = true
Frame.BackgroundColor3 = Color3.fromRGB(255, 43, 71)
Frame.Draggable = true
Frame.Position = UDim2.new(0.211048156, 2, 0.304740399, -1)
Frame.Size = UDim2.new(0, 408, 0, 200)
Frame.Active = true
Frame.Draggable = true
ApocZ.Name = "ApocZ"
ApocZ.Parent = Frame
ApocZ.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ApocZ.BackgroundTransparency = 1.000
ApocZ.BorderSizePixel = 0
ApocZ.Size = UDim2.new(0, 408, 0, 27)
ApocZ.Font = Enum.Font.GothamBlack
ApocZ.Text = "ApocZ"
ApocZ.TextColor3 = Color3.fromRGB(173, 31, 45)
ApocZ.TextSize = 20.000
God.Name = "God"
God.Parent = Frame
God.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
God.Position = UDim2.new(0.0441176482, 0, 0.25454545, 0)
God.Size = UDim2.new(0, 85, 0, 19)
God.Font = Enum.Font.GothamBlack
God.Text = "Kills"
God.TextColor3 = Color3.fromRGB(0, 0, 0)
God.TextSize = 14.000
God.MouseButton1Down:connect(function()
game.Players.LocalPlayer.playerstats.PlayerKill.Defensive.Value = TextBox.Text
end)
Walkspeed.Name = "Walkspeed"
Walkspeed.Parent = Frame
Walkspeed.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
Walkspeed.Position = UDim2.new(0.747548997, 0, 0.514545381, 0)
Walkspeed.Size = UDim2.new(0, 85, 0, 19)
Walkspeed.Font = Enum.Font.GothamBlack
Walkspeed.Text = "Vitals"
Walkspeed.TextColor3 = Color3.fromRGB(0, 0, 0)
Walkspeed.TextScaled = true
Walkspeed.TextSize = 14.000
Walkspeed.TextWrapped = true
Walkspeed.MouseButton1Down:connect(function()
game.Players.LocalPlayer.playerstats.Hunger.Value = 1000000000
game.Players.LocalPlayer.playerstats.Thirst.Value = 1000000000
end)
ESP.Name = "ESP"
ESP.Parent = Frame
ESP.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
ESP.Position = UDim2.new(0.0441176482, 0, 0.514545441, 0)
ESP.Size = UDim2.new(0, 85, 0, 19)
ESP.Font = Enum.Font.GothamBlack
ESP.Text = "Stamina"
ESP.TextColor3 = Color3.fromRGB(0, 0, 0)
ESP.TextSize = 14.000
ESP.MouseButton1Down:connect(function()
while(1+1==2) do
wait(2.5)
game.Players.LocalPlayer.Backpack.GlobalFunctions.Stamina.Value = 100
end
end)
Goto.Name = "Goto"
Goto.Parent = Frame
Goto.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
Goto.Position = UDim2.new(0.394607842, 0, 0.25454545, 0)
Goto.Size = UDim2.new(0, 85, 0, 19)
Goto.Font = Enum.Font.GothamBlack
Goto.Text = "Zombies"
Goto.TextColor3 = Color3.fromRGB(0, 0, 0)
Goto.TextSize = 14.000
Goto.MouseButton1Down:connect(function()
game.Players.LocalPlayer.playerstats.ZombieKill.Military.Value = TextBox.Text
end)
BringCar.Name = "BringCar"
BringCar.Parent = Frame
BringCar.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
BringCar.Position = UDim2.new(0.747548997, 0, 0.25454545, 0)
BringCar.Size = UDim2.new(0, 85, 0, 19)
BringCar.Font = Enum.Font.GothamBlack
BringCar.Text = "Days"
BringCar.TextColor3 = Color3.fromRGB(0, 0, 0)
BringCar.TextSize = 14.000
BringCar.MouseButton1Down:connect(function()
game.Players.LocalPlayer.playerstats.Days.Value = TextBox.Text
end)
TextBox.Parent = Frame
TextBox.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
TextBox.Position = UDim2.new(0.0441176482, 0, 0.723636389, 0)
TextBox.Size = UDim2.new(0, 372, 0, 25)
TextBox.Font = Enum.Font.SourceSans
TextBox.Text = ""
TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
TextBox.TextSize = 14.000
Close.Name = "Close"
Close.Parent = Frame
Close.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
Close.BorderSizePixel = 0
Close.Position = UDim2.new(0.921568632, 0, 0, 0)
Close.Size = UDim2.new(0, 32, 0, 27)
Close.Font = Enum.Font.GothamBlack
Close.Text = "X"
Close.TextColor3 = Color3.fromRGB(0, 0, 0)
Close.TextScaled = true
Close.TextSize = 14.000
Close.TextWrapped = true
Close.MouseButton1Down:connect(function()
Frame.Visible = false
Frame2.Visible = true
end)
Spam.Name = "Spam"
Spam.Parent = Frame
Spam.BackgroundColor3 = Color3.fromRGB(255, 133, 135)
Spam.Position = UDim2.new(0.395000011, 0, 0.514999986, 0)
Spam.Size = UDim2.new(0, 85, 0, 19)
Spam.Font = Enum.Font.GothamBold
Spam.Text = "Kick All Groups"
Spam.TextColor3 = Color3.fromRGB(0, 0, 0)
Spam.TextSize = 14.000
Spam.TextScaled = true
Spam.MouseButton1Down:connect(function()
for _, v in pairs(game.Lighting.Groups:GetChildren()) do
if v.Name ~= ("GlobalGroups") then
for _, p in pairs(game.Players:GetPlayers()) do
game.Workspace.Remote.GroupKick:FireServer(v,p)
end
end
end
end)
Frame2.Name = "Frame2"
Frame2.Parent = ScreenGui
Frame2.Active = true
Frame2.BackgroundColor3 = Color3.fromRGB(255, 43, 71)
Frame2.BorderSizePixel = 0
Frame2.Position = UDim2.new(0, 0, 0.510158002, 0)
Frame2.Size = UDim2.new(0, 69, 0, 22)
Frame2.Visible = false
Frame2.Active = true
Frame2.Draggable = false
Open.Name = "Open"
Open.Parent = Frame2
Open.BackgroundColor3 = Color3.fromRGB(255, 43, 71)
Open.BorderSizePixel = 0
Open.Position = UDim2.new(0, 0, -0.0354545712, 0)
Open.Size = UDim2.new(0, 69, 0, 22)
Open.Font = Enum.Font.GothamBlack
Open.Text = "Open"
Open.TextColor3 = Color3.fromRGB(0, 0, 0)
Open.TextSize = 14.000
Open.MouseButton1Down:connect(function()
Frame.Visible = true
Frame2.Visible = false
end)
--// Spawning \\-- --//Credits to wally for the script\\--
local spawner = Instance.new("ScreenGui")
local Main = Instance.new("Frame")
local ItemFrame = Instance.new("ScrollingFrame")
local ItemSearch = Instance.new("TextBox")
local SpawnButton = Instance.new("TextButton")
local Title = Instance.new("TextLabel")
--// GUI \\--
spawner.Name = "spawner"
spawner.Parent = game.CoreGui
Main.Name = "Main"
Main.Parent = spawner
Main.BackgroundColor3 = Color3.new(0.47, 0.47, 0.47)
Main.BorderSizePixel = 0
Main.Position = UDim2.new(0, 667, 0, 228)
Main.Size = UDim2.new(0, 266, 0, 244)
Main.Active = true
Main.Draggable = true
ItemFrame.Name = "ItemFrame"
ItemFrame.Parent = Main
ItemFrame.BackgroundColor3 = Color3.new(0.317647, 0.317647, 0.317647)
ItemFrame.BorderSizePixel = 0
ItemFrame.Position = UDim2.new(0, 56, 0, 76)
ItemFrame.Size = UDim2.new(0, 155, 0, 92)
ItemFrame.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
ItemFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
ItemFrame.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
ItemSearch.Name = "ItemSearch"
ItemSearch.Parent = Main
ItemSearch.BackgroundColor3 = Color3.new(0.533333, 0.533333, 0.533333)
ItemSearch.BorderSizePixel = 0
ItemSearch.Position = UDim2.new(0, 56, 0, 53)
ItemSearch.Size = UDim2.new(0, 155, 0, 25)
ItemSearch.Font = Enum.Font.SourceSansBold
ItemSearch.FontSize = Enum.FontSize.Size14
ItemSearch.Text = "Search for an item!"
ItemSearch.TextColor3 = Color3.new(1, 1, 1)
ItemSearch.TextScaled = true
ItemSearch.TextSize = 14
ItemSearch.TextWrapped = true
SpawnButton.Name = "SpawnButton"
SpawnButton.Parent = Main
SpawnButton.BackgroundColor3 = Color3.new(0.23, 245, 0.50)
SpawnButton.BorderSizePixel = 0
SpawnButton.Position = UDim2.new(0, 34, 0, 186)
SpawnButton.Size = UDim2.new(0, 199, 0, 35)
SpawnButton.ZIndex = 2
SpawnButton.AutoButtonColor = false
SpawnButton.Font = Enum.Font.ArialBold
SpawnButton.FontSize = Enum.FontSize.Size14
SpawnButton.Text = "SPAWN"
SpawnButton.TextColor3 = Color3.new(1, 1, 1)
SpawnButton.TextScaled = true
SpawnButton.TextSize = 14
SpawnButton.TextWrapped = true
Title.Name = "Title"
Title.Parent = Main
Title.BackgroundColor3 = Color3.new(1, 1, 1)
Title.BackgroundTransparency = 1
Title.BorderSizePixel = 0
Title.Size = UDim2.new(0, 266, 0, 30)
Title.Font = Enum.Font.SourceSansBold
Title.FontSize = Enum.FontSize.Size14
Title.Text = " APOC SPAWN GUI"
Title.TextColor3 = Color3.new(1, 1, 1)
Title.TextScaled = true
Title.TextSize = 14
Title.TextWrapped = true
local backgroundObjects = Instance.new('Folder', spawner.Main)
backgroundObjects.Name = 'BackgroundObjects'
local SpawnButton = Instance.new("TextButton", backgroundObjects)
SpawnButton.Name = "SpawnButton"
SpawnButton.Parent = game.CoreGui.spawner.Main.BackgroundObjects
SpawnButton.BackgroundColor3 = Color3.new(0.0196078, 0.729412, 0.34902)
SpawnButton.BorderSizePixel = 0
SpawnButton.Position = UDim2.new(0, 34, 0, 193)
SpawnButton.Size = UDim2.new(0, 199, 0, 35)
SpawnButton.AutoButtonColor = false
SpawnButton.Font = Enum.Font.SourceSans
SpawnButton.FontSize = Enum.FontSize.Size14
SpawnButton.Text = ""
SpawnButton.TextSize = 14
--// Main Thing \\--
local gui = spawner.Main
local box = gui:WaitForChild('ItemSearch')
local items = gui:WaitForChild('ItemFrame')
local path = game.Lighting.LootDrops
local btn = gui:WaitForChild('SpawnButton')
local pos = gui:WaitForChild('BackgroundObjects').SpawnButton.Position
local sPos = btn.Position
local client = game.Players.LocalPlayer
for k, v in next, path:GetChildren() do
if not v.PrimaryPart then
v.PrimaryPart = v:FindFirstChildWhichIsA('Model').Head
end
end
local function search(text)
local items = {}
for i, v in next, path:GetChildren() do
if text:upper() == v.Name:sub(1, string.len(text)):upper() then
table.insert(items, v.Name)
end
end
return items
end
local function bind(thing, f)
thing.MouseButton1Click:connect(function()
f()
end)
end
box.Changed:connect(function()
local list = search(box.Text)
if box.Text:gsub("", "") == "" then
items.CanvasSize = UDim2.new(0, 0, 0, 0)
items:ClearAllChildren()
return
end
items.CanvasSize = UDim2.new(0, 0, 0, 0)
items:ClearAllChildren()
for i, v in next, list do
local yPos = ((20 * i) - 20)
local s = Instance.new('TextButton', items)
s.BorderSizePixel = 0
s.Font = Enum.Font.ArialBold
s.TextScaled = true
s.Text = v
s.Name = v
s.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
s.TextColor3 = Color3.new(0, 0, 0)
s.Size = UDim2.new(0, 155, 0, 20)
s.Position = UDim2.new(0, 0, 0, yPos)
bind(s, function()
box.Text = s.Text
items:ClearAllChildren()
items.CanvasSize = UDim2.new(0, 0, 0, 0)
end)
end
items.CanvasSize = UDim2.new(0, 0, 0, (20 * #list))
end)
btn.MouseButton1Click:connect(function()
local number = 1
local itemname = box.Text
for i=1, number do
local clone = game.Lighting.LootDrops[itemname]:Clone()
clone.Parent = game.Workspace
end
local lmao = game.Workspace:GetChildren()
for i=1, #lmao do
if lmao[i].Name == itemname then
lmao[i]:MoveTo(game.Players.LocalPlayer.Character.Head.Position + Vector3.new(5, 0, 0))
end
end
end)