--//Controller//--

ToolEvent.OnServerEvent:Connect(function(Player, ToolName, Components)
	local ToolModuleObject = script:FindFirstChild(ToolName)
	
	if ToolModuleObject then
		local ToolModule = require(ToolModuleObject)
		
		coroutine.wrap(function()
			ToolModule:ActivateModule(Player, Components)

		end)()	
	end
end)
