char=localplr.Character
I was working on a GUI and for the first few minutes I was testing it just fine but then I had a Studio update and it quit working.
Does anyone know what ROBLOX changed yesterday and if it affected Lua? And my original question still stands: would the line of code above still act as the best way to fetch a localplayer's character?

1 comment
Try char = game.Players.LocalPlayer.Character. Otherwise, you make a script insert a LocalScript after the Character spawns with char = script.Parent.