How to change player position to pivot offset?

My problem is simple to explain, but I cannot find a solution to it. So What I’d like to do is if I have a part every 10 second, the Pivot Offset Position changes to Player’s Position, but I am not sure on how to make Player’s position into the part’s offset position.

Pivot properties with spaces are for Studio use only. As the developer you have two APIs for using pivots which are Get/SetPivot. So just use either of those depending on if you’re finding the current position or setting position of one thing to another.

1 Like

local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()

while task.wait(10) do
local part = Instance.new(“Part”)
part.Anchored = true
part.CanCollide = false
part.Position = char:GetPivot().Position --[[ if you want it to be the same angle as the player do this part:PivotTo(char:GetPivot()) --]]
part.Parent = game.Workspace
end

– i havent tested this

–[[ edit (i didnt realise this post was 3 years old and i dont think i understood the assignment) --]]