diff --git a/changelog.txt b/changelog.txt index 88b0a82..ffd9573 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,4 @@ -1.3 Snapshot v22.8222.19775.1 +1.3 Snapshot v22.8222.20490.1 Enhancements: - Every client now has support for custom addon scripts! - Install it to clients/[Client Name]/scripts/addon.lua. diff --git a/scripts/game/2006S-Shaders/CSMPFunctions.lua b/scripts/game/2006S-Shaders/CSMPFunctions.lua index da0cfc4..5ea1646 100644 --- a/scripts/game/2006S-Shaders/CSMPFunctions.lua +++ b/scripts/game/2006S-Shaders/CSMPFunctions.lua @@ -228,7 +228,7 @@ end print("ROBLOX Client version '0.3.368.0' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) Server = game:service("NetworkServer") RunService = game:service("RunService") PlayerService = game:service("Players") @@ -393,7 +393,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:service("RunService"):run() local plr = game.Players:createLocalPlayer(UserID) game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm") @@ -422,7 +422,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2006S/CSMPFunctions.lua b/scripts/game/2006S/CSMPFunctions.lua index 98fa580..31db4a2 100644 --- a/scripts/game/2006S/CSMPFunctions.lua +++ b/scripts/game/2006S/CSMPFunctions.lua @@ -228,7 +228,7 @@ end print("ROBLOX Client version '0.3.368.0' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) Server = game:service("NetworkServer") RunService = game:service("RunService") PlayerService = game:service("Players") @@ -393,7 +393,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:service("RunService"):run() local plr = game.Players:createLocalPlayer(UserID) game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm") @@ -422,7 +422,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2007E-Shaders/CSMPFunctions.lua b/scripts/game/2007E-Shaders/CSMPFunctions.lua index 5e1e40a..8eaa92f 100644 --- a/scripts/game/2007E-Shaders/CSMPFunctions.lua +++ b/scripts/game/2007E-Shaders/CSMPFunctions.lua @@ -290,7 +290,7 @@ end print("ROBLOX Client version '0.3.368.0' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) Server = game:service("NetworkServer") RunService = game:service("RunService") PlayerService = game:service("Players") @@ -451,7 +451,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:service("RunService"):run() local plr = game.Players:createLocalPlayer(UserID) game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm") @@ -480,7 +480,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2007E/CSMPFunctions.lua b/scripts/game/2007E/CSMPFunctions.lua index 5e1e40a..8eaa92f 100644 --- a/scripts/game/2007E/CSMPFunctions.lua +++ b/scripts/game/2007E/CSMPFunctions.lua @@ -290,7 +290,7 @@ end print("ROBLOX Client version '0.3.368.0' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) Server = game:service("NetworkServer") RunService = game:service("RunService") PlayerService = game:service("Players") @@ -451,7 +451,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:service("RunService"):run() local plr = game.Players:createLocalPlayer(UserID) game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm") @@ -480,7 +480,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2007M-Shaders/CSMPFunctions.lua b/scripts/game/2007M-Shaders/CSMPFunctions.lua index 3ed1006..ec23301 100644 --- a/scripts/game/2007M-Shaders/CSMPFunctions.lua +++ b/scripts/game/2007M-Shaders/CSMPFunctions.lua @@ -350,7 +350,7 @@ end print("ROBLOX Client version '0.3.512.0' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) Server = game:GetService("NetworkServer") RunService = game:GetService("RunService") PlayerService = game:GetService("Players") @@ -510,7 +510,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:GetService("RunService"):run() local plr = game.Players:CreateLocalPlayer(UserID) game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm") @@ -538,7 +538,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2007M/CSMPFunctions.lua b/scripts/game/2007M/CSMPFunctions.lua index fab357f..8326662 100644 --- a/scripts/game/2007M/CSMPFunctions.lua +++ b/scripts/game/2007M/CSMPFunctions.lua @@ -350,7 +350,7 @@ end print("ROBLOX Client version '0.3.512.0' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) Server = game:GetService("NetworkServer") RunService = game:GetService("RunService") PlayerService = game:GetService("Players") @@ -510,7 +510,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:GetService("RunService"):run() local plr = game.Players:CreateLocalPlayer(UserID) game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm") @@ -538,7 +538,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2008M/CSMPFunctions.lua b/scripts/game/2008M/CSMPFunctions.lua index 2a7ce66..5c7dd3c 100644 --- a/scripts/game/2008M/CSMPFunctions.lua +++ b/scripts/game/2008M/CSMPFunctions.lua @@ -468,7 +468,7 @@ rbxversion = version() print("ROBLOX Client version '" .. rbxversion .. "' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) Server = game:GetService("NetworkServer") RunService = game:GetService("RunService") Server:start(Port, 20) @@ -628,7 +628,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:GetService("RunService"):run() local plr = game.Players:CreateLocalPlayer(UserID) game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm") @@ -657,7 +657,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2009E-HD/CSMPFunctions.lua b/scripts/game/2009E-HD/CSMPFunctions.lua index f1a6b1d..bd935de 100644 --- a/scripts/game/2009E-HD/CSMPFunctions.lua +++ b/scripts/game/2009E-HD/CSMPFunctions.lua @@ -549,7 +549,7 @@ rbxversion = version() print("ROBLOX Client version '" .. rbxversion .. "' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) Server = game:GetService("NetworkServer") RunService = game:GetService("RunService") Server:start(Port, 20) @@ -722,7 +722,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:GetService("RunService"):run() local plr = game.Players:CreateLocalPlayer(UserID) game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm") @@ -751,7 +751,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2009E/CSMPFunctions.lua b/scripts/game/2009E/CSMPFunctions.lua index f1a6b1d..bd935de 100644 --- a/scripts/game/2009E/CSMPFunctions.lua +++ b/scripts/game/2009E/CSMPFunctions.lua @@ -549,7 +549,7 @@ rbxversion = version() print("ROBLOX Client version '" .. rbxversion .. "' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) Server = game:GetService("NetworkServer") RunService = game:GetService("RunService") Server:start(Port, 20) @@ -722,7 +722,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:GetService("RunService"):run() local plr = game.Players:CreateLocalPlayer(UserID) game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm") @@ -751,7 +751,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2010L/CSMPFunctions.lua b/scripts/game/2010L/CSMPFunctions.lua index 5b1ec0e..9353b99 100644 --- a/scripts/game/2010L/CSMPFunctions.lua +++ b/scripts/game/2010L/CSMPFunctions.lua @@ -554,7 +554,7 @@ rbxversion = version() print("ROBLOX Client version '" .. rbxversion .. "' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) assert((type(Port)~="number" or tonumber(Port)~=nil or Port==nil),"CSRun Error: Port must be nil or a number.") local NetworkServer=game:GetService("NetworkServer") local RunService = game:GetService("RunService") @@ -744,7 +744,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:GetService("RunService"):Run() local plr = game.Players:CreateLocalPlayer(UserID) plr.Name = PlayerName @@ -776,7 +776,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2011E/CSMPFunctions.lua b/scripts/game/2011E/CSMPFunctions.lua index 4c3f91a..348ff94 100644 --- a/scripts/game/2011E/CSMPFunctions.lua +++ b/scripts/game/2011E/CSMPFunctions.lua @@ -578,7 +578,7 @@ rbxversion = version() print("ROBLOX Client version '" .. rbxversion .. "' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) assert((type(Port)~="number" or tonumber(Port)~=nil or Port==nil),"CSRun Error: Port must be nil or a number.") local NetworkServer=game:GetService("NetworkServer") local RunService = game:GetService("RunService") @@ -777,7 +777,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) game:GetService("RunService"):Run() local plr = game.Players:CreateLocalPlayer(UserID) plr.Name = PlayerName @@ -816,7 +816,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio() - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) end _G.CSServer=CSServer diff --git a/scripts/game/2011M/CSMPFunctions.lua b/scripts/game/2011M/CSMPFunctions.lua index aff6ac1..4ad0061 100644 --- a/scripts/game/2011M/CSMPFunctions.lua +++ b/scripts/game/2011M/CSMPFunctions.lua @@ -576,7 +576,7 @@ rbxversion = version() print("ROBLOX Client version '" .. rbxversion .. "' loaded.") function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts,NewGUI) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) pcall(function() id = -1 if NewGUI == true then @@ -781,7 +781,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He end function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,NewGUI) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) pcall(function() id = -1 if NewGUI == true then @@ -829,7 +829,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, end function CSStudio(NewGUI) - dofile("rbxasset://scripts//Addon.lua") + pcall(function() dofile("rbxasset://scripts//Addon.lua") end) pcall(function() id = -1 if NewGUI == true then