game.Players.PlayerAdded:Connect(function(Player)
local Ls = Instance.new('IntValue',Player)
Ls.Name = 'leaderstats'
local Level = Instance.new('IntValue',Ls)
Level.Name = 'Level'
Level.Value = 1
Player.CharacterAdded:Connect(function(Character)
repeat wait() until Character ~= nil
local Stage = game.Workspace.Stages:FindFirstChild(Level.Value)
Character:WaitForChild('HumanoidRootPart').CFrame = Stage.CFrame + Vector3.new(0,5,0)
end)
end)
Will this 2018 code work?

5 comments
I don't see why it wouldn't, do you have an error?
No, it is just because it is a 2018 script.
There are some depreciations in the code though. You can change "connect" to Connect
?
Oh okay I get it.