-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspook finder gui.lua
437 lines (375 loc) · 17.3 KB
/
spook finder gui.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
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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
local spook = {}
local sinister = {}
local toggled = false
local function gui()
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local UICorner = Instance.new("UICorner")
local TextLabel = Instance.new("TextLabel")
local UICorner_2 = Instance.new("UICorner")
local Frame_2 = Instance.new("Frame")
local TextLabel_2 = Instance.new("TextLabel")
local TextLabel_3 = Instance.new("TextLabel")
local TextLabel_4 = Instance.new("TextLabel")
local TextButton = Instance.new("TextButton")
local UICorner_3 = Instance.new("UICorner")
local TextLabel_5 = Instance.new("TextLabel")
local SpookTP = Instance.new("TextButton")
local UICorner_4 = Instance.new("UICorner")
local SinisterTP = Instance.new("TextButton")
local UICorner_5 = Instance.new("UICorner")
local Frame23 = Instance.new("ImageLabel")
local TextButton21 = Instance.new("TextButton")
local Circle = Instance.new("ImageLabel")
local TextLabel32 = Instance.new("TextLabel")
--Properties:
ScreenGui.Name = "Tip's Spook Finder"
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(42, 42, 42)
Frame.BorderColor3 = Color3.fromRGB(86, 86, 86)
Frame.Position = UDim2.new(0.378184199, 0, 0.340398997, 0)
Frame.Size = UDim2.new(0, 373, 0, 256)
UICorner.Parent = Frame
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
TextLabel.Size = UDim2.new(0, 373, 0, 33)
TextLabel.Font = Enum.Font.Gotham
TextLabel.Text = "Tip's Spook Finder"
TextLabel.TextColor3 = Color3.fromRGB(190, 190, 190)
TextLabel.TextSize = 30.000
TextLabel.TextWrapped = true
UICorner_2.Parent = TextLabel
Frame_2.Parent = Frame
Frame_2.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
Frame_2.BorderColor3 = Color3.fromRGB(255, 255, 255)
Frame_2.Position = UDim2.new(0.0589812323, 0, 0.203125, 0)
Frame_2.Size = UDim2.new(0, 116, 0, 188)
TextLabel_2.Parent = Frame_2
TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.BackgroundTransparency = 1.000
TextLabel_2.Size = UDim2.new(0, 116, 0, 80)
TextLabel_2.Font = Enum.Font.Gotham
TextLabel_2.Text = "Spook in your server: 0"
task.spawn(function()
while task.wait(.3) do
for i, v in pairs(workspace:GetChildren()) do
if v.Name == "TreeRegion" then
for k, l in pairs(v:GetChildren()) do
if l:FindFirstChild("TreeClass") and l:FindFirstChild("WoodSection") and l:FindFirstChild("Owner") then
if l.TreeClass.Value == "Spooky" and l.Owner.Value == nil and not table.find(spook,l) then
table.insert(spook,l)
TextLabel_2.Text = "Spook in your server: " .. #spook
end
end
end
end
end
end
end)
TextLabel_2.TextColor3 = Color3.fromRGB(193, 193, 193)
TextLabel_2.TextScaled = true
TextLabel_2.TextSize = 30.000
TextLabel_2.TextWrapped = true
TextLabel_3.Parent = Frame_2
TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDim2.new(0, 0, 0.521276593, 0)
TextLabel_3.Size = UDim2.new(0, 116, 0, 90)
TextLabel_3.Font = Enum.Font.Gotham
TextLabel_3.Text = "Sinister in your server: 0"
task.spawn(function()
while task.wait(.3) do
for i, v in pairs(workspace:GetChildren()) do
if v.Name == "TreeRegion" then
for k, l in pairs(v:GetChildren()) do
if l:FindFirstChild("TreeClass") and l:FindFirstChild("WoodSection") and l:FindFirstChild("Owner") then
if l.TreeClass.Value == "SpookyNeon" and l.Owner.Value == nil and not table.find(sinister,l) then
table.insert(sinister,l)
TextLabel_3.Text = "Sinister in your server: " .. #sinister
end
end
end
end
end
end
end)
TextLabel_3.TextColor3 = Color3.fromRGB(193, 193, 193)
TextLabel_3.TextScaled = true
TextLabel_3.TextSize = 14.000
TextLabel_3.TextWrapped = true
TextLabel_4.Parent = Frame_2
TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_4.BackgroundTransparency = 1.000
TextLabel_4.Position = UDim2.new(0, 0, 0.356382996, 0)
TextLabel_4.Size = UDim2.new(0, 116, 0, 31)
TextLabel_4.Font = Enum.Font.SourceSans
TextLabel_4.Text = "--------------"
TextLabel_4.TextColor3 = Color3.fromRGB(193, 193, 193)
TextLabel_4.TextScaled = true
TextLabel_4.TextSize = 14.000
TextLabel_4.TextWrapped = true
TextButton.Parent = Frame
TextButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
TextButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
TextButton.Position = UDim2.new(0.426273435, 0, 0.2265625, 0)
TextButton.Size = UDim2.new(0, 200, 0, 50)
TextButton.Font = Enum.Font.Gotham
TextButton.Text = "Server Hop"
TextButton.TextColor3 = Color3.fromRGB(193, 193, 193)
TextButton.TextSize = 30.000
TextButton.TextWrapped = true
UICorner_3.Parent = TextButton
TextLabel_5.Parent = Frame
TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_5.BackgroundTransparency = 1.000
TextLabel_5.Position = UDim2.new(0.326273465, 50, 0.79999, 10)
TextLabel_5.Size = UDim2.new(0, 200, 0, 50)
TextLabel_5.Font = Enum.Font.SourceSans
TextLabel_5.Text = "N To Toggle Gui"
TextLabel_5.TextColor3 = Color3.fromRGB(193, 193, 193)
TextLabel_5.TextSize = 20
SpookTP.Name = "SpookTP"
SpookTP.Parent = Frame
SpookTP.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
SpookTP.BorderColor3 = Color3.fromRGB(255, 255, 255)
SpookTP.Position = UDim2.new(0.426273465, 0, 0.46875, 0)
SpookTP.Size = UDim2.new(0, 94, 0, 29)
SpookTP.Font = Enum.Font.Gotham
SpookTP.Text = "Tp To Spook"
SpookTP.TextColor3 = Color3.fromRGB(193, 193, 193)
SpookTP.TextScaled = true
SpookTP.TextSize = 30.000
SpookTP.TextWrapped = true
UICorner_4.Parent = SpookTP
SinisterTP.Name = "SinisterTP"
SinisterTP.Parent = Frame
SinisterTP.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
SinisterTP.BorderColor3 = Color3.fromRGB(255, 255, 255)
SinisterTP.Position = UDim2.new(0.710455775, 0, 0.47265625, 0)
SinisterTP.Size = UDim2.new(0, 94, 0, 29)
SinisterTP.Font = Enum.Font.Gotham
SinisterTP.Text = "Tp To Sinister"
SinisterTP.TextColor3 = Color3.fromRGB(193, 193, 193)
SinisterTP.TextScaled = true
SinisterTP.TextSize = 30.000
SinisterTP.TextWrapped = true
UICorner_5.Parent = SinisterTP
Frame23.Name = "Frame"
Frame23.Parent = Frame
Frame23.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame23.BackgroundTransparency = 1.000
Frame23.Position = UDim2.new(0.630943966, 0, 0.754920652, 0)
Frame23.Size = UDim2.new(0, 66, 0, 25)
Frame23.ZIndex = 4
Frame23.Image = "rbxassetid://3570695787"
Frame23.ImageColor3 = Color3.fromRGB(255, 48, 48)
Frame23.ScaleType = Enum.ScaleType.Slice
Frame23.SliceCenter = Rect.new(100, 100, 100, 100)
Frame23.SliceScale = 0.120
Frame23.Name = "colFrame"
TextButton21.Parent = Frame
TextButton21.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton21.BackgroundTransparency = 1
TextButton21.Size = UDim2.new(0, 66, 0, 25)
TextButton21.ZIndex = 5
TextButton21.Font = Enum.Font.SourceSans
TextButton21.Text = ""
TextButton21.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton21.TextSize = 14.000
TextButton21.TextTransparency = 1
TextButton21.Position = UDim2.new(0.630943966, 0, 0.754920652, 0)
Circle.Name = "Circle"
Circle.Parent = Frame
Circle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Circle.BackgroundTransparency = 1.000
Circle.Position = UDim2.new(0,240,0,195,0)
Circle.Size = UDim2.new(0, 20, 0, 20)
Circle.ZIndex = 5
Circle.Image = "rbxassetid://3570695787"
Circle.ScaleType = Enum.ScaleType.Slice
Circle.SliceCenter = Rect.new(100, 100, 100, 100)
Circle.SliceScale = 0.120
TextLabel32.Parent = Frame
TextLabel32.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel32.BackgroundTransparency = 1.000
TextLabel32.Position = UDim2.new(0.554242377, 0, 0.58, 0)
TextLabel32.Size = UDim2.new(0, 122, 0, 50)
TextLabel32.Font = Enum.Font.Gotham
TextLabel32.Text = "Spook Wood Esp"
TextLabel32.TextColor3 = Color3.fromRGB(190, 190, 190)
TextLabel32.TextSize = 20.000
-- Scripts:
local function GBWQPO_fake_script() -- TextButton.LocalScript
local script = Instance.new('LocalScript', TextButton)
script.Parent.MouseButton1Up:Connect(function()
script.Parent.Text = "Hopping"
local data = game:GetService("HttpService"):JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/"..game.PlaceId.."/servers/Public?sortOrder=Desc&excludeFullGames=true&limit=100"))
local bestfps = 0
local bestping = 1000
local bestserver
for i,v in pairs(data.data) do
if (v.fps > bestfps) and (v.ping < bestping) then
bestfps = v.fps
bestping = v.ping
bestserver = tostring(v.id)
end
end
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, bestserver, game.Players.LocalPlayer)
task.wait(4)
script.Parent.Text = "Server Hop Failed"
end)
end
coroutine.wrap(GBWQPO_fake_script)()
local function UXLACX_fake_script() -- Frame.LocalScript
local script = Instance.new('LocalScript', Frame)
local UserInputService = game:GetService("UserInputService")
local gui = script.Parent
local dragging
local dragInput
local dragStart
local startPos
local function update(input)
local delta = input.Position - dragStart
gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
gui.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = gui.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
gui.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
function onKeyPress(inputObject, gameProcessedEvent)
if inputObject.KeyCode == Enum.KeyCode.N then
if script.Parent.Visible == false then
script.Parent.Visible = true
else
script.Parent.Visible = false
end
end
end
game:GetService("UserInputService").InputBegan:connect(onKeyPress)
end
coroutine.wrap(UXLACX_fake_script)()
local function OFVWO_fake_script() -- SpookTP.LocalScript
local script = Instance.new('LocalScript', SpookTP)
script.Parent.MouseButton1Up:Connect(function()
if #spook >= 1 then
local randomSpook = spook[math.random(1,#spook)]
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = randomSpook.WoodSection.CFrame
end
end)
end
local function XBOPX_fake_script() -- TextButton.LocalScript
local script = Instance.new('LocalScript', TextButton21)
script.Name = "toggleScript"
local debounce = false
local circle = script.Parent.Parent.Circle
function callback(val)
if val == true then
for i, v in pairs(workspace:GetChildren()) do
if v.Name == "TreeRegion" then
for k, l in pairs(v:GetChildren()) do
if l:FindFirstChild("TreeClass") and l:FindFirstChild("WoodSection") and l:FindFirstChild("Owner") then
if l.TreeClass.Value == "Spooky" or l.TreeClass.Value == "SpookyNeon" and l.Owner.Value == nil and l.WoodSection.ID == 1 and not l.WoodSection:FindFirstChild("BillboardGui") then
local gui = Instance.new("BillboardGui")
local esp311 = Instance.new("TextLabel",gui)
gui.Name = "espGui"
gui.ResetOnSpawn = false
gui.AlwaysOnTop = true
gui.LightInfluence = 0
gui.Size = UDim2.new(0, 100,0, 10)
gui.MaxDistance = math.huge
esp311.BackgroundColor3 = Color3.fromRGB(0,255,0);
if l.TreeClass.Value == "Spooky" then
esp311.Text = "Spooky Wood"
elseif l.TreeClass.Value == "SpookyNeon" then
esp311.Text = "Sinister Wood"
end
esp311.Size = UDim2.new(0.0001, 0.00001, 0.0001, 0.00001);
esp311.BorderSizePixel = 4;
esp311.BorderColor3 = Color3.new(0,255,0)
esp311.BorderSizePixel = 0
esp311.Font = "Gotham"
esp311.TextSize = 30
esp311.TextColor3 = Color3.fromRGB(255,255,255)
gui:Clone().Parent = l.WoodSection
end
end
end
end
end
else
for i,v in pairs(workspace:GetDescendants()) do
if v:IsA("BillboardGui") and v.Name == "espGui" then
v:Destroy()
end
end
end
end
script.Parent.MouseButton1Up:Connect(function()
if debounce == false then
if toggled == true then
debounce = true
game:GetService("TweenService"):Create(circle, TweenInfo.new(1, Enum.EasingStyle.Quint), {Position = UDim2.new(0,240,0,195,0)}):Play()
game:GetService("TweenService"):Create(script.Parent.Parent.colFrame, TweenInfo.new(1, Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(255, 48, 48)}):Play()
wait(0.25)
debounce = false
toggled = false
pcall(callback,toggled)
elseif toggled == false then
game:GetService("TweenService"):Create(circle, TweenInfo.new(1, Enum.EasingStyle.Quint), {Position = UDim2.new(0,275,0,195,0)}):Play()
game:GetService("TweenService"):Create(script.Parent.Parent.colFrame, TweenInfo.new(1, Enum.EasingStyle.Quint), {ImageColor3 = Color3.fromRGB(120, 255, 66)}):Play()
wait(.25)
debounce = false
toggled = true
pcall(callback,toggled)
end
end
end)
end
coroutine.wrap(XBOPX_fake_script)()
coroutine.wrap(OFVWO_fake_script)()
local function YYAZAE_fake_script() -- SinisterTP.LocalScript
local script = Instance.new('LocalScript', SinisterTP)
script.Parent.MouseButton1Up:Connect(function()
if #sinister >= 1 then
local randomSin = sinister[math.random(1,#sinister)]
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = randomSin.WoodSection.CFrame
end
end)
end
coroutine.wrap(YYAZAE_fake_script)()
end
if game.Players.LocalPlayer.PlayerGui:FindFirstChild("Tip's Spook Finder") then
game.Players.LocalPlayer.PlayerGui:FindFirstChild("Tip's Spook Finder"):Destroy()
gui()
else
gui()
end
local queueteleport = (syn and syn.queue_on_teleport) or queue_on_teleport or (fluxus and fluxus.queue_on_teleport)
shid = true
game.Players.LocalPlayer.OnTeleport:Connect(function(State)
if State == Enum.TeleportState.Started then
if shid and queueteleport then
queueteleport("https://raw.githubusercontent.com/tip52/useless-projects/main/spook%20finder%20gui.lua")
end
end
end)