Yeah i have no idea how to script and i was following a tutorial and everything worked out well till i added it to the game so i checked the output log and it said: Infinite yield possible on 'Players.Doodlyooo:WaitForChild("leaderstats")'
I have no idea what to do and this is part of the script
local player = game.Players.LocalPlayer local exp = player:WaitForChild("leaderstats"):WaitForChild("Exp") local axp = player:WaitForChild("leaderstats"):WaitForChild("ExpNeeded")
someone please help ^^ the full script- https://pastebin.com/Zr3ph050

3 comments
its probably because the leaderstats folder isnt parented to the player yet
Infinite yield, meaning there is a possibility the script will be on halt waiting for "child" indefinitely. Make sure you know that "leaderstats" will exist in the said directory.
you have not created leaderstats