ive tried to do that by doing this (dont laugh at me I dont know what im doing)
script.Parent.Equipped:Connect(function(plr)
local tp = plr.Parent:FindFirstChild("Humanoid")
if tp then
local tp1 = plr.Parent:FindFirstChild("HumanoidRootPart")
if tp1 then
tp1.CFrame = Vector3.new(27949.941, 52.029, -708.888)
end
end
end)
script.Parent.Unequipped:Connect(function()
-- will basically be the opposite of above
end)
I know that when you want something to happen when you touch a part, you would do something similar to what I did above. (I basically used pre-existing knowledge to try and figure this one out which doesn't seem to work) anyway, in the dev console it says "attempt to index nil with FindFirstChild" which leads to believe I've done something wrong with the parameters. How would I fix this

2 comments
plr.parent.... you aren't gonna find a humanoid there, that parent is Players
Are you trying to Move the tool puropusly ?, or are you trying to equip it from an outside souce?