theres alot more code, but everything hits and reaches this line 100 percent of the time, the part is in workspace and it exists always, and i make sure player is alive hasnt recently loaded or anything, and even then like 10 percent of the time it doesnt tp, even when i put it in a loop and tp until there position = the position, its actualy insane how this line of code only works 90 percent of the time, on a character that hasnt died recently, and isnt loading, isnt dead currently, meet all needs to be tped, but still only tps 90 percent of the time, please make it make sence anyone, in all my time of programming ive never seen something so stupid holy hell please someone help this is actually insane, anything you can think of if its common knowledge ive probly tried it 10 fold. this is insane roblox idk what is happening but ive never had this issue before trying to teleport a player
plr.Character.HumanoidRootPart.CFrame = Part.CFrame + Vector3.new(0, 3.5, 0)
everything gets to the line of code to tp the player, no errors, i have an insane amount of checks to make sure everything is right for the player to be tped, checks and loops/waits to wait until player is able to be tped, and yet it still gets to the tp line and only works 90 percent of the time, event he 10 percent of the time it doesnt work it gets to the line still no issues, it just decides randomly that its not gonna work
Use :PivotTo instead, its available on the Character.
Are you using a touch part to get plr and character or what event or funtion is setup to initialize the tp? Maybe share the main part of the code not working right… and where it is located and type of script.