*I'm still learning at scripts, and i am new towards it! (Beginners learner)
This script check the Loader_Version to the Module_Version, When the scripts detect that the Value are not the same value it will Input the text to "Update_Required".
When the script detects the values are equal, It will input the text to "Updated".
--Value Locate
local loader_Version = game.ReplicatedStorage.Versions --Example: Value is 1
local Module_Version = game.ReplicatedStorage.Offical_Version --Example: Value is 2
---[[Updates Tab]]--
Updated = "Up-To-Date ?"
Update_Required = "Loader! ?"
while wait() do
if loader_Version.Value == not Module_Version.Value then do
script.Parent.Text = "Update: " .. Update_Required --When both value are not equal
end
end
end
if loader_Version.Value == 2 and Module_Version.Value == 2 then do
script.Parent.Text = "Update: " .. Updated
end
end
I really don't think i did this right, Even tho i'm still learning i could like to learn from other peoples as well!
*Picture of the value's https://gyazo.com/8e3f4c2a4f7abc8628ac07c3bb413433

2 comments
Thanks but the the values For Loader version is at 1, But the module value is at 2.
Never mind, this really work, Thanks so much!