Hi!
I'm new to all of this and was using youtube tutorials to build my game. I got up to a rough working draft and published it to ROBLOX. It didn't work, at all.
The problem I have come to discover is that ROBLOX's servers don't like the word "LocalPlayer" anymore.
What I am trying to do is create a GUI for the player but a lot of my code looks like this:
game.Players.LocalPlayer.Character.Humanoid.MaxHealth = (game.Players.LocalPlayer.leaderstats.Level.Value * 15) + 100
How should I rewrite this code?
Thanks in advance
Just like king said in the comments, is it a script or a local script? GUIs should be local scripts. So if it is a script change it to a local script and it should work.