I cannot access the head from the tool's local script for some reason. If someone can tell me how to do this it would fix the problem.

local player = game:GetService("Players").LocalPlayer
local char = player.Character
local head = char.Head

^^^Code inside tool's local script where I cannot access the head It says,"Players.RocketScientistDev.Backpack.Tool.GunLocalScript:6: attempt to index local 'char' (a nil value)" The raycasting needs to be done inside of the tool's server script. I am using the local script to send a remote event whenever the player clicks.