Whole Body not moving with Rootpart?

Hey all! I don’t know if I was under a misconception, or something is really wrong, but recently, I’ve been working on a telekinesis script. One of the main functions of the telekinesis is to hold other players in the air and immobilize them. When I try to hold anyone else, their HumanoidRootPart moves but not the rest of the body. Since moving the HRP isn’t working, I was wondering if there was any other way to move the entire character while keeping the limbs in proper position. Thank you!

Is it a server script or a local script? Are you making elevens powers from stranger things cause i have a feeling you are. Also can you put the script in your post.

  1. Localscript.
  2. Yes, something similar.
  3. Okay. Heres the problematic lines:

The part is the object that is being held.

function IsACharacter(PartSent) -- This function is a little extra because I was getting desprate, but it works
	if PartSent.Parent:IsA("MeshPart") then
		if PartSent.Parent.Parent:FindFirstChild("Humanoid") then
 			return true
		else
			return false
		end
	else
		if PartSent.Parent:FindFirstChild("Humanoid") then
			return true
		else
			return false
		end
	end
end

			if IsACharacter(v) then
				part = v.Parent:FindFirstChild("HumanoidRootPart")
			else
				part = v
			end

I dont see where your moving the humanoidrootpart. Edit: i didnt read the first part lol sorry

personally i dont know much on the character so im not sure if i can help you.

local CameraRay = workspace.Camera:ViewportPointToRay(uis:GetMouseLocation().X, uis:GetMouseLocation().Y)

obj.Position = CameraRay.Origin + CameraRay.Direction * 15

The OBJ in this context is the humanoidrootpart

Quick question are you using the mouse to control the telekinesis power?
Also I think the reason only the humanoid root part is moving is because its a local script.

Ill use an event on the server then.
And yes, I am using the mouse however this will be later changed to a keybind

Yeah try that. Adding an event.

Also maybe try player:Getmouse()

Its like client sided exploits. If you delete someones head with client sided scripts. Their not gonna die. Only you see that change, but if you use a server script the server will detect that persons head is gone so they die.

Do not edit the .Position property or else the joints in the character breaks, use CFrame instead.

2 Likes

i believe local scripts don’t work on players server sided due to them being their own client for example i had local script that kills people the person i would kill with local script would only be able to see in my client not anyone elses