Hello! I’m Making A Dragon Ball Game, I Would Like To Create A Script That Doesn’t Run Another Script If The Player Doesn’t Have A Certain Level Set With A Leveling System With Values
My Idea:
Do Something Like: if EXP.Value == 10 then | but it does not work.
image of the order of values
I mean, I would like to Lock A Button [Button to Equip the Skill] for those who do not have a certain level established with the Value of the image above!
Hope you can help me!
You can also contact me on Discord [NaturalGold # 6969]
local player = game:GetService("Players").LocalPlayer
if player.Stats:FindFirstChild("EXP") then
if player.Stats.EXP.Value >= 10 then
print("This worked!")
end
end