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
This commit is contained in:
Jim Shield
2025-05-10 19:20:47 +01:00
parent 7ecb2f18e9
commit 9872c77591

View File

@@ -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)