-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforsaken.lua
59 lines (53 loc) · 2.19 KB
/
forsaken.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
-- DO NOT CHANGE ANYTHING BELOW, UNLESS YOU KNOW WHAT YOU ARE DOING --
local debris = game:GetService("Debris")
if connection then
connection:Disconnect()
connection = nil
end
connection = nil
function display(text, delete)
local message = Instance.new("Message", workspace)
message.Text = text
debris:AddItem(message, delete)
end
if _G.DONOTEXECUTE and _G.DONOTEXECUTE == true then
display("script is currently downloading audio, this might take a while. do not execute this script, please.", 5)
else
if isfolder and makefolder and writefile and isfile and request and getcustomasset then
if not isfolder("forsaken") then
makefolder("forsaken")
end
if not isfile("forsaken/lms.mp3") then
display("began downloading last man standing song. this may take up to two minutes!", 5)
_G.DONOTEXECUTE = true
local soundData = request({
Method="GET",
Url="https://files.catbox.moe/9136uf.mp3"
}).Body
_G.DONOTEXECUTE = nil
if soundData then
writefile("forsaken/lms.mp3", soundData)
display("done!",2)
else
display("failed to load lms.mp3. make sure catbox.moe isn't blocked in your region.",5)
return
end
end
local position: Folder = workspace:FindFirstChild("Themes")
connection = position.ChildAdded:Connect(function(child)
if child:IsA("Sound") and child.Name == "LastSurvivor" then
if child.SoundId == "rbxassetid://133642201056982" then
if _G.isEnabled then
child.SoundId = getcustomasset("forsaken/lms.mp3", false)
child.Volume = 1.5
else
connection:Destroy()
end
end
end
end)
else
display("your explot doesn't support any of the required functions: \n* isfolder\n* makefolder\n* writefile\n* isfile\n* request\n* getcustomasset\nplease, switch your exploit in order to use this script. :(",10)
return
end
end