So I have this script I use to clone a model and place it to the player’s mouse’s position, issue is, the camera is in a scripted position which makes the model’s rotation is messed up, so I’d like to only set the position and not the rotation. I use SetPrimaryPartCFrame() so I can’t just do CFrame.Position.
ServerScriptService Code
local RemoteEvent = game:GetService('ReplicatedStorage').PlaceEvent
local function ServerEvent(player, name, hit)
local item = game:GetService("ServerStorage"):FindFirstChild(name)
local clone = item:Clone()
clone.Parent = game.Workspace
clone:SetPrimaryPartCFrame(hit)
end
RemoteEvent.OnServerEvent:Connect(ServerEvent)```