added WIP scripting API global functions
_G.CSScript_PreInit() _G.CSScript_PostInit() _G.CSScript_OnLoadCharacter()
This commit is contained in:
parent
75daff0663
commit
feafbde110
|
|
@ -84,6 +84,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -229,6 +231,7 @@ print("ROBLOX Client version '0.3.368.0' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
Server = game:service("NetworkServer")
|
Server = game:service("NetworkServer")
|
||||||
RunService = game:service("RunService")
|
RunService = game:service("RunService")
|
||||||
PlayerService = game:service("Players")
|
PlayerService = game:service("Players")
|
||||||
|
|
@ -314,6 +317,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
Server.IncommingConnection:connect(IncommingConnection)
|
Server.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
||||||
|
|
@ -394,6 +398,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:service("RunService"):run()
|
game:service("RunService"):run()
|
||||||
local plr = game.Players:createLocalPlayer(UserID)
|
local plr = game.Players:createLocalPlayer(UserID)
|
||||||
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
|
|
@ -403,6 +408,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game:service("Visit"):setUploadUrl("")
|
game:service("Visit"):setUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -423,6 +429,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -84,6 +84,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -229,6 +231,7 @@ print("ROBLOX Client version '0.3.368.0' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
Server = game:service("NetworkServer")
|
Server = game:service("NetworkServer")
|
||||||
RunService = game:service("RunService")
|
RunService = game:service("RunService")
|
||||||
PlayerService = game:service("Players")
|
PlayerService = game:service("Players")
|
||||||
|
|
@ -314,6 +317,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
Server.IncommingConnection:connect(IncommingConnection)
|
Server.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
||||||
|
|
@ -394,6 +398,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:service("RunService"):run()
|
game:service("RunService"):run()
|
||||||
local plr = game.Players:createLocalPlayer(UserID)
|
local plr = game.Players:createLocalPlayer(UserID)
|
||||||
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
|
|
@ -403,6 +408,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game:service("Visit"):setUploadUrl("")
|
game:service("Visit"):setUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -423,6 +429,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -128,6 +128,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -291,6 +293,7 @@ print("ROBLOX Client version '0.3.368.0' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
Server = game:service("NetworkServer")
|
Server = game:service("NetworkServer")
|
||||||
RunService = game:service("RunService")
|
RunService = game:service("RunService")
|
||||||
PlayerService = game:service("Players")
|
PlayerService = game:service("Players")
|
||||||
|
|
@ -376,6 +379,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
Server.IncommingConnection:connect(IncommingConnection)
|
Server.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,VerifiedScripts,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,VerifiedScripts,Ticket)
|
||||||
|
|
@ -452,6 +456,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:service("RunService"):run()
|
game:service("RunService"):run()
|
||||||
local plr = game.Players:createLocalPlayer(UserID)
|
local plr = game.Players:createLocalPlayer(UserID)
|
||||||
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
|
|
@ -461,6 +466,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game:service("Visit"):setUploadUrl("")
|
game:service("Visit"):setUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -481,6 +487,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -128,6 +128,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -291,6 +293,7 @@ print("ROBLOX Client version '0.3.368.0' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
Server = game:service("NetworkServer")
|
Server = game:service("NetworkServer")
|
||||||
RunService = game:service("RunService")
|
RunService = game:service("RunService")
|
||||||
PlayerService = game:service("Players")
|
PlayerService = game:service("Players")
|
||||||
|
|
@ -376,6 +379,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
Server.IncommingConnection:connect(IncommingConnection)
|
Server.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,VerifiedScripts,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,VerifiedScripts,Ticket)
|
||||||
|
|
@ -452,6 +456,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:service("RunService"):run()
|
game:service("RunService"):run()
|
||||||
local plr = game.Players:createLocalPlayer(UserID)
|
local plr = game.Players:createLocalPlayer(UserID)
|
||||||
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
|
|
@ -461,6 +466,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game:service("Visit"):setUploadUrl("")
|
game:service("Visit"):setUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -481,6 +487,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -159,6 +159,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -351,6 +353,7 @@ print("ROBLOX Client version '0.3.512.0' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
Server = game:GetService("NetworkServer")
|
Server = game:GetService("NetworkServer")
|
||||||
RunService = game:GetService("RunService")
|
RunService = game:GetService("RunService")
|
||||||
PlayerService = game:GetService("Players")
|
PlayerService = game:GetService("Players")
|
||||||
|
|
@ -436,6 +439,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
Server.IncommingConnection:connect(IncommingConnection)
|
Server.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
||||||
|
|
@ -511,6 +515,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:GetService("RunService"):run()
|
game:GetService("RunService"):run()
|
||||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
|
|
@ -519,6 +524,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game:GetService("Visit"):SetUploadUrl("")
|
game:GetService("Visit"):SetUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -539,6 +545,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -159,6 +159,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -351,6 +353,7 @@ print("ROBLOX Client version '0.3.512.0' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
Server = game:GetService("NetworkServer")
|
Server = game:GetService("NetworkServer")
|
||||||
RunService = game:GetService("RunService")
|
RunService = game:GetService("RunService")
|
||||||
PlayerService = game:GetService("Players")
|
PlayerService = game:GetService("Players")
|
||||||
|
|
@ -436,6 +439,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
Server.IncommingConnection:connect(IncommingConnection)
|
Server.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
pcall(function() game.Close:connect(function() Server:stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
||||||
|
|
@ -511,6 +515,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:GetService("RunService"):run()
|
game:GetService("RunService"):run()
|
||||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
|
|
@ -519,6 +524,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game:GetService("Visit"):SetUploadUrl("")
|
game:GetService("Visit"):SetUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -539,6 +545,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -234,6 +234,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -469,6 +471,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
Server = game:GetService("NetworkServer")
|
Server = game:GetService("NetworkServer")
|
||||||
RunService = game:GetService("RunService")
|
RunService = game:GetService("RunService")
|
||||||
Server:start(Port, 20)
|
Server:start(Port, 20)
|
||||||
|
|
@ -552,6 +555,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
Server.IncommingConnection:connect(IncommingConnection)
|
Server.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() Server:Stop() end) end)
|
pcall(function() game.Close:connect(function() Server:Stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
||||||
|
|
@ -629,6 +633,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:GetService("RunService"):run()
|
game:GetService("RunService"):run()
|
||||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
|
|
@ -638,6 +643,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game:GetService("Visit"):SetUploadUrl("")
|
game:GetService("Visit"):SetUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -658,6 +664,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -289,6 +289,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -550,6 +552,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
Server = game:GetService("NetworkServer")
|
Server = game:GetService("NetworkServer")
|
||||||
RunService = game:GetService("RunService")
|
RunService = game:GetService("RunService")
|
||||||
Server:start(Port, 20)
|
Server:start(Port, 20)
|
||||||
|
|
@ -633,6 +636,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
Server.IncommingConnection:connect(IncommingConnection)
|
Server.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() Server:Stop() end) end)
|
pcall(function() game.Close:connect(function() Server:Stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
||||||
|
|
@ -723,6 +727,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:GetService("RunService"):run()
|
game:GetService("RunService"):run()
|
||||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
|
|
@ -732,6 +737,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game:GetService("Visit"):SetUploadUrl("")
|
game:GetService("Visit"):SetUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -752,6 +758,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -289,6 +289,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -550,6 +552,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
Server = game:GetService("NetworkServer")
|
Server = game:GetService("NetworkServer")
|
||||||
RunService = game:GetService("RunService")
|
RunService = game:GetService("RunService")
|
||||||
Server:start(Port, 20)
|
Server:start(Port, 20)
|
||||||
|
|
@ -633,6 +636,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
Server.IncommingConnection:connect(IncommingConnection)
|
Server.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() Server:Stop() end) end)
|
pcall(function() game.Close:connect(function() Server:Stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
||||||
|
|
@ -723,6 +727,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:GetService("RunService"):run()
|
game:GetService("RunService"):run()
|
||||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
|
|
@ -732,6 +737,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game:GetService("Visit"):SetUploadUrl("")
|
game:GetService("Visit"):SetUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -752,6 +758,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -294,6 +294,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -555,6 +557,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
assert((type(Port)~="number" or tonumber(Port)~=nil or Port==nil),"CSRun Error: Port must be nil or a number.")
|
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 NetworkServer=game:GetService("NetworkServer")
|
||||||
local RunService = game:GetService("RunService")
|
local RunService = game:GetService("RunService")
|
||||||
|
|
@ -636,6 +639,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
NetworkServer.IncommingConnection:connect(IncommingConnection)
|
NetworkServer.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() NetworkServer:Stop() end) end)
|
pcall(function() game.Close:connect(function() NetworkServer:Stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,Ticket)
|
||||||
|
|
@ -745,6 +749,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:GetService("RunService"):Run()
|
game:GetService("RunService"):Run()
|
||||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||||
plr.Name = PlayerName
|
plr.Name = PlayerName
|
||||||
|
|
@ -757,6 +762,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
newWaitForChild(game.StarterGui, "Health")
|
newWaitForChild(game.StarterGui, "Health")
|
||||||
game.StarterGui.Health:clone().Parent = plr.PlayerGui
|
game.StarterGui.Health:clone().Parent = plr.PlayerGui
|
||||||
game:GetService("Visit"):SetUploadUrl("")
|
game:GetService("Visit"):SetUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -777,6 +783,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -295,6 +295,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID,IconType)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID,IconType)
|
||||||
|
|
@ -579,6 +581,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
assert((type(Port)~="number" or tonumber(Port)~=nil or Port==nil),"CSRun Error: Port must be nil or a number.")
|
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 NetworkServer=game:GetService("NetworkServer")
|
||||||
local RunService = game:GetService("RunService")
|
local RunService = game:GetService("RunService")
|
||||||
|
|
@ -660,6 +663,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5,ValidatedScripts)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5,ValidatedScripts)
|
||||||
NetworkServer.IncommingConnection:connect(IncommingConnection)
|
NetworkServer.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() NetworkServer:Stop() end) end)
|
pcall(function() game.Close:connect(function() NetworkServer:Stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,ValidatedScripts,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,ValidatedScripts,Ticket)
|
||||||
|
|
@ -778,6 +782,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
game:GetService("RunService"):Run()
|
game:GetService("RunService"):Run()
|
||||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||||
plr.Name = PlayerName
|
plr.Name = PlayerName
|
||||||
|
|
@ -797,6 +802,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
game:GetService("Visit"):SetUploadUrl("")
|
game:GetService("Visit"):SetUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -817,6 +823,8 @@ end
|
||||||
|
|
||||||
function CSStudio()
|
function CSStudio()
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
|
|
@ -293,6 +293,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID,IconType)
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID,IconType)
|
||||||
|
|
@ -577,6 +579,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
||||||
|
|
||||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts,NewGUI)
|
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts,NewGUI)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
pcall(function()
|
pcall(function()
|
||||||
id = -1
|
id = -1
|
||||||
if NewGUI == true then
|
if NewGUI == true then
|
||||||
|
|
@ -666,6 +669,7 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Noti
|
||||||
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5,ValidatedScripts)
|
InitalizeSecurityValues(game.Lighting,ClientEXEMD5,LauncherMD5,ClientScriptMD5,ValidatedScripts)
|
||||||
NetworkServer.IncommingConnection:connect(IncommingConnection)
|
NetworkServer.IncommingConnection:connect(IncommingConnection)
|
||||||
pcall(function() game.Close:connect(function() NetworkServer:Stop() end) end)
|
pcall(function() game.Close:connect(function() NetworkServer:Stop() end) end)
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,ValidatedScripts,NewGUI,Ticket)
|
function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Tripcode,ValidatedScripts,NewGUI,Ticket)
|
||||||
|
|
@ -782,6 +786,7 @@ end
|
||||||
|
|
||||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,NewGUI)
|
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,NewGUI)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
pcall(function()
|
pcall(function()
|
||||||
id = -1
|
id = -1
|
||||||
if NewGUI == true then
|
if NewGUI == true then
|
||||||
|
|
@ -810,6 +815,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
game:GetService("Visit"):SetUploadUrl("")
|
game:GetService("Visit"):SetUploadUrl("")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
while true do
|
while true do
|
||||||
wait(0.001)
|
wait(0.001)
|
||||||
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
if (game.Lighting:findFirstChild("DisableRespawns") == nil) then
|
||||||
|
|
@ -830,6 +836,7 @@ end
|
||||||
|
|
||||||
function CSStudio(NewGUI)
|
function CSStudio(NewGUI)
|
||||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||||
|
pcall(function() _G.CSScript_PreInit() end)
|
||||||
pcall(function()
|
pcall(function()
|
||||||
id = -1
|
id = -1
|
||||||
if NewGUI == true then
|
if NewGUI == true then
|
||||||
|
|
@ -838,6 +845,7 @@ function CSStudio(NewGUI)
|
||||||
game:SetPlaceID(id, false)
|
game:SetPlaceID(id, false)
|
||||||
end)
|
end)
|
||||||
dofile("rbxasset://scripts\\cores\\StarterScript.lua")
|
dofile("rbxasset://scripts\\cores\\StarterScript.lua")
|
||||||
|
pcall(function() _G.CSScript_PostInit() end)
|
||||||
end
|
end
|
||||||
|
|
||||||
_G.CSServer=CSServer
|
_G.CSServer=CSServer
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue