:MoveTo() Keeps adding height to teleported position

Hello, This is a strange bug. So my game works in rounds, you’re camera is basically locked the entire game, no jump power nor walk speed and hrp is also anchored. You sit in front of the audience every round, you’re able to join the performer as a heckler, but theres this strange bug that whenever you sit on stage as a heckler, your height increases and this is also included if you’re the performer, I’ll provide a few screenshots to give you a better idea.


this is your first time joining the stage, as you’re able to see nothing wrong, this is what I want

and then if you join the stage again you’re height somehow increases

and it just keeps on increasing

and this is when you’re the performer, for some reason you still have the same height.

I’m absolutely lost and have no idea why this is happening, I’ll send both parts of my scripts which teleport the player to the chair

this is the heckler script

game.ReplicatedStorage.Heckler.HecklerActive.Value = true
		local char = plr.Character or plr.CharacterAdded:Wait()
		--char:FindFirstChild("HumanoidRootPart").Anchored = true
		char:MoveTo(game.Workspace.hecklerPart.Position) --is this the cause? I wouldn't know
		char:FindFirstChild("HumanoidRootPart").Orientation = game.Workspace.hecklerPart.Orientation
		--char:FindFirstChild("HumanoidRootPart").Anchored = true
		repeat 
			cl = game.ReplicatedStorage.CopyStool:Clone()
		until cl ~= nil
		cl.Parent = game.Workspace
		local Current2 = plr.Titles.Current2
		local Title = game.ReplicatedStorage.Titles:FindFirstChild(Current2.Value):Clone()
		if Title then
			Title.Parent = char:FindFirstChild("Head")
		end
		local Current = plr:WaitForChild("Emotes"):WaitForChild("Current")
		local animation = game.ReplicatedStorage.Animations:FindFirstChild(Current.Value)
		if animation then
			anim = char:WaitForChild("Humanoid").Animator:LoadAnimation(animation)
			anim:Play()
			anim.Looped = true
		end
		wait(7)
		if char then
			char:FindFirstChild("HumanoidRootPart").Orientation = Vector3.new(0,0,0)
			char:MoveTo(game.Workspace.SpawnLocation.Position)
			--char:FindFirstChild("HumanoidRootPart").Anchored = false
			--char:FindFirstChild("HumanoidRootPart").Anchored = false
		end

and this is the main round script.

local char = plr.Character or plr.CharacterAdded:Wait()
					--char:FindFirstChild("HumanoidRootPart").Anchored = true
					if char then
						--char:FindFirstChild("HumanoidRootPart").Anchored = true
						char:MoveTo(game.Workspace.PositionGiver.Position) --again this might be the cause but I'm not sure
						char:FindFirstChild("HumanoidRootPart").Orientation = Vector3.new(0,0,0)	
					end
					local Current2 = plr.Titles.Current2
					local Title = game.ReplicatedStorage.Titles:FindFirstChild(Current2.Value):Clone()
					if Title then
						Title.Parent = char:FindFirstChild("Head")
					end
					local Current = plr.Emotes.Current
					local animation = game.ReplicatedStorage.Animations:FindFirstChild(Current.Value)
					if animation then
						anim = char:WaitForChild("Humanoid").Animator:LoadAnimation(animation)
						anim:Play()
						anim.Looped = true
					end
					local timeval = game.ReplicatedStorage.Values.Time
					timeval.Value = 40
					repeat
						timeval.Value = timeval.Value - 1
						wait(1)
						if game.Players:FindFirstChild(v.Name) then
						else
							timeval.Value = 0
						end
					until timeval.Value == 0
					if char then--
						char:MoveTo(game.Workspace.SpawnLocation.Position)--
						--char:FindFirstChild("HumanoidRootPart").Anchored = false
					end--

Also what I find strange is, whenever you teleport back to Spawn, and go on stage again you move to the position of a part called PositionGiver (or hecklerPart in heckler scripts), but you don’t actually move to that position :face_with_raised_eyebrow:, how does that work, anyways thanks you for reading!


Also, if the height keeps increasing then that might mean there is something in the way, maybe parts from previous rounds not getting cleaned up properly?

you can use PivotTo() instaid of MoveTo()

I’ve just tried this, didn’t work, the same bug still happening

I have same bug still happening

I’ve found something strange about this height situation
This is what it looks like from the player itself


and this is what it looks like in the server

I was originally pretty lost, now I’m just completely utterly lost. I have no idea what causes this and how to fix it

Always adjust CFrame on HumanoidRootPart to properly teleport a player.

char.HumanoidRootPart.CFrame = CFrame.new(Position)

Can you tell me what the animation in the code is?

If that is a chair they can sit in, all you need to do is put them over the chair a bit to fall in place. MoveTo() also moves the player from where it is to where you want it, right through everything as it goes. PivotTo() is like a transport from one spot to the other. The fact it’s not falling into the chair seat seems to be more of a problem.