I used Roblox’s teleporting script from their official website to make a teleporter activated by a GUI. It worked fine but just not i realised it stopped working. The error message is "Left Leg is not a valid member of Model “Workspace.Tjieko”. Im really not sure why it decided to stop working after working after a while.
Has this only happened once, or all the time?
Did you try teleporting immediately after joining and your Character wasn’t completely loaded yet?
Try it a couple times first before thinking it’s a problem.
Also have you possibly deleted or added a letter or line to the script by mistake recently. Check the spelling of your script.
Ive waited for like 2 minutes letting my character load in now, and its still not teleporting me. I havent touched the script anywhere so theres no typos.
If you look you’ll see that that section deals with the R15 character. As stated LeftLeg isn’t a proper child of an R15 character (or an R6 character either).
You dont specify if this is an R6 game or an R15 game, I am guessing this is an R6 game based on what you are trying to type (LeftLeg) since R6 Characters have a limb called Left Leg
the issue is that you are supposed to type “Left Leg” although you cannot do this doing
humanoid.Parent.Left Leg
since it would give you an error, so you can do it 2 ways
1 Using :FindFirstChild()
the function :FindFirstChild() works by passing a string to it with the name of the child so you can do it like this humanoid.Parent:FindFirstChild("Left Leg")
2 Using brackets []
Similar to find first child you can also use brackets instead of a . to get to the child Left Leg
simply do humanoid.Parent["Left Leg"]
if you are wondering why your script gave no errors before it is probably because of that if statement sometimes triggering which leads to a code with no errors, but when it leads to the part that has left leg it causes it to fail