-- Assuming the weapon is a tool with a RemoteEvent for firing local tool = script.Parent -- Example, adjust based on your hierarchy