Avatar is in weird position

Weird Avatar thingy
Why is my avatar like this


So I’m working on an obby I was making a checkpoint script when I finished making the checkpoint script I’ve notice my avatar is in a weird position does anyone know why is this happening and how can I prevent this from happening its really bugging me out and I feel like I have a backdoor plugin in my game because of this

1 Like

Unless you coded that on your own, which in making a post about this I am pretty sure you didnt, that is definitely some script in your game doing that. Maybe it is in the spawnpoint if you didn’t code that yourself? It’s most likely just some malicious troll script you unknowingly added in your game. You could always search getfenv/setfenv with CTRL + SHIFT + F to see if you find any matches.

You might also want to go through any free models you might have added, and your plugins.

The project Im working on have no free models at all

Are there any other scripts in the game that affect the character?

https://gyazo.com/08dbb449ff8cc207cb1eeda5b19b0fbd

	local stage = plr:WaitForChild("leaderstats").Stage
	plr.CharacterAdded:Connect(function(char)
		repeat wait() until plr.Character ~= nil
		wait(0.01)
		local checkpoint = game.Workspace.Stages:FindFirstChild(stage.Value)
		char:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(checkpoint.Position + Vector3.new(0,6,0), checkpoint.Position)
		char:FindFirstChild("HumanoidRootPart").Orientation = Vector3.new(0,0,0)
		wait(0.1)
	end)
end)

Those this script happen too affect the Avatar in a weird way?

Hmm, normally setting the CFrame of the HRP shouldn’t break the character like that. Does it still happen if you comment out the line where you set the part’s Orientation?

Have you considered changing this value to not be 0,0,0?

1 Like

In fact the CFrame you are setting the character to is pointing straight down to the ground; the second argument in the constructor isn’t necessary here:

char:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(checkpoint.Position) + Vector3.new(0,6,0)
2 Likes

I’ve haven’t changed the value