I’m trying to make it so that it always checks their score and character name to know when to fire a remote event to change their character, however this isn't working. can you see any problems?
repeat
wait(0.1)
if Player.leaderstats.Mass.Value < 16 and not Player.Character == "Bacteria" then
game.ReplicatedStorage.ChangeChar:FireServer(game.ReplicatedStorage.Bacteria)
print(Player.Character)
end
until Player.leaderstats.Mass.Value > 15
repeat
wait(0.1)
if Player.leaderstats.Mass.Value > 15 and Player.leaderstats.Mass.Value < 31 and not Player.Character == "Virus" then
game.ReplicatedStorage.ChangeChar:FireServer(game.ReplicatedStorage.Virus)
print(Player.Character)
end
until Player.leaderstats.Mass.Value > 30

5 comments
Is there any errors showing?
none at all, it just doesnt work
maybe its a problem with your remotes or checks, try making them run without any if statements.
yeah I have done that and it fires the remote perfectly which is very weird
probably your checks.