How do I weld a tool to a player's torso, I'm trying to make a flashlight tool that doesnt get held in the hand, rather it's a light coming from the player's body like this (https://thief-simulator.fandom.com/wiki/Flashlight?file=Flashlight.jpg), here is my code, it just makes the light at the middle of the map.
local flashlight = script.Parent.light
local player = game.Players.LocalPlayer
local character = game.Workspace:FindFirstChild(player.Name)
local weld = Instance.new("Weld",flashlight)
weld.Part0 = flashlight
weld.Part1 = character["Torso"]
weld.C0 = CFrame.new(0, 0, 0) + Vector3.new(0,character["RightHand"].Size.Y/2,0)

4 comments
Good solution, upvoted!
@Xapelize Thanks!
thanks so much!!
@Lolbit_exe Np!