Trying to clone a part to a players head and give it the same position as the head, however it won’t change position, and I am getting no error. Here is the code:
part = game.ServerStorage.Part
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local newpart = part:Clone()
newpart.Parent = character.Head
local headposition=character.Head.Position
newpart.Position=Vector3.new(headposition)
end)
end)