How to make part move above player

ok maybe

local RootPart = HumanoidRootPart
part.Position:lerp(Vector3.new(RootPart.X,RootPart.Y+5,RootPart.Z),.1)
1 Like

Oh ok . I understand aaaowAAAAAAAAAAAAAA

1 Like

Wait no!, actually, try this.

Part.CFrame:Lerp(CFrame.New(HumanoidRootPart.Position)*CFrame.new(0,5,0),.1)
1 Like

you copied me!!!

1 Like

Proof1?!?!?!?!??!?!?!?!?!?!?!!?!?!?!?!?!?!?!?!?!?!?!?!?! Hm Proof?!?!?!

1 Like
1 Like

stop copying people or whatevers happpening, i got an error
"attempt to call a nil value "
Idk help

1 Like

Actually if you look at the time I uploaded my post saying “Proof,” you will notice that it’s upload date is before you posted the code you had saved for later. The code you have saved for later actually was posted after I had asked for proof, therefore shutting down your accusation.

1 Like

Where did it happen ?!?!?!??!!??!??!?!?!?!?!?!??!?!?!?

Were you using @PorchThatHuantsMe answer or my answer? We shared different methods.

line 6, aka the line YOUUUU WROTE!!! maybe you stole it :0

False accusation. This is not true

The only thing I have stolen is I can assure you I did not steal that line of code. Maybe you can try this: (its not the same I fixed something
Part.CFrame:Lerp(CFrame.new(HumanoidRootPart.Position)*CFrame.new(0,5,0),.1)

But as you can see it clearly is a true.

Bro get yo “Hi, my name is reggie” looking ah out of there

I believe you have not gotten the HumanoidRootPart so I’m going to edit my script with everything included.

local runService = game:GetService("RunService")
local offset = CFrame.new(0,0,0) -- set this to anything you want
local rate = 0.5 -- same with this one
local lastCFrame = CFrame.new()

local object -- path to selected object you want to follow de player

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character.HumanoidRootPart

runService.Heartbeat:Connect(function()
    object.CFrame:Lerp(humanoidRootPart.CFrame * offset, rate)
end)

Please do not harass DevForum users or necropost.

You copied me… Wow you can’t come with the orginal.

You harass me first. It was simply a self defense

just tried it, no errors. but it didnt move. its not anchored
Also i am gettign the players humanoidroot in my script
“Plr.Char.HumanoidRootPart”