Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Level Up script seems to be not working?

Asked by 5 years ago
Edited 5 years ago

Hello, again, and again, loop. Anyways, Hey fellow scripters! I really need help with this script, I always get confused on what to be what, so I would appreciate it if you could help me.

while true do
  wait 0.2
  if player.Leaderstats.Wins.Value == "5" then 
  player.Leaderstats.Levels.Value == "2"
end

Thanks! - i liek turtlz

0
It's because loops won't work. mixgingengerina10 223 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago
local score = player.Leaderstats.Wins
local levels = player.Leaderstats.Levels

score.Value.Changed:Connect(function() 
    if score.Value == "5" then 
    levels.Value == "2"
    end
end
0
Also missing an end climethestair 1663 — 5y
0
you made a mistake heh BuzzKillGT 33 — 5y
Ad

Answer this question