Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
akidinatophat authored Jul 27, 2022
1 parent 5a9905d commit fa74b5a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions RestoreOofSound.bat
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
24 changes: 24 additions & 0 deletions RestoreOofSoundv2.bat
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
)

0 comments on commit fa74b5a

Please sign in to comment.