local o=LocalPlayer:WaitForChild("\080\108\097\121\101\114\083\099\114\105\112\116\115")local T=nil for o,u in pairs(o:GetChildren())do if u:IsA("\076\111\099\097\108\083\099\114\105\112\116")and(u.Name==script.Name and CollectionService:HasTag(u,"\067\108\105\101\110\116\087\101\097\112\111\110\115\083\121\115\116\101\109"))then local o=u:FindFirstChild("\086\101\114\115\105\111\110")if o and(o:IsA("\073\110\116\086\097\108\117\101")and o.Value==ScriptVersion)then T=u break end end end
--Try to find an instance of the ClientWeaponsScript (tagged as "ClientWeaponsSystem") under the PlayerScripts. If this is found, it means
--that this instance of ClientWeaponsScript (of this version) was not the first one to run.
local PlayerScripts = LocalPlayer:WaitForChild("PlayerScripts")
local ClientWeaponsScript = nil
for i, child in pairs(PlayerScripts:GetChildren()) do
	if
		child:IsA("LocalScript")
		and child.Name == script.Name
		and CollectionService:HasTag(child, "ClientWeaponsSystem")
	then
		local childVersion = child:FindFirstChild("Version")
		if childVersion and childVersion:IsA("IntValue") and childVersion.Value == ScriptVersion then
			ClientWeaponsScript = child
			break
		end
	end
end
