Hi! I’ve recently been trying to make a script that teleports a player to a certain location. This is my script:
local button = script.Parent
button.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
player.Charecter.HumanoidRootPart.CFrame = CFrame.new(945.025, 24.1, -1899.876)
end)
When I did that, it popped up with this:
imexcited7 is not a valid member of Player "Players.imexcited7"
That’s a strange error. The script is telling you that the user imexcited7 has not been found. Basically, the script can’t find that username in the server.