LocalScript, parented under a few frames and a screengui under StarterGui.
local SPAWNPOINTPOSITION = Vector3.new(-262, 589.8, 430)
script.Parent.TextButton.MouseButton1Click:Connect(function(player)
local char = player.Character
char.HumanoidRootPart.CFrame = CFrame.new(SPAWNPOINTPOSITION)
end)
The output:
16:20:23.564 Players.2Loos.PlayerGui.MainScreen.Spawns.Frame.Frame.LocalScript:4: attempt to index nil with 'Character' - Client - LocalScript:4
What's going on? Why isn't this working?

1 comment
You are teleporting the player on the client, don't do that.