stop copying people or whatevers happpening, i got an error
"attempt to call a nil value "
Idk help
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.
Where did it happen ?!?!?!??!!??!??!?!?!?!?!?!??!?!?!?
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â
So, is it a single part or multiple or a model, also try to maybe make the number higher/lower. Make it higher.
its a part, although im planningon making it a model later
Once again, this method involves CFrames. It is literally the same script I used in the first answer with the introduction of Player and Character variable declared.
As a matter of fact, you have copied me by sharing a method, which also involves CFrames.
I thought this has already been talked through.
Hmm it should be moving idk
Oh, okay. I understand now!!!