diff --git a/changelog.txt b/changelog.txt index 39e074e..65c0b47 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,5 @@ -1.3 v?.2022.1: +1.3 v6.2022.1: +Changes from 1.3 v2.2022.1: Enhancements: - The following maps are now converted to Universal places: - 2006 - Pirate Ship @@ -9,8 +10,8 @@ Enhancements: - 2009 - Fall Down the Stairs XMAS VERSION - 2009 - Iron Cafe - 2010 - ROBLOX Arcade - - 2010 - ROBLOXs Skate Park - 2012 - Script Builder + - 2010 - ROBLOX's Skate Park - Added more download error information to the Asset SDK to help fix potential errors in files. - Added the ability to sign scripts. - There are 2 ways to sign scripts, use the new ClientScript variables for generated join scripts, or use the File -> Sign Script Manually (For Modern Clients) option. @@ -20,7 +21,7 @@ Enhancements: - %usenewsignformat% - for %signgeneratedjoinscript%, uses the new client signature format found on newer clients. - %useloadfile% - Uses the "loadfile" function instead of "dofile" for generated join scripts if "Generate scripts and fix map loading for 2007/2012+" is enabled. - %userbxassetforgeneration% - When "Generate scripts and fix map loading for 2007/2012+" is enabled, use "rbxasset" as the main path we should get the file from. - +- Server hosters and map authors may now insert a "DisableRespawns" object into Lighting that will disable player respawns. DisableRespawns may also be removed to re-enable respawning. - Added better Bootstrapper error handling. - Made config saving more reliable on initial startup. @@ -29,6 +30,7 @@ Fixes: - Fixed Rocket HopperBins in 2006S. - Fixed errors with script fixing. - Fixed the Asset Fixer not functioning properly with asset redirects. +- Fixed Universal - Ultimate Build not loading properly. ---------------------------------------------------------------------------- 1.3 Snapshot v22.8105.20619.3 Fixes: diff --git a/scripts/game/2006S-Shaders/CSMPFunctions.lua b/scripts/game/2006S-Shaders/CSMPFunctions.lua index 377114b..12ba65f 100644 --- a/scripts/game/2006S-Shaders/CSMPFunctions.lua +++ b/scripts/game/2006S-Shaders/CSMPFunctions.lua @@ -288,15 +288,17 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti coroutine.resume(coroutine.create(function() while Player ~= nil do wait(0.1) - if (Player.Character ~= nil) then - if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + end end end end @@ -401,15 +403,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:service("Visit"):setUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2006S/CSMPFunctions.lua b/scripts/game/2006S/CSMPFunctions.lua index acf3183..12e1496 100644 --- a/scripts/game/2006S/CSMPFunctions.lua +++ b/scripts/game/2006S/CSMPFunctions.lua @@ -288,15 +288,17 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti coroutine.resume(coroutine.create(function() while Player ~= nil do wait(0.1) - if (Player.Character ~= nil) then - if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + end end end end @@ -401,15 +403,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:service("Visit"):setUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2007E-Shaders/CSMPFunctions.lua b/scripts/game/2007E-Shaders/CSMPFunctions.lua index b698746..4be6ca7 100644 --- a/scripts/game/2007E-Shaders/CSMPFunctions.lua +++ b/scripts/game/2007E-Shaders/CSMPFunctions.lua @@ -350,15 +350,17 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti coroutine.resume(coroutine.create(function() while Player ~= nil do wait(0.1) - if (Player.Character ~= nil) then - if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + end end end end @@ -459,15 +461,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:service("Visit"):setUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2007E/CSMPFunctions.lua b/scripts/game/2007E/CSMPFunctions.lua index b698746..4be6ca7 100644 --- a/scripts/game/2007E/CSMPFunctions.lua +++ b/scripts/game/2007E/CSMPFunctions.lua @@ -350,15 +350,17 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti coroutine.resume(coroutine.create(function() while Player ~= nil do wait(0.1) - if (Player.Character ~= nil) then - if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + end end end end @@ -459,15 +461,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:service("Visit"):setUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2007M-Shaders/CSMPFunctions.lua b/scripts/game/2007M-Shaders/CSMPFunctions.lua index 931cad9..9a9bc15 100644 --- a/scripts/game/2007M-Shaders/CSMPFunctions.lua +++ b/scripts/game/2007M-Shaders/CSMPFunctions.lua @@ -410,15 +410,17 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti coroutine.resume(coroutine.create(function() while Player ~= nil do wait(0.1) - if (Player.Character ~= nil) then - if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + end end end end @@ -517,15 +519,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:GetService("Visit"):SetUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:FindFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2007M/CSMPFunctions.lua b/scripts/game/2007M/CSMPFunctions.lua index 526aa68..4cfb384 100644 --- a/scripts/game/2007M/CSMPFunctions.lua +++ b/scripts/game/2007M/CSMPFunctions.lua @@ -410,15 +410,17 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti coroutine.resume(coroutine.create(function() while Player ~= nil do wait(0.1) - if (Player.Character ~= nil) then - if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:findFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + end end end end @@ -517,15 +519,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:GetService("Visit"):SetUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:FindFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2008M/CSMPFunctions.lua b/scripts/game/2008M/CSMPFunctions.lua index db83651..d9073da 100644 --- a/scripts/game/2008M/CSMPFunctions.lua +++ b/scripts/game/2008M/CSMPFunctions.lua @@ -527,15 +527,17 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti while true do wait(0.001) - if (Player.Character ~= nil) then - if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + end end end end @@ -636,15 +638,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:GetService("Visit"):SetUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2009E-HD/CSMPFunctions.lua b/scripts/game/2009E-HD/CSMPFunctions.lua index 9232994..d31ba8b 100644 --- a/scripts/game/2009E-HD/CSMPFunctions.lua +++ b/scripts/game/2009E-HD/CSMPFunctions.lua @@ -608,15 +608,17 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti while true do wait(0.001) - if (Player.Character ~= nil) then - if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + end end end end @@ -730,15 +732,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:GetService("Visit"):SetUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2009E/CSMPFunctions.lua b/scripts/game/2009E/CSMPFunctions.lua index 9232994..d31ba8b 100644 --- a/scripts/game/2009E/CSMPFunctions.lua +++ b/scripts/game/2009E/CSMPFunctions.lua @@ -608,15 +608,17 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti while true do wait(0.001) - if (Player.Character ~= nil) then - if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then - wait(5) - Player:LoadCharacter() - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) - elseif (Player.Character.Parent == nil) then - wait(5) - Player:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character ~= nil) then + if (Player.Character:FindFirstChild("Humanoid") and (Player.Character.Humanoid.Health == 0)) then + wait(5) + Player:LoadCharacter() + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + elseif (Player.Character.Parent == nil) then + wait(5) + Player:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) + end end end end @@ -730,15 +732,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:GetService("Visit"):SetUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2010L/CSMPFunctions.lua b/scripts/game/2010L/CSMPFunctions.lua index c0d8d96..3406c21 100644 --- a/scripts/game/2010L/CSMPFunctions.lua +++ b/scripts/game/2010L/CSMPFunctions.lua @@ -609,11 +609,13 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti end) Player.Changed:connect(function(Property) - if (Property=="Character") and (Player.Character~=nil) then - local Character=Player.Character - local Humanoid=Character:FindFirstChild("Humanoid") - if (Humanoid~=nil) then - Humanoid.Died:connect(function() delay(5,function() Player:LoadCharacter() LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) end) end) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Property=="Character") and (Player.Character~=nil) then + local Character=Player.Character + local Humanoid=Character:FindFirstChild("Humanoid") + if (Humanoid~=nil) then + Humanoid.Died:connect(function() delay(5,function() Player:LoadCharacter() LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) end) end) + end end end end) @@ -755,15 +757,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:GetService("Visit"):SetUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2011E/CSMPFunctions.lua b/scripts/game/2011E/CSMPFunctions.lua index 62b4b84..0d21523 100644 --- a/scripts/game/2011E/CSMPFunctions.lua +++ b/scripts/game/2011E/CSMPFunctions.lua @@ -633,11 +633,13 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti end) Player.Changed:connect(function(Property) - if (Player.Character~=nil) then - local Character=Player.Character - local Humanoid=Character:FindFirstChild("Humanoid") - if (Humanoid~=nil) then - Humanoid.Died:connect(function() delay(5,function() Player:LoadCharacter() LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) end) end) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character~=nil) then + local Character=Player.Character + local Humanoid=Character:FindFirstChild("Humanoid") + if (Humanoid~=nil) then + Humanoid.Died:connect(function() delay(5,function() Player:LoadCharacter() LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) end) end) + end end end end) @@ -795,15 +797,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:GetService("Visit"):SetUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/game/2011M/CSMPFunctions.lua b/scripts/game/2011M/CSMPFunctions.lua index 070e063..62ead73 100644 --- a/scripts/game/2011M/CSMPFunctions.lua +++ b/scripts/game/2011M/CSMPFunctions.lua @@ -639,11 +639,13 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti end) Player.Changed:connect(function(Property) - if (Player.Character~=nil) then - local Character=Player.Character - local Humanoid=Character:FindFirstChild("Humanoid") - if (Humanoid~=nil) then - Humanoid.Died:connect(function() delay(5,function() Player:LoadCharacter() LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) end) end) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (Player.Character~=nil) then + local Character=Player.Character + local Humanoid=Character:FindFirstChild("Humanoid") + if (Humanoid~=nil) then + Humanoid.Died:connect(function() delay(5,function() Player:LoadCharacter() LoadCharacterNew(newWaitForChildSecurity(Player,"Appearance"),Player.Character) end) end) + end end end end) @@ -808,16 +810,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, game:GetService("Visit"):SetUploadUrl("") while true do wait(0.001) - if (plr.Character ~= nil) then - print() - if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then - wait(5) - plr:LoadCharacter() - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) - elseif (plr.Character.Parent == nil) then - wait(5) - plr:LoadCharacter() -- to make sure nobody is deleted. - LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + if (game.Lighting:findFirstChild("DisableRespawns") == nil) then + if (plr.Character ~= nil) then + if (plr.Character:findFirstChild("Humanoid") and (plr.Character.Humanoid.Health == 0)) then + wait(5) + plr:LoadCharacter() + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + elseif (plr.Character.Parent == nil) then + wait(5) + plr:LoadCharacter() -- to make sure nobody is deleted. + LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) + end end end end diff --git a/scripts/launcher/info.ini b/scripts/launcher/info.ini index 208865f..443f5a4 100644 --- a/scripts/launcher/info.ini +++ b/scripts/launcher/info.ini @@ -6,7 +6,7 @@ UserAgentRegisterClient1=2007M UserAgentRegisterClient2=2010L ExtendedVersionNumber=True ExtendedVersionEditChangelog=False -ExtendedVersionTemplate=%version% v?.2022.%extended-revision%%lite% +ExtendedVersionTemplate=%version% v6.2022.%extended-revision%%lite% //ExtendedVersionTemplate=%version% Snapshot v22.%build%.%revision%.%extended-revision% ExtendedVersionRevision=1 IsLite=False