From 9872c775914e33995aaa96cf23e0f515e4529082 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Sat, 10 May 2025 19:20:47 +0100 Subject: [PATCH] Only allow script version checks for my scripts Added a check to version check for if "Jimathy" is the author, this then stops it and doesn't check for the versions on my github repositories --- shared/_scriptversioncheck.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/_scriptversioncheck.lua b/shared/_scriptversioncheck.lua index 3f6cfa7..3c1b250 100644 --- a/shared/_scriptversioncheck.lua +++ b/shared/_scriptversioncheck.lua @@ -30,7 +30,7 @@ local scriptAuthor = ("^2by ^4"..GetResourceMetadata(getScript(), 'author', nil) print(scriptName.." ^7v"..scriptVersion.."^7 - "..scriptDescription.." "..scriptAuthor.."^7") function CheckVersion() - if isServer() then + if isServer() and GetResourceMetadata(getScript(), 'author', nil) == "Jimathy" then CreateThread(function() Wait(4000)