This line of code keeps giving me an error, that says "Gui is not a valid member of Players" can someone fix it?
game.Players.LocalPlayer.PlayerGui.Gui.XP.XpNow = game.Players.Gui.XP.XPNow + 2
This line of code keeps giving me an error, that says "Gui is not a valid member of Players" can someone fix it?
game.Players.LocalPlayer.PlayerGui.Gui.XP.XpNow = game.Players.Gui.XP.XPNow + 2
What they said to me in the comments^
This discussion is preserved as it was. New answers, comments, and votes are closed.
8 comments
I think you forgot "LocalPlayer.PlayerGui" in the second one. Making it game.Players.LocalPlayer.PlayerGui.Gui.XP.XpNow = game.Players.LocalPlayer.PlayerGui.Gui.XP.XPNow + 2
also XpNow and XPNow are different cases
Yeah that too
try adding .Value.............................
^greatneilderp
Woops, thanks so much guys. Its working!
Have you ever heard of a thing called a variable?
Yes, I dont use them a lot.