-- first, define some variables to hold references to parts of the physics gun:

local gripPart = script.Parent
local beamPart = gripPart:WaitForChild("Beam")
local tipPart = beamPart:WaitForChild("Tip")
