I'm trying to change a part's Position using CFrame.new but instead of the desired position it goes to 0, 0, 0. I've tried to fix it with using just Vector3.new() but still the same result.
local Event = game.ReplicatedStorage.LocalPlayer:WaitForChild("Place")
local Storage = game.ServerStorage
Event.OnServerEvent:Connect(function(X,PlaceItem, Pos, Ori)
local Clone
Clone = Storage.Placement[tostring(PlaceItem)]:Clone()
Clone.Parent = workspace.PlacedItems
Clone.Anchored = true
-- New Position and Orientation
Clone.CFrame = CFrame.new(Pos)
Clone.CFrame = CFrame.Angles(0, math.rad(Ori), 0)
print(tostring(Pos))
print("Item Placed")
end)
Output:
-4, 0.5, 0 - Server - PlacementService:16
