This repository has been archived by the owner on Jan 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a9905d
commit fa74b5a
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@echo off | ||
echo Changing death sound... | ||
set "LOCATION=C:\Users\%USERNAME%\AppData\Local\Roblox\Versions\version-9045f70ea522489c\content\sounds" | ||
del %LOCATION%\ouch.ogg | ||
curl -s https://hatto.us/storage/ouch.ogg --output %LOCATION%\ouch.ogg | ||
echo Success! | ||
pause | ||
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@echo off | ||
title RestoreOofSound v2.0 | ||
echo Getting Roblox Version... | ||
powershell "$json = Invoke-WebRequest https://clientsettings.roblox.com/v2/client-version/WindowsPlayer; $verupload = ConvertFrom-Json $json; $verupload.clientVersionUpload | Out-File C:\Users\$env:UserName\tempcurrentverupload.txt" | ||
cd C:\Users\%USERNAME% | ||
FOR /F "tokens=* USEBACKQ" %%F IN (`type tempcurrentverupload.txt`) DO ( | ||
SET CurrentVersionUpload=%%F | ||
) | ||
if exist "C:\Users\%USERNAME%\AppData\Local\Roblox\Versions\%CurrentVersionUpload%\RobloxPlayerLauncher.exe" ( | ||
echo Changing death sound... | ||
del C:\Users\%USERNAME%\AppData\Local\Roblox\Versions\%CurrentVersionUpload%\content\sounds\ouch.ogg | ||
curl -s https://hatto.us/storage/ouch.ogg --output C:\Users\%USERNAME%\AppData\Local\Roblox\Versions\%CurrentVersionUpload%\content\sounds\ouch.ogg | ||
color 2 | ||
echo Success! | ||
del C:\Users\%USERNAME%\tempcurrentverupload.txt | ||
pause | ||
exit | ||
) else ( | ||
color 4 | ||
echo ERROR: Outdated Roblox Version! Please update your Roblox client! | ||
del C:\Users\%USERNAME%\tempcurrentverupload.txt | ||
pause | ||
exit | ||
) |