I want it if has greater then 10m psy then it goes invisible and if you have less then you see it still heres the script there is no errors but I don't know why it wont do it
local psy = game.ServerScriptService.Leaderstats.PsychicForce.Value
if psy > 10000000 then
game.Workspace.Force.Transparency = 1
game.Workspace.Force.CanCollide = true
else
if psy < 10000000 then
game.Workspace.Force.Transparency = 0.7
game.Workspace.Force.CanCollide = false
end
end

3 comments
Maybe psy > "1000000"?
I dont think so "" would work
If the player has a PhychicForce value of exactly 10000000 then nothing will happen because the script only knows what the do if it is greater than 10000000 or less than 10000000. Try using a greater than or equal to, or less than or equal to