-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWebhook.lua
More file actions
27 lines (27 loc) · 895 Bytes
/
Copy pathWebhook.lua
File metadata and controls
27 lines (27 loc) · 895 Bytes
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
return function()
local function Abeceded(nama)
local player = game:GetService("Players").LocalPlayer
local success, result = pcall(function()
local currencyFolder = player:WaitForChild("PlayerGui")
:WaitForChild("ScreenGui")
:WaitForChild("HUD")
:WaitForChild("Left")
:WaitForChild("Currency")
local target = currencyFolder:WaitForChild(nama)
local frame = target:WaitForChild("Frame")
local label = frame:WaitForChild("Label")
if label:IsA("TextLabel") then
return label.Text
else
return nil
end
end)
if success then
return result
else
warn("Failed to get label text:", result)
return nil
end
end
return Abeceded
end