Everything is in the title.
Script :
--This code is in a localscript that is inside the tool
local C = game.Workspace["Guest 666"] --The Npc
local P = game.Players.LocalPlayer
local M = P:GetMouse()
script.Parent.Activated:connect(function()
local H = M.Hit
C.Torso.CFrame = H
end)
I don't know where is the error and i don't know if i should use a normal script

1 comment
does i need to put it in a localscript or a normal script ?