Help with simple placement system

I’m wondering if anyone can help me with something, its about placing an object or part.
The problem I have right now is I got the placement to work, but its not where ever I want it to be, for example where ever you have your mouse and click it places and object.
I tried to find the solution, but I’m not that advanced enough at scripting yet, i look online for placement systems and people are using RunService or RenderedStep.
I just want this placement system is to be simple and not hard to read since I’m still learning, I’m intermediate right now when it comes to scripting

Video
robloxapp-20220602-2126220.wmv (763.2 KB)

Code
local Tool = script.Parent
local partChecker = game.ServerStorage.TrapPlacement.BearTrap

Tool.Activated:Connect(function()
if Tool.Parent then
partChecker:Clone().Parent = workspace
end
end)

I really apricate it

The problem here is that you are using the server to detect an activated function and place through that. Only the client can detect where you are clicking and where the mouse is pointing. Therefore, you would need to handle the placing through the server, but the moving of the part through the client. So, I would use a RemoteEvent or a RemoteFunction depending on how you want to do it (I believe the RemoteFunction would be less work).