Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Level Up script seems to be not working?

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

1 comment

0

It's because loops won't work.

1 answer

✓ Accepted answer
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

2 comments

0

Also missing an end

0

you made a mistake heh

This discussion is preserved as it was. New answers, comments, and votes are closed.