Attempt to Fix the Underlying Client Issue in Late Two-Thousand Nine and Above.
This commit is contained in:
parent
77d03c9649
commit
adbf49c25f
|
|
@ -29,6 +29,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
PlayerService = game:GetService("Players")
|
PlayerService = game:GetService("Players")
|
||||||
Player = PlayerService:GetPlayerFromCharacter(newChar)
|
Player = PlayerService:GetPlayerFromCharacter(newChar)
|
||||||
|
|
||||||
|
wait(0.65)
|
||||||
|
|
||||||
local function kick()
|
local function kick()
|
||||||
KickPlayer(Player, "Modified Client")
|
KickPlayer(Player, "Modified Client")
|
||||||
end
|
end
|
||||||
|
|
@ -404,7 +406,6 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
LoadSecurity(newWaitForChild(Player,"Security"),Player,game.Lighting)
|
LoadSecurity(newWaitForChild(Player,"Security"),Player,game.Lighting)
|
||||||
if (char ~= nil) then
|
if (char ~= nil) then
|
||||||
LoadCharacterNew(newWaitForChild(Player,"Appearance"),char)
|
LoadCharacterNew(newWaitForChild(Player,"Appearance"),char)
|
||||||
wait(0.65)
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
@ -526,15 +527,14 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() Player.Name=PlayerName or "" end)
|
||||||
InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
wait(0.65)
|
|
||||||
InitalizeSecurityValues(Player,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(Player,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
pcall(function() Player:SetUnder13(false) end)
|
pcall(function() Player:SetUnder13(false) end)
|
||||||
pcall(function() Player:SetMembershipType(Enum.MembershipType.BuildersClub) end)
|
pcall(function() Player:SetMembershipType(Enum.MembershipType.BuildersClub) end)
|
||||||
pcall(function() Player:SetAccountAge(365) end)
|
pcall(function() Player:SetAccountAge(365) end)
|
||||||
Player:SetSuperSafeChat(false)
|
Player:SetSuperSafeChat(false)
|
||||||
Player.CharacterAppearance=0
|
Player.CharacterAppearance=0
|
||||||
pcall(function() Player.Name=PlayerName or "" end)
|
|
||||||
pcall(function() Visit:SetUploadUrl("") end)
|
pcall(function() Visit:SetUploadUrl("") end)
|
||||||
game:GetService("Visit")
|
game:GetService("Visit")
|
||||||
end
|
end
|
||||||
|
|
@ -547,9 +547,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
plr:LoadCharacter()
|
plr:LoadCharacter()
|
||||||
plr.CharacterAppearance=0
|
plr.CharacterAppearance=0
|
||||||
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)
|
||||||
wait(0.65)
|
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
wait(0.65)
|
|
||||||
game:GetService("Visit")
|
game:GetService("Visit")
|
||||||
while true do wait()
|
while true do wait()
|
||||||
if (plr.Character.Humanoid.Health == 0) then
|
if (plr.Character.Humanoid.Health == 0) then
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
PlayerService = game:GetService("Players")
|
PlayerService = game:GetService("Players")
|
||||||
Player = PlayerService:GetPlayerFromCharacter(newChar)
|
Player = PlayerService:GetPlayerFromCharacter(newChar)
|
||||||
|
|
||||||
|
wait(0.65)
|
||||||
|
|
||||||
local function kick()
|
local function kick()
|
||||||
KickPlayer(Player, "Modified Client")
|
KickPlayer(Player, "Modified Client")
|
||||||
end
|
end
|
||||||
|
|
@ -404,7 +406,6 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
LoadSecurity(newWaitForChild(Player,"Security"),Player,game.Lighting)
|
LoadSecurity(newWaitForChild(Player,"Security"),Player,game.Lighting)
|
||||||
if (char ~= nil) then
|
if (char ~= nil) then
|
||||||
LoadCharacterNew(newWaitForChild(Player,"Appearance"),char)
|
LoadCharacterNew(newWaitForChild(Player,"Appearance"),char)
|
||||||
wait(0.65)
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
@ -526,15 +527,14 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() Player.Name=PlayerName or "" end)
|
||||||
InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
wait(0.65)
|
|
||||||
InitalizeSecurityValues(Player,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
InitalizeSecurityValues(Player,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
pcall(function() Player:SetUnder13(false) end)
|
pcall(function() Player:SetUnder13(false) end)
|
||||||
pcall(function() Player:SetMembershipType(Enum.MembershipType.BuildersClub) end)
|
pcall(function() Player:SetMembershipType(Enum.MembershipType.BuildersClub) end)
|
||||||
pcall(function() Player:SetAccountAge(365) end)
|
pcall(function() Player:SetAccountAge(365) end)
|
||||||
Player:SetSuperSafeChat(false)
|
Player:SetSuperSafeChat(false)
|
||||||
Player.CharacterAppearance=0
|
Player.CharacterAppearance=0
|
||||||
pcall(function() Player.Name=PlayerName or "" end)
|
|
||||||
pcall(function() Visit:SetUploadUrl("") end)
|
pcall(function() Visit:SetUploadUrl("") end)
|
||||||
game:GetService("Visit")
|
game:GetService("Visit")
|
||||||
end
|
end
|
||||||
|
|
@ -546,9 +546,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
plr:LoadCharacter()
|
plr:LoadCharacter()
|
||||||
plr.CharacterAppearance=0
|
plr.CharacterAppearance=0
|
||||||
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)
|
||||||
wait(0.65)
|
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
wait(0.65)
|
|
||||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
newWaitForChild(game.StarterGui, "Health")
|
newWaitForChild(game.StarterGui, "Health")
|
||||||
game.StarterGui.Health:clone().Parent = plr.PlayerGui
|
game.StarterGui.Health:clone().Parent = plr.PlayerGui
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,8 @@ function LoadCharacterNew(playerApp,newChar)
|
||||||
PlayerService = game:GetService("Players")
|
PlayerService = game:GetService("Players")
|
||||||
Player = PlayerService:GetPlayerFromCharacter(newChar)
|
Player = PlayerService:GetPlayerFromCharacter(newChar)
|
||||||
|
|
||||||
|
wait(0.65)
|
||||||
|
|
||||||
local function kick()
|
local function kick()
|
||||||
KickPlayer(Player, "Modified Client")
|
KickPlayer(Player, "Modified Client")
|
||||||
end
|
end
|
||||||
|
|
@ -420,7 +422,6 @@ function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5)
|
||||||
LoadSecurity(newWaitForChild(Player,"Security"),Player,game.Lighting)
|
LoadSecurity(newWaitForChild(Player,"Security"),Player,game.Lighting)
|
||||||
if (char ~= nil) then
|
if (char ~= nil) then
|
||||||
LoadCharacterNew(newWaitForChild(Player,"Appearance"),char)
|
LoadCharacterNew(newWaitForChild(Player,"Appearance"),char)
|
||||||
wait(0.65)
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
@ -541,7 +542,12 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
|
||||||
SetMessage("Failed to connect to the Game.")
|
SetMessage("Failed to connect to the Game.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
pcall(function() Player.Name=PlayerName or "" end)
|
||||||
pcall(function() Player:SetUnder13(false) end)
|
pcall(function() Player:SetUnder13(false) end)
|
||||||
|
pcall(function() Player:SetAccountAge(365) end)
|
||||||
|
Player:SetSuperSafeChat(false)
|
||||||
|
Player.CharacterAppearance=0
|
||||||
game.GuiRoot.ScoreHud:Remove()
|
game.GuiRoot.ScoreHud:Remove()
|
||||||
if (IconType == "BC") then
|
if (IconType == "BC") then
|
||||||
Player:SetMembershipType(Enum.MembershipType.BuildersClub)
|
Player:SetMembershipType(Enum.MembershipType.BuildersClub)
|
||||||
|
|
@ -552,10 +558,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
|
||||||
elseif (IconType == "NBC") then
|
elseif (IconType == "NBC") then
|
||||||
Player:SetMembershipType(Enum.MembershipType.None)
|
Player:SetMembershipType(Enum.MembershipType.None)
|
||||||
end
|
end
|
||||||
pcall(function() Player:SetAccountAge(365) end)
|
|
||||||
Player:SetSuperSafeChat(false)
|
|
||||||
Player.CharacterAppearance=0
|
|
||||||
pcall(function() Player.Name=PlayerName or "" end)
|
|
||||||
pcall(function() Visit:SetUploadUrl("") end)
|
pcall(function() Visit:SetUploadUrl("") end)
|
||||||
game:GetService("Visit")
|
game:GetService("Visit")
|
||||||
InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||||
|
|
@ -580,9 +583,7 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,
|
||||||
game.GuiRoot.ScoreHud:Remove()
|
game.GuiRoot.ScoreHud:Remove()
|
||||||
plr.CharacterAppearance=0
|
plr.CharacterAppearance=0
|
||||||
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)
|
||||||
wait(0.65)
|
|
||||||
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character,false)
|
||||||
wait(0.65)
|
|
||||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||||
newWaitForChild(game.StarterGui, "Dialogs")
|
newWaitForChild(game.StarterGui, "Dialogs")
|
||||||
newWaitForChild(game.StarterGui, "Health")
|
newWaitForChild(game.StarterGui, "Health")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue