Created
January 1, 2025 00:25
-
-
Save vsDizzy/f242b60f2337a11a671a25662718a65d to your computer and use it in GitHub Desktop.
Roblox muilti-instancer
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
# Roblox muilti-instancer | |
# v0.1.0 | |
$createdMutex = $false | |
New-Object System.Threading.Mutex($true, "ROBLOX_singletonMutex", [ref] $createdMutex) | |
if (-Not $createdMutex) { | |
Write-Host "Please close all Roblox instances." -ForegroundColor Red | |
} else{ | |
Write-Host "Now you can open multiple Roblox instances." -ForegroundColor Green | |
} | |
Write-Host | |
Read-Host "Press ENTER to exit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adjust policy if needed