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

My new player serverscript wont work no errors in output, can someone please assist me?

Asked by 4 years ago
game.Players.PlayerAdded:Connect(function(player)
    if player:WaitForChild("Stats").isNew.Value == true then
        player.Stats.currentSword.Value = "StarterSword"
        player.Stats.currentShuriken.Value = "StarterShuriken"

        player.Stats.Rank.Value = 1
        player.Stats.isNew.Value = false
    end
end)
0
where do you create the isNew variable? check the players isNew variable's value and see if that's true. royaltoe 5144 — 4y
0
I created the isNew variable in stats, and it has a datastore in it. Even if isNew = true it still does'nt do anythin! mdbaten2 24 — 4y

Answer this question