I’ve searched everywhere but this question was not asked.
Here’s my script:
l target:SetPrimaryPartCFrame(workspace:FindFirstChild(Admin).HumanoidRootPart.CFrame
why wont this work?
I’ve searched everywhere but this question was not asked.
Here’s my script:
l target:SetPrimaryPartCFrame(workspace:FindFirstChild(Admin).HumanoidRootPart.CFrame
why wont this work?
Can we see the actual code rather than a line?
thats it and you can infer “target” is the player I want teleported and “admin” is the admin I want the target to be teleported to
You need to provide code, we don’t make scripts for you.
At least try.
If target is the player instance you could do
Target.Character.HumanoidRootPart.CFrame = CFrame.new(Admin.Character.HumanoidRootPart.Posotion)
target.HumanoidRootPart.CFrame = game.Workspace:FindFirstChild(Admin).HumanoidRootPart.CFrame
Maybe try this?
Edit: Assuming ‘target’ and ‘admin’ were the character instance here, otherwise add Character to it.